Best practice when unable to write to the destination #1001
-
|
I have (adopted) an implementation of defmt for USB serial, which implements In this case currently writes are silently discarded. The docs say that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I believe defmt-rtt can be configured to be blocking or to drop on overflow. Obviously if you choose to block, you'd want to make sure you're not stopping the USB transfers from happening (e.g. by holding a critical-section whilst blocking). |
Beta Was this translation helpful? Give feedback.
I believe defmt-rtt can be configured to be blocking or to drop on overflow. Obviously if you choose to block, you'd want to make sure you're not stopping the USB transfers from happening (e.g. by holding a critical-section whilst blocking).