Skip to content

Commit af266f7

Browse files
committed
Update RISC-V toolchain to v13.2.0
1 parent 7e3b841 commit af266f7

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

platform.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"optional": true,
5656
"owner": "espressif",
5757
"version": "8.4.0+2021r2-patch5",
58-
"optionalVersions": ["12.2.0+20230208"]
58+
"optionalVersions": ["13.2.0+20230928"]
5959
},
6060
"toolchain-esp32ulp": {
6161
"type": "toolchain",

platform.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,16 @@ def configure_default_packages(self, variables, targets):
120120
"xtensa-esp32",
121121
"xtensa-esp32s2",
122122
"xtensa-esp32s3",
123-
"riscv32-esp"
123+
"riscv32-esp",
124124
):
125-
self.packages["toolchain-%s" % target]["version"] = "12.2.0+20230208"
125+
self.packages["toolchain-%s" % target]["version"] = (
126+
"13.2.0+20230928"
127+
if target == "riscv32-esp"
128+
else "12.2.0+20230208"
129+
)
130+
if target == "riscv32-esp":
131+
# Pull the latest RISC-V toolchain from PlatformIO organization
132+
self.packages["toolchain-%s" % target]["owner"] = "platformio"
126133

127134
if "arduino" in frameworks:
128135
# Disable standalone GDB packages for Arduino and Arduino/IDF projects

0 commit comments

Comments
 (0)