Skip to content

Commit

Permalink
dd note to inform user to build USB serial example in release mode (#326
Browse files Browse the repository at this point in the history
)

* USB-SERIAL_NOTES: add note to inform user to build in release mode
  • Loading branch information
zacck authored Apr 8, 2021
1 parent 19af481 commit 0442ccb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/usb_serial.rs
Original file line number Diff line number Diff line change
@@ -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]

Expand Down

0 comments on commit 0442ccb

Please sign in to comment.