Skip to content

Commit 36804b0

Browse files
committed
Update the supported targets for ESP32-C6/H2
1 parent 80ac719 commit 36804b0

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

espflash/src/targets/esp32c6.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,6 @@ impl Target for Esp32c6 {
113113
}
114114

115115
fn supported_build_targets(&self) -> &[&str] {
116-
&[
117-
"riscv32imac-unknown-none-elf",
118-
"riscv32imc-esp-espidf",
119-
"riscv32imc-unknown-none-elf",
120-
]
116+
&["riscv32imac-esp-espidf", "riscv32imac-unknown-none-elf"]
121117
}
122118
}

espflash/src/targets/esp32h2.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,6 @@ impl Target for Esp32h2 {
121121
}
122122

123123
fn supported_build_targets(&self) -> &[&str] {
124-
&[
125-
"riscv32imac-unknown-none-elf",
126-
"riscv32imc-esp-espidf",
127-
"riscv32imc-unknown-none-elf",
128-
]
124+
&["riscv32imac-esp-espidf", "riscv32imac-unknown-none-elf"]
129125
}
130126
}

0 commit comments

Comments
 (0)