(without trying to use the standard library I get it to build and execute on my hardware)
Development system is ubuntu.
$ lsb_release -a
Code: Select all
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.3 LTS
Release: 24.04
Codename: nobleCode: Select all
Tool doesn't match supported version from list ['esp-15.1.0_20250607']:
/home/users/joe/.rustup/toolchains/esp/xtensa-esp-elf/esp-15.2.0_20250920/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc
Please try to run 'idf.py fullclean' to solve it.
(I tried running the "fullclean' but it made no difference, still the same error).
$ idf.py --version
Code: Select all
ESP-IDF v6.0-dev-2039-g2044fba6e7-dirtycat ~/export-esp.sh
Code: Select all
export PATH="/home/users/joe/.rustup/toolchains/esp/xtensa-esp-elf/esp-15.2.0_20250920/xtensa-esp-elf/bin:$PATH"
export LIBCLANG_PATH="/home/users/joe/.rustup/toolchains/esp/xtensa-esp32-elf-clang/esp-20.1.1_20250829/esp-clang/lib"
Code: Select all
esp-15.2.0_20250920/components/esp_rust_component/rust_crate$ cargo build -Z build-std=std,panic_abort
Code: Select all
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s