Explorar el Código

dd note to inform user to build USB serial example in release mode (#326)

* USB-SERIAL_NOTES: add note to inform user to build in release mode
Zacck Osiemo hace 3 años
padre
commit
0442ccb176
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      examples/usb_serial.rs

+ 6 - 0
examples/usb_serial.rs

@@ -1,5 +1,11 @@
 //! CDC-ACM serial port example using polling in a busy loop.
 //! Target board: Blue Pill
+//!
+//! Note:
+//! When building this since this is a larger program,
+//! one would need to build it using release profile
+//! since debug profiles generates artifacts that
+//! cause FLASH overflow errors due to their size
 #![no_std]
 #![no_main]