From 0442ccb176133c4c4c9114dfe41b8854e2c9fc85 Mon Sep 17 00:00:00 2001 From: Zacck Osiemo Date: Thu, 8 Apr 2021 14:53:02 +0300 Subject: [PATCH] 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 --- examples/usb_serial.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/usb_serial.rs b/examples/usb_serial.rs index 10e4cc51..d4c53221 100644 --- a/examples/usb_serial.rs +++ b/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]