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

riotbuild: Upgrade ESP32 toolchain to GCC 14.2.0 #255

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

Conversation

gschorcht
Copy link
Contributor

@gschorcht gschorcht commented Feb 18, 2025

This PR is required for the upgrade of the ESP-IDF SDK from version 4.4 to version 5.4. It provides the following changes:

  • upgrades ESP32 toolchain to GCC v14.2.0
  • upgrades GDB to v14.2
  • upgrades QEMU for ESP32 Xtensa based SoCs to version 9.0.0
  • adds QEMU for ESP32 RISC-V based SoCs
  • removes picolibc compilation for ESP32

The picolibc compilation for ESP32 had to be removed since it produces error on buildung the docker image.

The toolchain should work with current master.

Depends on #257

@gschorcht gschorcht requested a review from kaspar030 February 18, 2025 15:45
@gschorcht
Copy link
Contributor Author

I don't understand why the compile test for esp32-wroom-32 failed in CI. I built the riotbuild container and it works with the current master and the 2025-01 release as well.

@gschorcht
Copy link
Contributor Author

Ah, the compilation test uses the 2024.01 release branch which can't work with this release of the ESP32 toolchain. It requires at least the 2025.01 release branch.

Obviously, it seems to be related to PR #257

Copy link

@mguetschow mguetschow left a comment

Choose a reason for hiding this comment

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

You'll probably need to rebase on current master for the changes from #257 to be included.


# Install GDB for Xtensa base ESP32 x SoCs in /opt/esp (94 MB)
ARG ESP32_GDB_VERSION=12.1_20221002
RUN echo 'Installing ESP32 QEMU for RIC-V' >&2 && \

Choose a reason for hiding this comment

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

Suggested change
RUN echo 'Installing ESP32 QEMU for RIC-V' >&2 && \
RUN echo 'Installing ESP32 QEMU for RISC-V' >&2 && \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants