diff --git a/boards/dk/src/lib.rs b/boards/dk/src/lib.rs index a58f511..8475bd8 100644 --- a/boards/dk/src/lib.rs +++ b/boards/dk/src/lib.rs @@ -177,7 +177,10 @@ pub fn init() -> Result { // NOTE this must be executed as early as possible or the tool will timeout // NOTE the unsafety of this macro is incorrect; it must be run at most once - rtt_init_print!(NoBlockSkip, 2048); + #[cfg(feature = "beginner")] + rtt_init_print!(BlockIfFull, 4096); + #[cfg(feature = "advanced")] + rtt_init_print!(NoBlockSkip, 4096); log::set_logger(&Logger).unwrap();