Skip to content

Commit 353abbe

Browse files
authored
Add ESP32 (#14)
1 parent 9d1c068 commit 353abbe

File tree

5 files changed

+1664
-1
lines changed

5 files changed

+1664
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $ target-gen elf target/riscv32imc-unknown-none-elf/release/esp-flashloader outp
2020

2121
| name | supported |
2222
| ------- | --------- |
23-
| esp32 | N |
23+
| esp32 | Y |
2424
| esp32s2 | Y |
2525
| esp32s3 | Y |
2626
| esp32c2 | Y |

build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ fn main() {
88
fs::copy("ld/loader.x", out_dir.join("loader.x")).unwrap();
99
println!("cargo:rerun-if-changed=ld/loader.x");
1010

11+
#[cfg(feature = "esp32")]
12+
let chip = "esp32";
1113
#[cfg(feature = "esp32s2")]
1214
let chip = "esp32s2";
1315
#[cfg(feature = "esp32s3")]

0 commit comments

Comments
 (0)