Initial support for ESP32-C6-DevKitC-1 (#1054)

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
Stijn Tintel
2023-08-03 15:50:34 +03:00
committed by GitHub
parent bd031b8c99
commit 95e0a731cc
6 changed files with 40 additions and 12 deletions
+3 -3
View File
@@ -110,14 +110,14 @@ env.Append(
" ".join(
[
"riscv32-esp-elf-objcopy"
if mcu == "esp32c3"
if mcu in ("esp32c3", "esp32c6")
else "xtensa-%s-elf-objcopy" % mcu,
"--input-target",
"binary",
"--output-target",
"elf32-littleriscv" if mcu == "esp32c3" else "elf32-xtensa-le",
"elf32-littleriscv" if mcu in ("esp32c3","esp32c6") else "elf32-xtensa-le",
"--binary-architecture",
"riscv" if mcu == "esp32c3" else "xtensa",
"riscv" if mcu in ("esp32c3","esp32c6") else "xtensa",
"--rename-section",
".data=.rodata.embedded",
"$SOURCE",