Skip to content

Commit

Permalink
try to disable riscv toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Sep 14, 2024
1 parent 8cb622d commit 8ace397
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,12 @@ def configure_default_packages(self, variables, targets):
tc_path = "file://" + join(IDF_TOOLS_PATH_DEFAULT, "tools", "tc-xt-esp32")
self.packages["xtensa-esp-elf"]["optional"] = False
self.packages["xtensa-esp-elf"]["version"] = tc_path
del self.packages["riscv32-esp-elf"]
else:
tc_path = "file://" + join(IDF_TOOLS_PATH_DEFAULT, "tools", "tc-rv32")
self.packages["riscv32-esp-elf"]["optional"] = False
self.packages["riscv32-esp-elf"]["version"] = tc_path
del self.packages["xtensa-esp-elf"]

# Enable FSM ULP toolchain for ESP32, ESP32S2, ESP32S3 when IDF is selected
for available_mcu in ("esp32", "esp32s2", "esp32s3"):
Expand Down

0 comments on commit 8ace397

Please sign in to comment.