diff --git a/examples/usb_phy_serial_interrupt.rs b/examples/usb_phy_serial_interrupt.rs index 68d2d83c..dff0fee7 100644 --- a/examples/usb_phy_serial_interrupt.rs +++ b/examples/usb_phy_serial_interrupt.rs @@ -1,4 +1,7 @@ //! CDC-ACM serial port example using an external phy and interrupts +//! +//! This example is for RM0433/RM0399 parts. It has been tested on the Arduino +//! Portenta H7 #![no_std] #![no_main] diff --git a/examples/usb_serial.rs b/examples/usb_serial.rs index 1a08b470..892e15f6 100644 --- a/examples/usb_serial.rs +++ b/examples/usb_serial.rs @@ -59,7 +59,7 @@ fn main() -> ! { #[cfg(any(feature = "rm0455", feature = "rm0468"))] let (pin_dm, pin_dp) = { let gpioa = dp.GPIOA.split(ccdr.peripheral.GPIOA); - (gpioa.pa11.into_alternate(), gpioa.pa12.into_alternate()) + (gpioa.pa11, gpioa.pa12) }; let usb = USB1::new(