-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dist/tools/esptools: Upgrade the ESP32 toolchain to GCC v14.2, GDB v14.2 and OpenOCD v0.12 #21144
base: master
Are you sure you want to change the base?
dist/tools/esptools: Upgrade the ESP32 toolchain to GCC v14.2, GDB v14.2 and OpenOCD v0.12 #21144
Conversation
Removes the echo command that was added in past for debugging.
When sourcing a script, $0 refers to the shell in which the script is running, not the script being sourced. The only way to refer the install script is to specify the full path based on a variable pointing to the RIOT directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should update riotdocker first so this gets exercised by CI
dist/tools/esptools/export.sh
Outdated
esp32s2) | ||
TARGET_ARCH="xtensa-esp32s2-elf" | ||
ESP_GCC_RELEASE="${ESP32_GCC_RELEASE}" | ||
;; | ||
esp32s3) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The esp32s3
case can now also be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, of course 🙈
Contribution description
The PR upgrades the toolchain to
GCC 14.2 is needed for ESP-IDF version 5.2 and newer.
It also provides some small fixes:
aarch64-linux-gnu
.$0
refers to the shell in which the script is running instead of the script being sourced.Testing procedure
Compilation has to succeed.
Issues/PRs references
Requires PR #21139