Skip to content

Commit

Permalink
Update espflash
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Nov 13, 2023
1 parent 9e2e99d commit 589f08a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()?;
Expand All @@ -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()?;

Expand Down

0 comments on commit 589f08a

Please sign in to comment.