Skip to content

Commit

Permalink
feat: Handle probe-rs esp32 chip name
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Apr 8, 2024
1 parent 8527a48 commit ba7856e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion xtask/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,11 @@ pub fn run_example(
// probe-rs cannot currently do auto detection, so we need to tell probe-rs run
// which chip we are testing
if subcommand == "test" {
builder = builder.arg("--").arg("--chip").arg(format!("{}", chip));
if chip == Chip::Esp32 {
builder = builder.arg("--").arg("--chip").arg("esp32-3.3v");
} else {
builder = builder.arg("--").arg("--chip").arg(format!("{}", chip));
}
}

// If targeting an Xtensa device, we must use the '+esp' toolchain modifier:
Expand Down

0 comments on commit ba7856e

Please sign in to comment.