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
@@ -119,8 +119,8 @@ class Espressif32Platform(PlatformBase):
else:
self.packages.pop("toolchain-xtensa-%s" % available_mcu, None)
if mcu in ("esp32s2", "esp32s3", "esp32c3"):
# RISC-V based toolchain for ESP32C3, ESP32S2, ESP32S3 ULP
if mcu in ("esp32s2", "esp32s3", "esp32c3", "esp32c6"):
# RISC-V based toolchain for ESP32C3, ESP32C6 ESP32S2, ESP32S3 ULP
self.packages["toolchain-riscv32-esp"]["optional"] = False
if build_core == "mbcwb":
@@ -183,7 +183,7 @@ class Espressif32Platform(PlatformBase):
"tumpa",
]
if board.get("build.mcu", "") in ("esp32c3", "esp32s3"):
if board.get("build.mcu", "") in ("esp32c3", "esp32c6", "esp32s3"):
supported_debug_tools.append("esp-builtin")
upload_protocol = board.manifest.get("upload", {}).get("protocol")