Open knarkzel opened 10 months ago
Here's the old setup that builds, but is created for esp32
using the Xtensa architecture instead of esp32-c3
with the RiscV architecture: https://github.com/knarkzel/esp32-hello-world/
There's also this guy which has a flake: https://github.com/thiskappaisgrey/nixpkgs-esp-dev-rust
With the patches applied (look in Cargo.toml
at the bottom), I get this:
Compiling esp-idf-sys v0.33.2 (https://github.com/knarkzel/esp-idf-sys.git?branch=hailey#7c0fac0e)
The following warnings were emitted during compilation:
warning: Configuring first supported MCU 'esp32c3' derived from the build target 'riscv32imc-esp-espidf' supporting MCUs [esp32c3, esp32c2]; explicitly specify an MCU to resolve this ambiguity
error: failed to run custom build command for `esp-idf-sys v0.33.2 (https://github.com/knarkzel/esp-idf-sys.git?branch=hailey#7c0fac0e)`
Caused by:
process didn't exit successfully: `/home/odd/source/nix/hello-esp32c3/target/debug/build/esp-idf-sys-7a1d18b79e206fe4/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=ESP_IDF_TOOLS_INSTALL_DIR
cargo:rerun-if-env-changed=ESP_IDF_SDKCONFIG
cargo:rerun-if-env-changed=ESP_IDF_SDKCONFIG_DEFAULTS
cargo:rerun-if-env-changed=MCU
cargo:rerun-if-env-changed=ESP_IDF_SYS_ROOT_CRATE
cargo:rerun-if-env-changed=ESP_IDF_VERSION
cargo:rerun-if-env-changed=ESP_IDF_REPOSITORY
cargo:rerun-if-env-changed=ESP_IDF_CMAKE_GENERATOR
cargo:rerun-if-env-changed=IDF_PATH
cargo:rerun-if-env-changed=EXTRA-COMPONENTS
cargo:rerun-if-env-changed=ESP_IDF_COMPONENTS
cargo:rerun-if-env-changed=ESP_IDF_COMPONENT_MANAGER
cargo:warning=Configuring first supported MCU 'esp32c3' derived from the build target 'riscv32imc-esp-espidf' supporting MCUs [esp32c3, esp32c2]; explicitly specify an MCU to resolve this ambiguity
CMAKE_PREFIX_PATH_riscv32imc_zicsr_zifencei-esp-espidf = None
CMAKE_PREFIX_PATH_riscv32imc_zicsr_zifencei_esp_espidf = None
TARGET_CMAKE_PREFIX_PATH = None
CMAKE_PREFIX_PATH = Some("/nix/store/ay0p9mbw1w3zkvwzx3c94xq7x8jrn9wq-patchelf-0.15.0:/nix/store/yllcj971mwa0rvgwvd876a52391m8s9y-update-autotools-gnu-config-scripts-hook:/nix/store/18bs92p6yf6w2wwxhbplgx02y6anq092-gcc-wrapper-12.3.0:/nix/store/mc6q3cdz5s0p1aj4y586bglsfsnsf2k8-binutils-wrapper-2.40:/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1:/nix/store/x3yahprgjd3arxxgbq4d3bxgl3hbghcg-python3-3.10.12-env:/nix/store/7smkn8cidx17la9ny5vfvghrwfxwbrny-git-2.42.0:/nix/store/g7hr76vc0bi7lb0qf9izvrblf0vh94m2-wget-1.21.4:/nix/store/5rdxplg3cczslq4banvk3449ry5k9hx7-gnumake-4.4.1:/nix/store/vlvzar852vc5i73hsr2gljh75lyjrpcp-flex-2.6.4:/nix/store/0v0b4pcb7fcjz693kqqhaci14l4zhrpr-gnum4-1.4.19:/nix/store/9jxcg001xr5h60r34zwdwmwkz7av1grb-bison-3.8.2:/nix/store/s15h6hdgzf60vqh2rp77vnbg58p1lv8i-gperf-3.1:/nix/store/5daca24rn22c65ff25lc6z0g0imfphvr-pkg-config-wrapper-0.29.2:/nix/store/yi235g10sp8jx939zpfli0s74154ph3v-cmake-3.26.4:/nix/store/ilgv1hna6y3cdsbi3vq87gvp7jpy6sqp-ninja-1.11.1:/nix/store/w0mmh06q0daxh4h544y1vdwqxbbgfmc1-ncurses-abi5-compat-6.4-dev:/nix/store/19x177m8wcf7c3q3mbc6vj08pbpy6lpj-ncurses-abi5-compat-6.4:/nix/store/7fnpn3lcf7wrwck9hrdkvr2913zykhij-dfu-util-0.11:/nix/store/ldbqi0jlrk23p4b5a3cl6ma34r7gw33v-riscv32-esp-elf-esp-idf-v5.1:/nix/store/bmmgfib1s1yl2fgkcvxwqhwzd4w6bwik-openocd-esp32-esp-idf-v5.1:/nix/store/9mnn1z71jzb39c3n8gk7fcq7lxfvm1da-riscv32-esp-elf-gdb-esp-idf-v5.1:/nix/store/63a68c8lz0ybq7mzyphx74g91ihqn90h-rust-default-1.75.0-nightly-2023-10-08")
CMAKE_riscv32imc_zicsr_zifencei-esp-espidf = None
CMAKE_riscv32imc_zicsr_zifencei_esp_espidf = None
TARGET_CMAKE = None
CMAKE = None
running: cd "/home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/build" && CMAKE_PREFIX_PATH="/nix/store/ay0p9mbw1w3zkvwzx3c94xq7x8jrn9wq-patchelf-0.15.0:/nix/store/yllcj971mwa0rvgwvd876a52391m8s9y-update-autotools-gnu-config-scripts-hook:/nix/store/18bs92p6yf6w2wwxhbplgx02y6anq092-gcc-wrapper-12.3.0:/nix/store/mc6q3cdz5s0p1aj4y586bglsfsnsf2k8-binutils-wrapper-2.40:/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1:/nix/store/x3yahprgjd3arxxgbq4d3bxgl3hbghcg-python3-3.10.12-env:/nix/store/7smkn8cidx17la9ny5vfvghrwfxwbrny-git-2.42.0:/nix/store/g7hr76vc0bi7lb0qf9izvrblf0vh94m2-wget-1.21.4:/nix/store/5rdxplg3cczslq4banvk3449ry5k9hx7-gnumake-4.4.1:/nix/store/vlvzar852vc5i73hsr2gljh75lyjrpcp-flex-2.6.4:/nix/store/0v0b4pcb7fcjz693kqqhaci14l4zhrpr-gnum4-1.4.19:/nix/store/9jxcg001xr5h60r34zwdwmwkz7av1grb-bison-3.8.2:/nix/store/s15h6hdgzf60vqh2rp77vnbg58p1lv8i-gperf-3.1:/nix/store/5daca24rn22c65ff25lc6z0g0imfphvr-pkg-config-wrapper-0.29.2:/nix/store/yi235g10sp8jx939zpfli0s74154ph3v-cmake-3.26.4:/nix/store/ilgv1hna6y3cdsbi3vq87gvp7jpy6sqp-ninja-1.11.1:/nix/store/w0mmh06q0daxh4h544y1vdwqxbbgfmc1-ncurses-abi5-compat-6.4-dev:/nix/store/19x177m8wcf7c3q3mbc6vj08pbpy6lpj-ncurses-abi5-compat-6.4:/nix/store/7fnpn3lcf7wrwck9hrdkvr2913zykhij-dfu-util-0.11:/nix/store/ldbqi0jlrk23p4b5a3cl6ma34r7gw33v-riscv32-esp-elf-esp-idf-v5.1:/nix/store/bmmgfib1s1yl2fgkcvxwqhwzd4w6bwik-openocd-esp32-esp-idf-v5.1:/nix/store/9mnn1z71jzb39c3n8gk7fcq7lxfvm1da-riscv32-esp-elf-gdb-esp-idf-v5.1:/nix/store/63a68c8lz0ybq7mzyphx74g91ihqn90h-rust-default-1.75.0-nightly-2023-10-08" EXTRA_COMPONENT_DIRS="" IDF_COMPONENT_MANAGER="1" IDF_PATH="/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1" IDF_TARGET="esp32c3" PATH="/nix/store/ay0p9mbw1w3zkvwzx3c94xq7x8jrn9wq-patchelf-0.15.0/bin:/nix/store/18bs92p6yf6w2wwxhbplgx02y6anq092-gcc-wrapper-12.3.0/bin:/nix/store/h5kvfrjmpw792v8jg7nrzfkffmn0iyy8-gcc-12.3.0/bin:/nix/store/f6in5kb2y5v06zinz1a6xy6cyg67q026-glibc-2.37-8-bin/bin:/nix/store/y9gr7abwxvzcpg5g73vhnx1fpssr5frr-coreutils-9.3/bin:/nix/store/mc6q3cdz5s0p1aj4y586bglsfsnsf2k8-binutils-wrapper-2.40/bin:/nix/store/74y3751gsixaz9797ib0hp7c658sp1y5-binutils-2.40/bin:/nix/store/x3yahprgjd3arxxgbq4d3bxgl3hbghcg-python3-3.10.12-env/bin:/nix/store/7smkn8cidx17la9ny5vfvghrwfxwbrny-git-2.42.0/bin:/nix/store/g7hr76vc0bi7lb0qf9izvrblf0vh94m2-wget-1.21.4/bin:/nix/store/5rdxplg3cczslq4banvk3449ry5k9hx7-gnumake-4.4.1/bin:/nix/store/vlvzar852vc5i73hsr2gljh75lyjrpcp-flex-2.6.4/bin:/nix/store/0v0b4pcb7fcjz693kqqhaci14l4zhrpr-gnum4-1.4.19/bin:/nix/store/9jxcg001xr5h60r34zwdwmwkz7av1grb-bison-3.8.2/bin:/nix/store/s15h6hdgzf60vqh2rp77vnbg58p1lv8i-gperf-3.1/bin:/nix/store/5daca24rn22c65ff25lc6z0g0imfphvr-pkg-config-wrapper-0.29.2/bin:/nix/store/yi235g10sp8jx939zpfli0s74154ph3v-cmake-3.26.4/bin:/nix/store/ilgv1hna6y3cdsbi3vq87gvp7jpy6sqp-ninja-1.11.1/bin:/nix/store/w0mmh06q0daxh4h544y1vdwqxbbgfmc1-ncurses-abi5-compat-6.4-dev/bin:/nix/store/19x177m8wcf7c3q3mbc6vj08pbpy6lpj-ncurses-abi5-compat-6.4/bin:/nix/store/7fnpn3lcf7wrwck9hrdkvr2913zykhij-dfu-util-0.11/bin:/nix/store/ldbqi0jlrk23p4b5a3cl6ma34r7gw33v-riscv32-esp-elf-esp-idf-v5.1/bin:/nix/store/bmmgfib1s1yl2fgkcvxwqhwzd4w6bwik-openocd-esp32-esp-idf-v5.1/bin:/nix/store/9mnn1z71jzb39c3n8gk7fcq7lxfvm1da-riscv32-esp-elf-gdb-esp-idf-v5.1/bin:/nix/store/63a68c8lz0ybq7mzyphx74g91ihqn90h-rust-default-1.75.0-nightly-2023-10-08/bin:/nix/store/y9gr7abwxvzcpg5g73vhnx1fpssr5frr-coreutils-9.3/bin:/nix/store/b6izr8wh0p7dyvh3cyg14wq2rn8d31ik-findutils-4.9.0/bin:/nix/store/q56n7lhjw724i7b33qaqra61p7m7c0cd-diffutils-3.10/bin:/nix/store/x23by79p38ll0js1alifmf3y56vqfs49-gnused-4.9/bin:/nix/store/xafzciap7acqhfx84dvqkp18bg4lrai3-gnugrep-3.11/bin:/nix/store/8kkn44iwdbgqkrj661nr4cjcpmrqqmx8-gawk-5.2.2/bin:/nix/store/89s3w7b4g78989kpzc7sy4phv0nqfira-gnutar-1.35/bin:/nix/store/2a9na7bp4r3290yqqzg503325dwglxyq-gzip-1.13/bin:/nix/store/gxknjk51s7q86llkbzpaqv43kflj9d8j-bzip2-1.0.8-bin/bin:/nix/store/2jp6cv2q4cgh91f5lp57p945rq98ldhr-gnumake-4.4.1/bin:/nix/store/xdqlrixlspkks50m9b0mpvag65m3pf2w-bash-5.2-p15/bin:/nix/store/c15ama0p8jr4mn0943yjk4rpa2hxk7ml-patch-2.7.6/bin:/nix/store/sb3sxnp4g40gfw758a0m4sjm7slvmax9-xz-5.4.4-bin/bin:/nix/store/xfjqspcc9442hi0lm0szv3sw75zswvml-file-5.45/bin:/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/tools:/run/wrappers/bin:/home/odd/.nix-profile/bin:/home/odd/.local/state/nix/profile/bin:/etc/profiles/per-user/odd/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/nix/store/mc6q3cdz5s0p1aj4y586bglsfsnsf2k8-binutils-wrapper-2.40/bin:/nix/store/5nbkkc6qng2lz3jgskxpigqirz0yzy0r-pciutils-3.10.0/bin" PROJECT_DIR="/home/odd/source/nix/hello-esp32c3" SDKCONFIG_DEFAULTS="/home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/gen-sdkconfig.defaults" "cmake" "/home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out" "-G" "Ninja" "-DCMAKE_TOOLCHAIN_FILE=/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/tools/cmake/toolchain-esp32c3.cmake" "-DCMAKE_BUILD_TYPE=" "-DPYTHON=/nix/store/x3yahprgjd3arxxgbq4d3bxgl3hbghcg-python3-3.10.12-env/bin/python" "-DCMAKE_INSTALL_PREFIX=/home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out" "-DCMAKE_C_FLAGS= -march=rv32imc_zicsr_zifencei -ffunction-sections -fdata-sections -march=rv32imc_zicsr_zifencei -mabi=ilp32 -mcmodel=medany" "-DCMAKE_CXX_FLAGS= -march=rv32imc_zicsr_zifencei -ffunction-sections -fdata-sections -march=rv32imc_zicsr_zifencei -mabi=ilp32 -mcmodel=medany" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -march=rv32imc_zicsr_zifencei -mabi=ilp32 -mcmodel=medany"
-- Building ESP-IDF components for target esp32c3
-- Checking Python dependencies...
Python requirements are satisfied.
Requirement files:
- /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/tools/requirements/requirements.core.txt
Python being checked: /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/python-env/bin/python
-- Project sdkconfig file /home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/sdkconfig
Loading defaults file /home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/gen-sdkconfig.defaults...
-- App "libespidf" version: 5e7d53b
-- Adding linker script /home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_system/ld/esp32c3/sections.ld.in
-- Adding linker script /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_rom/esp32c3/ld/esp32c3.rom.ld
-- Adding linker script /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_rom/esp32c3/ld/esp32c3.rom.api.ld
-- Adding linker script /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_rom/esp32c3/ld/esp32c3.rom.libgcc.ld
-- Adding linker script /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_rom/esp32c3/ld/esp32c3.rom.newlib.ld
-- Adding linker script /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_rom/esp32c3/ld/esp32c3.rom.version.ld
-- Adding linker script /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_rom/esp32c3/ld/esp32c3.rom.eco3.ld
-- Adding linker script /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/soc/esp32c3/ld/esp32c3.peripherals.ld
-- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_coex esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash openthread partition_table protobuf-c protocomm pthread riscv sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant
-- Component paths: /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/app_trace /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/app_update /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/bootloader /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/bootloader_support /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/bt /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/cmock /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/console /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/cxx /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/driver /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/efuse /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp-tls /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_adc /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_app_format /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_coex /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_common /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_eth /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_event /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_gdbstub /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_hid /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_http_client /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_http_server /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_https_ota /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_https_server /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_hw_support /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_lcd /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_local_ctrl /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_mm /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_netif /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_netif_stack /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_partition /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_phy /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_pm /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_psram /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_ringbuf /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_rom /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_system /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_timer /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_wifi /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/espcoredump /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esptool_py /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/fatfs /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/freertos /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/hal /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/heap /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/http_parser /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/idf_test /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/ieee802154 /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/json /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/log /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/lwip /home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/main /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/mbedtls /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/mqtt /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/newlib /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/nvs_flash /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/openthread /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/partition_table /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/protobuf-c /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/protocomm /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/pthread /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/riscv /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/sdmmc /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/soc /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/spi_flash /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/spiffs /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/tcp_transport /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/ulp /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/unity /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/usb /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/vfs /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/wear_levelling /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/wifi_provisioning /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/wpa_supplicant
-- Configuring done (1.1s)
-- Generating done (0.1s)
-- Build files have been written to: /home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/build
running: cd "/home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/build" && EXTRA_COMPONENT_DIRS="" IDF_COMPONENT_MANAGER="1" IDF_PATH="/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1" IDF_TARGET="esp32c3" PATH="/nix/store/ay0p9mbw1w3zkvwzx3c94xq7x8jrn9wq-patchelf-0.15.0/bin:/nix/store/18bs92p6yf6w2wwxhbplgx02y6anq092-gcc-wrapper-12.3.0/bin:/nix/store/h5kvfrjmpw792v8jg7nrzfkffmn0iyy8-gcc-12.3.0/bin:/nix/store/f6in5kb2y5v06zinz1a6xy6cyg67q026-glibc-2.37-8-bin/bin:/nix/store/y9gr7abwxvzcpg5g73vhnx1fpssr5frr-coreutils-9.3/bin:/nix/store/mc6q3cdz5s0p1aj4y586bglsfsnsf2k8-binutils-wrapper-2.40/bin:/nix/store/74y3751gsixaz9797ib0hp7c658sp1y5-binutils-2.40/bin:/nix/store/x3yahprgjd3arxxgbq4d3bxgl3hbghcg-python3-3.10.12-env/bin:/nix/store/7smkn8cidx17la9ny5vfvghrwfxwbrny-git-2.42.0/bin:/nix/store/g7hr76vc0bi7lb0qf9izvrblf0vh94m2-wget-1.21.4/bin:/nix/store/5rdxplg3cczslq4banvk3449ry5k9hx7-gnumake-4.4.1/bin:/nix/store/vlvzar852vc5i73hsr2gljh75lyjrpcp-flex-2.6.4/bin:/nix/store/0v0b4pcb7fcjz693kqqhaci14l4zhrpr-gnum4-1.4.19/bin:/nix/store/9jxcg001xr5h60r34zwdwmwkz7av1grb-bison-3.8.2/bin:/nix/store/s15h6hdgzf60vqh2rp77vnbg58p1lv8i-gperf-3.1/bin:/nix/store/5daca24rn22c65ff25lc6z0g0imfphvr-pkg-config-wrapper-0.29.2/bin:/nix/store/yi235g10sp8jx939zpfli0s74154ph3v-cmake-3.26.4/bin:/nix/store/ilgv1hna6y3cdsbi3vq87gvp7jpy6sqp-ninja-1.11.1/bin:/nix/store/w0mmh06q0daxh4h544y1vdwqxbbgfmc1-ncurses-abi5-compat-6.4-dev/bin:/nix/store/19x177m8wcf7c3q3mbc6vj08pbpy6lpj-ncurses-abi5-compat-6.4/bin:/nix/store/7fnpn3lcf7wrwck9hrdkvr2913zykhij-dfu-util-0.11/bin:/nix/store/ldbqi0jlrk23p4b5a3cl6ma34r7gw33v-riscv32-esp-elf-esp-idf-v5.1/bin:/nix/store/bmmgfib1s1yl2fgkcvxwqhwzd4w6bwik-openocd-esp32-esp-idf-v5.1/bin:/nix/store/9mnn1z71jzb39c3n8gk7fcq7lxfvm1da-riscv32-esp-elf-gdb-esp-idf-v5.1/bin:/nix/store/63a68c8lz0ybq7mzyphx74g91ihqn90h-rust-default-1.75.0-nightly-2023-10-08/bin:/nix/store/y9gr7abwxvzcpg5g73vhnx1fpssr5frr-coreutils-9.3/bin:/nix/store/b6izr8wh0p7dyvh3cyg14wq2rn8d31ik-findutils-4.9.0/bin:/nix/store/q56n7lhjw724i7b33qaqra61p7m7c0cd-diffutils-3.10/bin:/nix/store/x23by79p38ll0js1alifmf3y56vqfs49-gnused-4.9/bin:/nix/store/xafzciap7acqhfx84dvqkp18bg4lrai3-gnugrep-3.11/bin:/nix/store/8kkn44iwdbgqkrj661nr4cjcpmrqqmx8-gawk-5.2.2/bin:/nix/store/89s3w7b4g78989kpzc7sy4phv0nqfira-gnutar-1.35/bin:/nix/store/2a9na7bp4r3290yqqzg503325dwglxyq-gzip-1.13/bin:/nix/store/gxknjk51s7q86llkbzpaqv43kflj9d8j-bzip2-1.0.8-bin/bin:/nix/store/2jp6cv2q4cgh91f5lp57p945rq98ldhr-gnumake-4.4.1/bin:/nix/store/xdqlrixlspkks50m9b0mpvag65m3pf2w-bash-5.2-p15/bin:/nix/store/c15ama0p8jr4mn0943yjk4rpa2hxk7ml-patch-2.7.6/bin:/nix/store/sb3sxnp4g40gfw758a0m4sjm7slvmax9-xz-5.4.4-bin/bin:/nix/store/xfjqspcc9442hi0lm0szv3sw75zswvml-file-5.45/bin:/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/tools:/run/wrappers/bin:/home/odd/.nix-profile/bin:/home/odd/.local/state/nix/profile/bin:/etc/profiles/per-user/odd/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/nix/store/mc6q3cdz5s0p1aj4y586bglsfsnsf2k8-binutils-wrapper-2.40/bin:/nix/store/5nbkkc6qng2lz3jgskxpigqirz0yzy0r-pciutils-3.10.0/bin" PROJECT_DIR="/home/odd/source/nix/hello-esp32c3" SDKCONFIG_DEFAULTS="/home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/gen-sdkconfig.defaults" "cmake" "--build" "." "--config" "MinSizeRel" "--parallel" "32"
[1/7] Performing build step for 'bootloader'
[0/1] Re-running CMake...
fatal: not a git repository (or any of the parent directories): .git
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32c3
-- Project sdkconfig file /home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/sdkconfig
-- Adding linker script /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/soc/esp32c3/ld/esp32c3.peripherals.ld
-- App "bootloader" version: 1
-- Adding linker script /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_rom/esp32c3/ld/esp32c3.rom.ld
-- Adding linker script /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_rom/esp32c3/ld/esp32c3.rom.api.ld
-- Adding linker script /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_rom/esp32c3/ld/esp32c3.rom.libgcc.ld
-- Adding linker script /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_rom/esp32c3/ld/esp32c3.rom.newlib.ld
-- Adding linker script /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/bootloader/subproject/main/ld/esp32c3/bootloader.ld
-- Adding linker script /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/bootloader/subproject/main/ld/esp32c3/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table riscv soc spi_flash
-- Component paths: /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/bootloader /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/bootloader_support /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/efuse /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_app_format /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_common /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_hw_support /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_rom /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_system /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esptool_py /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/freertos /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/hal /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/log /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/bootloader/subproject/main /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/bootloader/subproject/components/micro-ecc /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/newlib /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/partition_table /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/riscv /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/soc /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/spi_flash
-- Configuring done (0.5s)
-- Generating done (0.0s)
-- Build files have been written to: /home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/build/bootloader
[1/1] cd /home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/build/bootloader/esp-idf/esptool_py && /nix/store/x3yahprgjd3arxxgbq4d3bxgl3hbghcg-python3-3.10.12-env/bin/python /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/build/bootloader/bootloader.bin
Bootloader binary size 0x5040 bytes. 0x2fc0 bytes (37%) free.
[2/7] No install step for 'bootloader'
[3/7] Completed 'bootloader'
[4/7] Generating ld/sections.ld
[5/7] Linking CXX executable libespidf.elf
[6/7] Generating binary image from built executable
esptool.py v4.6.2
Creating esp32c3 image...
Merged 1 ELF section
Successfully created esp32c3 image.
Generated /home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/build/libespidf.bin
[7/7] cd /home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/build/esp-idf/esptool_py && /nix/store/x3yahprgjd3arxxgbq4d3bxgl3hbghcg-python3-3.10.12-env/bin/python /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/build/partition_table/partition-table.bin /home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/build/libespidf.bin
libespidf.bin binary size 0x25610 bytes. Smallest app partition is 0x100000 bytes. 0xda9f0 bytes (85%) free.
cargo:root=/home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out
cargo:rerun-if-changed=/home/odd/.cargo/git/checkouts/esp-idf-sys-94ae8668c507e489/7c0fac0/src/include/esp-idf/bindings.h
cargo:rustc-env=EMBUILD_GENERATED_BINDINGS_FILE=/home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/bindings.rs
--- stderr
Build configuration: BuildConfig {
esp_idf_tools_install_dir: None,
esp_idf_sdkconfig: None,
esp_idf_sdkconfig_defaults: None,
mcu: None,
native: NativeConfig {
esp_idf_version: None,
esp_idf_repository: None,
esp_idf_cmake_generator: None,
idf_path: Some(
"/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1",
),
extra_components: [],
esp_idf_components: None,
esp_idf_component_manager: None,
},
esp_idf_sys_root_crate: None,
}
fatal: not a git repository (or any of the parent directories): .git
Using activated esp-idf v5.1.0 environment at '/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1'
fatal: not a git repository (or any of the parent directories): .git
/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/tools/check_python_dependencies.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Built components: riscv, esp_ringbuf, efuse, driver, esp_pm, mbedtls, esp_app_format, bootloader_support, bootloader, esptool_py, partition_table, esp_partition, app_update, esp_mm, spi_flash, pthread, esp_system, esp_rom, hal, log, heap, soc, esp_hw_support, freertos, newlib, cxx, esp_common, esp_timer, app_trace, esp_event, nvs_flash, esp_phy, vfs, lwip, esp_netif_stack, esp_netif, wpa_supplicant, esp_coex, esp_wifi, bt, unity, cmock, console, http_parser, esp-tls, esp_adc, esp_eth, esp_gdbstub, esp_hid, tcp_transport, esp_http_client, esp_http_server, esp_https_ota, esp_https_server, esp_psram, esp_lcd, protobuf-c, protocomm, esp_local_ctrl, espcoredump, wear_levelling, sdmmc, fatfs, idf_test, ieee802154, json, mqtt, openthread, spiffs, ulp, usb, wifi_provisioning, main
/nix/store/y8wfrgk7br5rfz4221lfb9v8w3n0cnyd-glibc-2.37-8-dev/include/limits.h:145:5: error: function-like macro '__GLIBC_USE' is not defined
/nix/store/y8wfrgk7br5rfz4221lfb9v8w3n0cnyd-glibc-2.37-8-dev/include/limits.h:184:5: error: function-like macro '__GLIBC_USE' is not defined
/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/spi_flash/include/esp_spi_flash.h:6:2: warning: esp_spi_flash.h is deprecated, please use spi_flash_mmap.h instead [-W#warnings]
/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_adc/deprecated/include/esp_adc_cal.h:17:2: warning: "legacy adc calibration driver is deprecated, please migrate to use esp_adc/adc_cali.h and esp_adc/adc_cali_scheme.h" [-W#warnings]
/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/driver/deprecated/driver/adc.h:19:2: warning: "legacy adc driver is deprecated, please migrate to use esp_adc/adc_oneshot.h and esp_adc/adc_continuous.h for oneshot mode and continuous mode drivers respectively" [-W#warnings]
/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/driver/deprecated/driver/i2s.h:27:2: warning: "This set of I2S APIs has been deprecated, please include 'driver/i2s_std.h', 'driver/i2s_pdm.h' or 'driver/i2s_tdm.h' instead. if you want to keep using the old APIs and ignore this warning, you can enable 'Suppress leagcy driver deprecated warning' option under 'I2S Configuration' menu in Kconfig" [-W#warnings]
/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/driver/deprecated/driver/periph_ctrl.h:7:2: warning: driver/periph_ctrl.h header is no longer used, and will be removed in future versions. [-W#warnings]
/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/driver/deprecated/driver/rmt.h:18:2: warning: "The legacy RMT driver is deprecated, please use driver/rmt_tx.h and/or driver/rmt_rx.h" [-W#warnings]
/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/driver/deprecated/driver/rtc_cntl.h:7:2: warning: driver/rtc_cntl.h header is no longer used, and will be removed in future versions. [-W#warnings]
/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/driver/deprecated/driver/sigmadelta.h:15:2: warning: "The legacy sigma-delta driver is deprecated, please use driver/sdm.h" [-W#warnings]
/nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/driver/deprecated/driver/timer.h:16:2: warning: "legacy timer group driver is deprecated, please migrate to driver/gptimer.h" [-W#warnings]
clang diag: /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/spi_flash/include/esp_spi_flash.h:6:2: warning: esp_spi_flash.h is deprecated, please use spi_flash_mmap.h instead [-W#warnings]
clang diag: /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/esp_adc/deprecated/include/esp_adc_cal.h:17:2: warning: "legacy adc calibration driver is deprecated, please migrate to use esp_adc/adc_cali.h and esp_adc/adc_cali_scheme.h" [-W#warnings]
clang diag: /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/driver/deprecated/driver/adc.h:19:2: warning: "legacy adc driver is deprecated, please migrate to use esp_adc/adc_oneshot.h and esp_adc/adc_continuous.h for oneshot mode and continuous mode drivers respectively" [-W#warnings]
clang diag: /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/driver/deprecated/driver/i2s.h:27:2: warning: "This set of I2S APIs has been deprecated, please include 'driver/i2s_std.h', 'driver/i2s_pdm.h' or 'driver/i2s_tdm.h' instead. if you want to keep using the old APIs and ignore this warning, you can enable 'Suppress leagcy driver deprecated warning' option under 'I2S Configuration' menu in Kconfig" [-W#warnings]
clang diag: /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/driver/deprecated/driver/periph_ctrl.h:7:2: warning: driver/periph_ctrl.h header is no longer used, and will be removed in future versions. [-W#warnings]
clang diag: /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/driver/deprecated/driver/rmt.h:18:2: warning: "The legacy RMT driver is deprecated, please use driver/rmt_tx.h and/or driver/rmt_rx.h" [-W#warnings]
clang diag: /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/driver/deprecated/driver/rtc_cntl.h:7:2: warning: driver/rtc_cntl.h header is no longer used, and will be removed in future versions. [-W#warnings]
clang diag: /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/driver/deprecated/driver/sigmadelta.h:15:2: warning: "The legacy sigma-delta driver is deprecated, please use driver/sdm.h" [-W#warnings]
clang diag: /nix/store/bmckqqb26qy16agaql75m5w1bwi4kp51-esp-idf-v5.1/components/driver/deprecated/driver/timer.h:16:2: warning: "legacy timer group driver is deprecated, please migrate to driver/gptimer.h" [-W#warnings]
Error: failed to generate bindings in file '/home/odd/source/nix/hello-esp32c3/target/riscv32imc-esp-espidf/debug/build/esp-idf-sys-b070ae79f55e5b77/out/bindings.rs'
Caused by:
clang diagnosed error: /nix/store/y8wfrgk7br5rfz4221lfb9v8w3n0cnyd-glibc-2.37-8-dev/include/limits.h:145:5: error: function-like macro '__GLIBC_USE' is not defined
/nix/store/y8wfrgk7br5rfz4221lfb9v8w3n0cnyd-glibc-2.37-8-dev/include/limits.h:184:5: error: function-like macro '__GLIBC_USE' is not defined