Skip to content

Commit e36f4da

Browse files
authored
Merge pull request #26 from bugadani/c61
Add C61
2 parents 3b31e17 + 42cbeed commit e36f4da

File tree

9 files changed

+478
-20
lines changed

9 files changed

+478
-20
lines changed

.cargo/config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ esp32c2 = "build --release --features esp32c2 --target riscv32imc-unknown-none-e
66
esp32c3 = "build --release --features esp32c3 --target riscv32imc-unknown-none-elf"
77
esp32c5 = "build --release --features esp32c5 --target riscv32imac-unknown-none-elf"
88
esp32c6 = "build --release --features esp32c6 --target riscv32imac-unknown-none-elf"
9+
esp32c61 = "build --release --features esp32c61 --target riscv32imac-unknown-none-elf"
910
esp32h2 = "build --release --features esp32h2 --target riscv32imac-unknown-none-elf"
1011

1112
[target.'cfg(target_arch = "riscv32")']

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ esp32c2 = []
2020
esp32c3 = []
2121
esp32c5 = []
2222
esp32c6 = []
23+
esp32c61 = []
2324
esp32h2 = []
2425

2526
# use max CPU frequency

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $ target-gen elf target/riscv32imc-unknown-none-elf/release/esp-flashloader outp
2727
| esp32c3 | Y |
2828
| esp32c5 | Y |
2929
| esp32c6 | Y |
30-
| esp32c61 | N |
30+
| esp32c61 | Y |
3131
| esp32h2 | Y |
3232
| esp32p4 | N |
3333

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ $deviceMap = @{
2626
"esp32c3" = "riscv32imc-unknown-none-elf"
2727
"esp32c5" = "riscv32imac-unknown-none-elf"
2828
"esp32c6" = "riscv32imac-unknown-none-elf"
29-
# "esp32c61" = "riscv32imac-unknown-none-elf"
29+
"esp32c61" = "riscv32imac-unknown-none-elf"
3030
"esp32h2" = "riscv32imac-unknown-none-elf"
3131
}
3232

build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ fn main() {
2222
let chip = "esp32c5";
2323
#[cfg(feature = "esp32c6")]
2424
let chip = "esp32c6";
25+
#[cfg(feature = "esp32c61")]
26+
let chip = "esp32c61";
2527
#[cfg(feature = "esp32h2")]
2628
let chip = "esp32h2";
2729

0 commit comments

Comments
 (0)