Skip to content

dist/tools/esptools: Upgrade the ESP32 toolchain to GCC v14.2, GDB v14.2 and OpenOCD v0.12 #21144

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

Conversation

gschorcht
Copy link
Contributor

@gschorcht gschorcht commented Jan 20, 2025

Contribution description

The PR upgrades the toolchain to

  • GCC version 14.2.0,
  • GDB version 14.2_20240403, and
  • OpenOCD v0.12.0-esp32-20241016.
  • QEMU for ESP32-S3 and ESP32-C3

GCC 14.2 is needed for ESP-IDF version 5.2 and newer.

It also provides some small fixes:

  • Removes an echo command that was added in past for debugging.
  • Fixes the architecture name aarch64-linux-gnu.
  • Fixes the error message when sourcing a script where $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

@github-actions github-actions bot added Area: doc Area: Documentation Area: tools Area: Supplementary tools Platform: ESP Platform: This PR/issue effects ESP-based platforms Area: cpu Area: CPU/MCU ports labels Jan 20, 2025
Copy link
Contributor

@benpicco benpicco left a 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

@gschorcht gschorcht force-pushed the dist/tools/esptools/bump_gcc_version_to_14_2 branch from 70fde2f to 3945f17 Compare February 24, 2025 17:05
@benpicco benpicco added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: skip compile test If set, CI server will run only non-compile jobs, but no compile jobs or their dependent jobs labels Apr 7, 2025
@benpicco
Copy link
Contributor

benpicco commented Apr 7, 2025

Please squash!

@riot-ci
Copy link

riot-ci commented Apr 7, 2025

Murdock results

✔️ PASSED

0067f69 dist/tools/esptools: bump to QEMU version 9.0.0

Success Failures Total Runtime
1 0 1 01m:13s

Artifacts

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.
@gschorcht gschorcht force-pushed the dist/tools/esptools/bump_gcc_version_to_14_2 branch from 3945f17 to 0067f69 Compare April 8, 2025 05:19
@benpicco benpicco added this pull request to the merge queue Apr 8, 2025
Merged via the queue into RIOT-OS:master with commit 623f865 Apr 8, 2025
25 checks passed
@gschorcht
Copy link
Contributor Author

Thanks

@gschorcht gschorcht deleted the dist/tools/esptools/bump_gcc_version_to_14_2 branch April 8, 2025 09:12
@mguetschow mguetschow added this to the Release 2025.04 milestone Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: cpu Area: CPU/MCU ports Area: doc Area: Documentation Area: tools Area: Supplementary tools CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: skip compile test If set, CI server will run only non-compile jobs, but no compile jobs or their dependent jobs Platform: ESP Platform: This PR/issue effects ESP-based platforms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants