mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-09 15:55:37 +00:00
boards/dk/src/lib.rs: increase rtt bufsz, set mode to blocking for beginner
This commit is contained in:
parent
86c0c25534
commit
d7cc36d237
1 changed files with 4 additions and 1 deletions
|
@ -177,7 +177,10 @@ pub fn init() -> Result<Board, ()> {
|
|||
|
||||
// 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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue