Skip to content
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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

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

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.
@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

esp32s2)
TARGET_ARCH="xtensa-esp32s2-elf"
ESP_GCC_RELEASE="${ESP32_GCC_RELEASE}"
;;
esp32s3)
Copy link
Contributor

@benpicco benpicco Jan 20, 2025

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, of course 🙈

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 Platform: ESP Platform: This PR/issue effects ESP-based platforms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants