Explorar o 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 %!s(int64=3) %!d(string=hai) anos
pai
achega
0442ccb176
Modificáronse 1 ficheiros con 6 adicións e 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]