diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 89387db1..3b8c55d6 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -190,7 +190,13 @@ fn run(hw: HardwareVersion, release: bool) -> AnyResult<()> { println!("💾 Building and flashing firmware"); - let mut args = vec!["espflash", "flash", "-M", "--erase-parts=otadata"]; + let mut args = vec![ + "espflash", + "flash", + "-M", + "--erase-parts=otadata", + "--log-format=defmt", + ]; args.extend_from_slice(&build_flags); cargo(&args).run()?; @@ -209,6 +215,7 @@ fn monitor(variant: MonitorVariant) -> AnyResult<()> { "monitor", "-e", &format!("./target/xtensa-esp32s3-none-elf/{variant}/card_io_fw"), + "--log-format=defmt", ]) .run()?;