Skip to content

Fix Xtensa ESP32-S3 toolchain in Docker image#296

Draft
Copilot wants to merge 4 commits into
developfrom
copilot/update-docker-images
Draft

Fix Xtensa ESP32-S3 toolchain in Docker image#296
Copilot wants to merge 4 commits into
developfrom
copilot/update-docker-images

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 11, 2026

The Docker build image (Dockerfile.env) was replacing the native xtensa-esp32s3-elf-* binaries with symlinks to the generic xtensa-esp-elf-gcc, causing ESP32-S3 builds (e.g. cmake .. -DDMOD_TOOLS_NAME=arch/xtensa/esp32s3) to fail with missing or misconfigured compiler tools.

Changes

  • Docker/Dockerfile.env — Removed 7 ln -sf commands that overwrote native xtensa-esp32s3-elf-{gcc,g++,ld,objdump,objcopy,ar,size} binaries with symlinks to the generic xtensa-esp-elf-gcc. The xtensa-esp-elf tarball (v14.2.0+) already ships these target-specific binaries natively; they are exposed via PATH without modification.

  • docs/tools-installation.md — Updated image contents to document both ARM and Xtensa toolchains; added an ESP32-S3 Docker build example:

docker run --rm -v $(pwd):/project -w /project \
    chocotechnologies/dmod:1.0.4 bash -c \
    "mkdir -p build && cd build && cmake .. -DDMOD_TOOLS_NAME=arch/xtensa/esp32s3 && cmake --build ."

Copilot AI linked an issue May 11, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Update docker images to include xtensa-esp-elf-gcc Fix Xtensa ESP32-S3 toolchain in Docker image May 11, 2026
Copilot AI requested a review from JohnAmadis May 11, 2026 16:12
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.

Zaktualizować obrazy dockerowe

2 participants