Using Espressif's official IDF v5.3.1 using devel/xtensa-esp-elf, fails with missing toolchain binaries. i.e. bin/xtensa-esp32-elf-c++ ... or, for instance another target, like ESP32s3 is desired, bin/xtensa-esp32s3-elf-c++ is missing. This is due the fact, this port installs binaries in a common/generic way but misses a wrapper for the toolchain's binaries and probably further libs and so on.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5c481f617d09312d3604a16765fcb296c5835bef commit 5c481f617d09312d3604a16765fcb296c5835bef Author: Craig Leres <leres@FreeBSD.org> AuthorDate: 2024-10-16 04:12:09 +0000 Commit: Craig Leres <leres@FreeBSD.org> CommitDate: 2024-10-16 04:12:09 +0000 devel/xtensa-esp-elf: Add espressif bin wrappers Build and install the espressif rust based wrapper. According to upstream, the target xtensa cpu is set via the XTENSA_GNU_CONFIG environment variable for gcc 12 and later. In addition to esp32 the esp32s2 and esp32s3 target cpus are now supported. While we're here, change to USE_GCC=yes:build. PR: 281951 devel/xtensa-esp-elf/Makefile | 81 +++++++++++++++++++++++++++++++++------ devel/xtensa-esp-elf/distinfo | 8 +++- devel/xtensa-esp-elf/pkg-descr | 3 +- devel/xtensa-esp-elf/pkg-plist | 87 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 166 insertions(+), 13 deletions(-)
A commit in branch 2024Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d885d8e5be190265d45d9ec38de68037f240db18 commit d885d8e5be190265d45d9ec38de68037f240db18 Author: Craig Leres <leres@FreeBSD.org> AuthorDate: 2024-10-16 04:12:09 +0000 Commit: Craig Leres <leres@FreeBSD.org> CommitDate: 2024-10-18 20:24:55 +0000 devel/xtensa-esp-elf: Add espressif bin wrappers Build and install the espressif rust based wrapper. According to upstream, the target xtensa cpu is set via the XTENSA_GNU_CONFIG environment variable for gcc 12 and later. In addition to esp32 the esp32s2 and esp32s3 target cpus are now supported. While we're here, change to USE_GCC=yes:build. PR: 281951 (cherry picked from commit 5c481f617d09312d3604a16765fcb296c5835bef) devel/xtensa-esp-elf/Makefile | 81 +++++++++++++++++++++++++++++++++------ devel/xtensa-esp-elf/distinfo | 8 +++- devel/xtensa-esp-elf/pkg-descr | 3 +- devel/xtensa-esp-elf/pkg-plist | 87 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 166 insertions(+), 13 deletions(-)