ivmarkov / rust-esp32-std-demo

Rust on ESP32 STD demo app. A demo STD binary crate for the ESP32[XX] and ESP-IDF, which connects to WiFi, Ethernet, drives a small HTTP server and draws on a LED screen.
Apache License 2.0
784 stars 106 forks source link

Failed to build project: Failed to read: sdkconfig.debug #16

Closed StefansProjects closed 3 years ago

StefansProjects commented 3 years ago

I followed your guide to build the std-hello example for a esp32 on Windows 10 with cargo build. When invoking cargo build --release, the missing file is sdkconfig.release. Rust build seems to run okay but in the final build step PlatformIO is invoked and does not find the file. I have ensured that my PlatformIO installation is up to date.

...
error: failed to run custom build command for `esp-idf-sys v0.20.2`

Caused by:
  process didn't exit successfully: `C:\projekte\rust-esp32-std-hello\target\debug\build\esp-idf-sys-dc637b5a811cf755\build-script-build` (exit code: 1)
  --- stdout
  Found compatible PlatformIO Core 5.2.0 -> C:\Users\stefa\.platformio\penv\Scripts\platformio.exe
  cargo:rerun-if-changed=.\patches\master_missing_xtensa_atomics_fix.diff
  cargo:rerun-if-changed=.\patches\missing_xtensa_atomics_fix.diff
  cargo:rerun-if-changed=.\patches\ping_setsockopt_fix.diff
  cargo:rerun-if-changed=.\patches\pthread_destructor_fix.diff
  cargo:rerun-if-changed=C:\projekte\rust-esp32-std-hello\.\sdkconfig.defaults
  Warning! Ignore unknown configuration option `patches` in section [env]
  Processing debug (board: esp32cam; platform: espressif32; framework: espidf)
  --------------------------------------------------------------------------------
  Verbose mode can be enabled via `-v, --verbose` option
  CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32cam.html
  PLATFORM: Espressif 32 (3.2.0) > AI Thinker ESP32-CAM
  HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
  DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
  PACKAGES:
   - framework-espidf 3.40200.210118 (4.2.0)
   - tool-cmake 3.16.4
   - tool-esptoolpy 1.30000.201119 (3.0.0)
   - tool-idf 1.0.1
   - tool-mconf 1.4060000.20190628 (406.0.0)
   - tool-ninja 1.9.0
   - toolchain-esp32ulp 1.22851.191205 (2.28.51)
   - toolchain-xtensa32 2.80400.210211 (8.4.0)
  Reading CMake configuration...
  LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
  LDF Modes: Finder ~ chain, Compatibility ~ soft
  Found 1 compatible libraries
  Scanning dependencies...
  No dependencies
  Building in debug mode
  Retrieving maximum program size .pio\build\debug\firmware.elf
  Checking size .pio\build\debug\firmware.elf
  Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
  RAM:   [          ]   3.2% (used 10436 bytes from 327680 bytes)
  Flash: [=         ]  14.3% (used 150364 bytes from 1048576 bytes)
  ========================= [SUCCESS] Took 15.08 seconds =========================

  Environment    Status    Duration
  -------------  --------  ------------
  debug          SUCCESS   00:00:15.080
  ========================= 1 succeeded in 00:00:15.080 =========================

  --- stderr
  Error: Failed to read '"C:\\projekte\\rust-esp32-std-hello\\target\\xtensa-esp32-espidf\\debug\\build\\esp-idf-sys-22b339291a313812\\out\\esp-idf\\sdkconfig.debug"'
ivmarkov commented 3 years ago

This is really strange, because - indeed - the PlatformIO output contains Building in debug mode

.. while if you really invoked cargo build --release, it should contain Building in release mode or something.

The thing is, I cannot reproduce it. The following things work fine for me, in that order: cargo clean; cargo build --release cargo build (this is debug build) cargo build --release

Can you try to invoke cargo clean first, and then again cargo build --release and see if that still fails? Also, have you changed the sample project in any way?

StefansProjects commented 3 years ago

Thank you for your help. I have just modified SSID and PASS (to connect to my Wifi) in main.rs as described in the instructions. To further explain my first issue, the error happens reproduable in both debug and release builds (with a different but similar file missing: sdkconfig.[debug, release].).

Here is the full output from beginning when invoking cargo clean; cargo build --release. I`m using the PowerShell.

PS C:\projekte\rust-esp32-std-hello> cargo clean;cargo build --release
warning: unused config key `unstable.extra-link-arg` in `C:\projekte\rust-esp32-std-hello\.cargo\config.toml`
warning: unused config key `unstable.configurable-env` in `C:\projekte\rust-esp32-std-hello\.cargo\config.toml`
warning: unused config key `unstable.extra-link-arg` in `C:\projekte\rust-esp32-std-hello\.cargo\config.toml`
warning: unused config key `unstable.configurable-env` in `C:\projekte\rust-esp32-std-hello\.cargo\config.toml`
   Compiling compiler_builtins v0.1.49
   Compiling core v0.0.0 (C:\Users\stefa\.rustup\toolchains\esp\lib\rustlib\src\rust\library\core)
   Compiling libc v0.2.98 (https://github.com/rust-lang/libc.git#67562637)
   Compiling cc v1.0.69
   Compiling std v0.0.0 (C:\Users\stefa\.rustup\toolchains\esp\lib\rustlib\src\rust\library\std)
   Compiling memchr v2.4.1
   Compiling proc-macro2 v1.0.28
   Compiling autocfg v1.0.1
   Compiling unicode-xid v0.2.2
   Compiling syn v1.0.75
   Compiling winapi v0.3.9
   Compiling cfg-if v1.0.0
   Compiling libc v0.2.101
   Compiling log v0.4.14
   Compiling serde v1.0.130
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling serde_derive v1.0.130
   Compiling lazy_static v1.4.0
   Compiling crossbeam-utils v0.8.5
   Compiling fnv v1.0.7
   Compiling ryu v1.0.5
   Compiling crossbeam-epoch v0.9.5
   Compiling untrusted v0.7.1
   Compiling regex-syntax v0.6.25
   Compiling spin v0.5.2
   Compiling rayon-core v1.9.1
   Compiling version_check v0.9.3
   Compiling anyhow v1.0.43
   Compiling tinyvec_macros v0.1.0
   Compiling serde_json v1.0.67
   Compiling glob v0.3.0
   Compiling scopeguard v1.1.0
   Compiling matches v0.1.9
   Compiling once_cell v1.8.0
   Compiling unicode-width v0.1.8
   Compiling unicode-bidi v0.3.6
   Compiling ppv-lite86 v0.2.10
   Compiling either v1.6.1
   Compiling adler v1.0.2
   Compiling gimli v0.25.0
   Compiling percent-encoding v2.1.0
   Compiling bitflags v1.3.2
   Compiling strsim v0.8.0
   Compiling rustc-demangle v0.1.21
   Compiling vec_map v0.8.2
   Compiling base64 v0.13.0
   Compiling humantime v2.1.0
   Compiling bindgen v0.57.0
   Compiling shlex v0.1.1
   Compiling itoa v0.4.8
   Compiling lazycell v1.3.0
   Compiling chunked_transfer v1.4.0
   Compiling rustc-hash v1.1.0
   Compiling zero v0.1.2
   Compiling peeking_take_while v0.1.2
   Compiling shlex v1.1.0
   Compiling futures-core v0.3.17
   Compiling strsim v0.10.0
   Compiling ident_case v1.0.1
   Compiling az v1.1.2
   Compiling unicode-segmentation v1.8.0
   Compiling async-trait v0.1.51
   Compiling heapless v0.7.5
   Compiling paste v1.0.5
   Compiling getrandom v0.2.3
   Compiling tinyvec v1.3.1
   Compiling cmake v0.1.45
   Compiling textwrap v0.11.0
   Compiling miniz_oxide v0.4.4
   Compiling memoffset v0.6.4
   Compiling rayon v1.5.1
   Compiling thread_local v1.1.3
   Compiling num-traits v0.2.14
   Compiling form_urlencoded v1.0.1
   Compiling nom v5.1.2
   Compiling xmas-elf v0.8.0
   Compiling clang-sys v1.2.1
   Compiling rand_core v0.6.3
   Compiling heck v0.3.3
   Compiling num_cpus v1.13.0
   Compiling which v3.1.1
   Compiling which v4.2.2
   Compiling rand_chacha v0.3.1
   Compiling aho-corasick v0.7.18
   Compiling bstr v0.2.16
   Compiling object v0.26.2
   Compiling unicode-normalization v0.1.19
   Compiling crossbeam-channel v0.5.1
   Compiling ring v0.16.20
   Compiling backtrace v0.3.61
   Compiling unwind v0.0.0 (C:\Users\stefa\.rustup\toolchains\esp\lib\rustlib\src\rust\library\unwind)
   Compiling quote v1.0.9
   Compiling addr2line v0.16.0
   Compiling rand v0.8.4
   Compiling regex v1.5.4
   Compiling idna v0.2.3
   Compiling crossbeam-deque v0.8.1
   Compiling url v2.2.2
   Compiling globset v0.4.8
   Compiling cexpr v0.4.0
   Compiling winapi-util v0.1.5
   Compiling atty v0.2.14
   Compiling libloading v0.7.0
   Compiling remove_dir_all v0.5.3
   Compiling clap v2.33.3
   Compiling same-file v1.0.6
   Compiling termcolor v1.1.2
   Compiling tempfile v3.2.0
   Compiling walkdir v2.3.2
   Compiling env_logger v0.8.4
   Compiling ignore v0.4.18
   Compiling rustc-std-workspace-core v1.99.0 (C:\Users\stefa\.rustup\toolchains\esp\lib\rustlib\src\rust\library\rustc-std-workspace-core)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling remove_dir_all v0.7.0
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling webpki v0.21.4
   Compiling sct v0.6.1
   Compiling globwalk v0.8.1
   Compiling rustls v0.19.1
   Compiling webpki-roots v0.21.1
   Compiling alloc v0.0.0 (C:\Users\stefa\.rustup\toolchains\esp\lib\rustlib\src\rust\library\alloc)
   Compiling cfg-if v0.1.10
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling rustc-demangle v0.1.20
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling darling_core v0.13.0
   Compiling rustc-std-workspace-alloc v1.99.0 (C:\Users\stefa\.rustup\toolchains\esp\lib\rustlib\src\rust\library\rustc-std-workspace-alloc)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling panic_abort v0.0.0 (C:\Users\stefa\.rustup\toolchains\esp\lib\rustlib\src\rust\library\panic_abort)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling panic_unwind v0.0.0 (C:\Users\stefa\.rustup\toolchains\esp\lib\rustlib\src\rust\library\panic_unwind)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling hashbrown v0.11.2
   Compiling std_detect v0.1.5 (C:\Users\stefa\.rustup\toolchains\esp\lib\rustlib\src\rust\library\stdarch\crates\std_detect)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling ureq v2.2.0
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling thiserror-impl v1.0.28
   Compiling derivative v2.2.0
   Compiling strum_macros v0.21.1
   Compiling darling_macro v0.13.0
   Compiling darling v0.13.0
   Compiling enumset_derive v0.5.5
   Compiling thiserror v1.0.28
   Compiling proc_macro v0.0.0 (C:\Users\stefa\.rustup\toolchains\esp\lib\rustlib\src\rust\library\proc_macro)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling nb v1.0.0
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling cache-padded v1.1.1
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling waker-fn v1.1.0
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling futures-io v0.3.17
   Compiling pin-project-lite v0.2.7
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling byteorder v1.4.3
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling fastrand v1.5.0
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling void v1.0.2
   Compiling parking v2.0.0
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling event-listener v2.5.1
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling async-task v4.0.3
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling base64 v0.12.3
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling display-interface v0.4.1
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling strum v0.21.0
   Compiling atomic-waker v1.0.0
   Compiling no-std-net v0.5.0
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling slab v0.4.4
   Compiling mutex-trait v0.2.0
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling stable_deref_trait v1.2.0
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling byte-slice-cast v0.3.5
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling cty v0.2.1
   Compiling micromath v1.1.1
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling nb v0.1.3
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling concurrent-queue v1.2.2
   Compiling socket2 v0.4.2 (https://github.com/ivmarkov/socket2#7217ebe8)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling hash32 v0.2.1
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling futures-lite v1.12.0
   Compiling async-lock v2.4.0
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling http-auth-basic v0.1.3
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling cstr_core v0.2.4
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling embedded-hal v0.2.6
   Compiling polling v2.1.0 (https://github.com/ivmarkov/polling#260dded7)
   Compiling async-channel v1.6.1
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling float-cmp v0.8.0
   Compiling embedded-graphics-core v0.3.2
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling display-interface-i2c v0.4.0
   Compiling display-interface-spi v0.4.1
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling blocking v1.0.2
   Compiling async-io v1.6.0
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling async-executor v1.4.1
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling async-fs v1.5.0
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling ili9341 v0.5.0 (https://github.com/yuri91/ili9341-rs#c3d0d08a)
   Compiling st7789 v0.6.1
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling ssd1306 v0.7.0
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling embedded-graphics v0.7.1
   Compiling async-net v1.6.1
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling smol v1.2.5 (https://github.com/ivmarkov/smol#b9a770e7)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling enumset v1.0.7
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling toml v0.5.8
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling cargo_toml v0.9.3
   Compiling proc-macro-crate v1.0.0
   Compiling num_enum_derive v0.5.4
   Compiling embuild v0.24.3
   Compiling num_enum v0.5.4
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling embedded-svc v0.8.7
'+memctl' is not a recognized feature for this target (ignoring feature)
'+memctl' is not a recognized feature for this target (ignoring feature)
   Compiling esp-idf-sys v0.20.2
   Compiling esp-idf-svc v0.20.1
   Compiling esp-idf-hal v0.20.0
   Compiling rust-esp32-std-hello v0.18.2 (C:\projekte\rust-esp32-std-hello)
error: failed to run custom build command for `esp-idf-sys v0.20.2`

Caused by:
  process didn't exit successfully: `C:\projekte\rust-esp32-std-hello\target\release\build\esp-idf-sys-4cabadd4813fbcaa\build-script-build` (exit code: 1)
  --- stdout
  Found compatible PlatformIO Core 5.2.0 -> C:\Users\stefa\.platformio\penv\Scripts\platformio.exe
  cargo:rerun-if-changed=.\patches\master_missing_xtensa_atomics_fix.diff
  cargo:rerun-if-changed=.\patches\missing_xtensa_atomics_fix.diff
  cargo:rerun-if-changed=.\patches\ping_setsockopt_fix.diff
  cargo:rerun-if-changed=.\patches\pthread_destructor_fix.diff
  cargo:rerun-if-changed=C:\projekte\rust-esp32-std-hello\.\sdkconfig.defaults
  Warning! Ignore unknown configuration option `patches` in section [env]
  Processing release (board: esp32cam; platform: espressif32; framework: espidf)
  --------------------------------------------------------------------------------
  Verbose mode can be enabled via `-v, --verbose` option
  CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32cam.html
  PLATFORM: Espressif 32 (3.2.0) > AI Thinker ESP32-CAM
  HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
  DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
  PACKAGES:
   - framework-espidf 3.40200.210118 (4.2.0)
   - tool-cmake 3.16.4
   - tool-esptoolpy 1.30000.201119 (3.0.0)
   - tool-idf 1.0.1
   - tool-mconf 1.4060000.20190628 (406.0.0)
   - tool-ninja 1.9.0
   - toolchain-esp32ulp 1.22851.191205 (2.28.51)
   - toolchain-xtensa32 2.80400.210211 (8.4.0)
  Reading CMake configuration...
  Generating assembly for certificate bundle...
  LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
  LDF Modes: Finder ~ chain, Compatibility ~ soft
  Found 1 compatible libraries
  Scanning dependencies...
  No dependencies
  Building in release mode
  Compiling .pio\build\release\src\main.o
  Generating LD script .pio\build\release\esp32_out.ld
  Generating partitions .pio\build\release\partitions.bin
  Compiling .pio\build\release\app_trace\app_trace.o
  Compiling .pio\build\release\app_trace\app_trace_util.o
  Compiling .pio\build\release\app_trace\host_file_io.o
  Compiling .pio\build\release\app_trace\gcov\gcov_rtio.o
  Compiling .pio\build\release\app_update\esp_ota_ops.o
  Compiling .pio\build\release\app_update\esp_app_desc.o
  Compiling .pio\build\release\asio\asio\asio\src\asio.o
  Compiling .pio\build\release\bootloader_support\src\bootloader_clock.o
  Compiling .pio\build\release\bootloader_support\src\bootloader_common.o
  Compiling .pio\build\release\bootloader_support\src\bootloader_flash.o
  Compiling .pio\build\release\bootloader_support\src\bootloader_mem.o
  Compiling .pio\build\release\bootloader_support\src\bootloader_random.o
  Compiling .pio\build\release\bootloader_support\src\bootloader_random_esp32.o
  Archiving .pio\build\release\esp-idf\app_update\libapp_update.a
  Archiving .pio\build\release\esp-idf\app_trace\libapp_trace.a
  Compiling .pio\build\release\bootloader_support\src\bootloader_utility.o
  Compiling .pio\build\release\bootloader_support\src\esp_image_format.o
  Compiling .pio\build\release\bootloader_support\src\flash_encrypt.o
  Compiling .pio\build\release\bootloader_support\src\flash_partitions.o
  Compiling .pio\build\release\bootloader_support\src\flash_qio_mode.o
  Compiling .pio\build\release\bootloader_support\src\bootloader_flash_config_esp32.o
  Compiling .pio\build\release\bootloader_support\src\bootloader_efuse_esp32.o
  Compiling .pio\build\release\bootloader_support\src\idf\bootloader_sha.o
  Compiling .pio\build\release\cbor\tinycbor\src\cborencoder_close_container_checked.o
  Compiling .pio\build\release\cbor\tinycbor\src\cborencoder.o
  Compiling .pio\build\release\cbor\tinycbor\src\cborerrorstrings.o
  Compiling .pio\build\release\cbor\tinycbor\src\cborparser_dup_string.o
  Compiling .pio\build\release\cbor\tinycbor\src\cborparser.o
  Compiling .pio\build\release\cbor\tinycbor\src\cborpretty_stdio.o
  Compiling .pio\build\release\cbor\tinycbor\src\cborpretty.o
  Compiling .pio\build\release\cbor\tinycbor\src\cbortojson.o
  Compiling .pio\build\release\cbor\tinycbor\src\cborvalidation.o
  Compiling .pio\build\release\cbor\tinycbor\src\open_memstream.o
  Compiling .pio\build\release\coap\libcoap\src\address.o
  Archiving .pio\build\release\esp-idf\bootloader_support\libbootloader_support.a
  Compiling .pio\build\release\coap\libcoap\src\async.o
  Compiling .pio\build\release\coap\libcoap\src\block.o
  Compiling .pio\build\release\coap\libcoap\src\coap_event.o
  Compiling .pio\build\release\coap\libcoap\src\coap_hashkey.o
  Compiling .pio\build\release\coap\libcoap\src\coap_session.o
  Compiling .pio\build\release\coap\libcoap\src\coap_time.o
  Compiling .pio\build\release\coap\port\coap_debug.o
  Compiling .pio\build\release\coap\libcoap\src\encode.o
  Compiling .pio\build\release\coap\libcoap\src\mem.o
  Compiling .pio\build\release\coap\libcoap\src\net.o
  Compiling .pio\build\release\coap\libcoap\src\option.o
  Compiling .pio\build\release\coap\libcoap\src\pdu.o
  Compiling .pio\build\release\coap\libcoap\src\resource.o
  Archiving .pio\build\release\esp-idf\cbor\libcbor.a
  Compiling .pio\build\release\coap\libcoap\src\str.o
  Compiling .pio\build\release\coap\libcoap\src\subscribe.o
  Compiling .pio\build\release\coap\libcoap\src\uri.o
  Compiling .pio\build\release\coap\libcoap\src\coap_io.o
  Compiling .pio\build\release\coap\port\coap_notls.o
  Compiling .pio\build\release\coap\port\coap_mbedtls.o
  Compiling .pio\build\release\console\commands.o
  Compiling .pio\build\release\console\esp_console_repl.o
  Compiling .pio\build\release\console\split_argv.o
  Compiling .pio\build\release\console\argtable3\argtable3.o
  Compiling .pio\build\release\console\linenoise\linenoise.o
  Compiling .pio\build\release\cxx\cxx_exception_stubs.o
  Compiling .pio\build\release\cxx\cxx_guards.o
  Compiling .pio\build\release\driver\adc_common.o
  Compiling .pio\build\release\driver\dac_common.o
  Compiling .pio\build\release\driver\gpio.o
  Compiling .pio\build\release\driver\i2c.o
  Compiling .pio\build\release\driver\i2s.o
  Compiling .pio\build\release\driver\ledc.o
  Compiling .pio\build\release\driver\pcnt.o
  Compiling .pio\build\release\driver\periph_ctrl.o
  Compiling .pio\build\release\driver\rmt.o
  Compiling .pio\build\release\driver\rtc_io.o
  Compiling .pio\build\release\driver\rtc_module.o
  Archiving .pio\build\release\esp-idf\coap\libcoap.a
  Compiling .pio\build\release\driver\sdspi_crc.o
  Compiling .pio\build\release\driver\sdspi_host.o
  Archiving .pio\build\release\esp-idf\cxx\libcxx.a
  Compiling .pio\build\release\driver\sdspi_transaction.o
  Compiling .pio\build\release\driver\sigmadelta.o
  Compiling .pio\build\release\driver\spi_common.o
  Compiling .pio\build\release\driver\spi_master.o
  Compiling .pio\build\release\driver\spi_slave.o
  Archiving .pio\build\release\esp-idf\console\libconsole.a
  Compiling .pio\build\release\driver\spi_bus_lock.o
  Compiling .pio\build\release\driver\timer.o
  Compiling .pio\build\release\driver\touch_sensor_common.o
  Compiling .pio\build\release\driver\twai.o
  Compiling .pio\build\release\driver\uart.o
  Compiling .pio\build\release\driver\mcpwm.o
  Compiling .pio\build\release\driver\sdio_slave.o
  Compiling .pio\build\release\driver\sdmmc_host.o
  Compiling .pio\build\release\driver\sdmmc_transaction.o
  Compiling .pio\build\release\driver\esp32\touch_sensor.o
  Compiling .pio\build\release\driver\esp32\adc.o
  Compiling .pio\build\release\driver\esp32\dac.o
  Compiling .pio\build\release\efuse\esp32\esp_efuse_table.o
  Compiling .pio\build\release\efuse\src\esp32\esp_efuse_api.o
  Compiling .pio\build\release\efuse\src\esp32\esp_efuse_fields.o
  Compiling .pio\build\release\efuse\src\esp32\esp_efuse_utility.o
  Compiling .pio\build\release\efuse\src\esp_efuse_api.o
  Compiling .pio\build\release\efuse\src\esp_efuse_fields.o
  Compiling .pio\build\release\efuse\src\esp_efuse_utility.o
  Compiling .pio\build\release\esp-tls\esp_tls.o
  Compiling .pio\build\release\esp-tls\esp_tls_mbedtls.o
  Compiling .pio\build\release\esp32\cache_err_int.o
  Compiling .pio\build\release\esp32\cache_sram_mmu.o
  Compiling .pio\build\release\esp32\clk.o
  Compiling .pio\build\release\esp32\cpu_start.o
  Compiling .pio\build\release\esp32\crosscore_int.o
  Compiling .pio\build\release\esp32\dport_access.o
  Compiling .pio\build\release\esp32\esp_himem.o
  Compiling .pio\build\release\esp32\hw_random.o
  Compiling .pio\build\release\esp32\intr_alloc.o
  Compiling .pio\build\release\esp32\pm_esp32.o
  Archiving .pio\build\release\esp-idf\driver\libdriver.a
  Archiving .pio\build\release\esp-idf\efuse\libefuse.a
  Compiling .pio\build\release\esp32\pm_trace.o
  Compiling .pio\build\release\esp32\sleep_modes.o
  Compiling .pio\build\release\esp32\spiram.o
  Compiling .pio\build\release\esp32\spiram_psram.o
  Compiling .pio\build\release\esp32\system_api_esp32.o
  Archiving .pio\build\release\esp-idf\esp-tls\libesp-tls.a
  Compiling .pio\build\release\esp_adc_cal\esp_adc_cal_esp32.o
  Compiling .pio\build\release\esp_common\src\brownout.o
  Compiling .pio\build\release\esp_common\src\esp_err.o
  Compiling .pio\build\release\esp_common\src\dbg_stubs.o
  Compiling .pio\build\release\esp_common\src\esp_err_to_name.o
  Compiling .pio\build\release\esp_common\src\freertos_hooks.o
  Compiling .pio\build\release\esp_common\src\mac_addr.o
  Compiling .pio\build\release\esp_common\src\pm_locks.o
  Archiving .pio\build\release\esp-idf\esp_adc_cal\libesp_adc_cal.a
  Compiling .pio\build\release\esp_common\src\stack_check.o
  Compiling .pio\build\release\esp_common\src\task_wdt.o
  Compiling .pio\build\release\esp_common\src\int_wdt.o
  Compiling .pio\build\release\esp_eth\src\esp_eth.o
  Compiling .pio\build\release\esp_eth\src\esp_eth_phy.o
  Archiving .pio\build\release\esp-idf\esp32\libesp32.a
  Compiling .pio\build\release\esp_eth\src\esp_eth_netif_glue.o
  Compiling .pio\build\release\esp_eth\src\esp_eth_mac_esp32.o
  Compiling .pio\build\release\esp_eth\src\esp_eth_phy_dp83848.o
  Compiling .pio\build\release\esp_eth\src\esp_eth_phy_ip101.o
  Compiling .pio\build\release\esp_eth\src\esp_eth_phy_lan8720.o
  Compiling .pio\build\release\esp_eth\src\esp_eth_phy_rtl8201.o
  Compiling .pio\build\release\esp_event\default_event_loop.o
  Compiling .pio\build\release\esp_event\esp_event.o
  Archiving .pio\build\release\esp-idf\asio\libasio.a
  Compiling .pio\build\release\esp_event\esp_event_private.o
  Compiling .pio\build\release\esp_event\event_loop_legacy.o
  Compiling .pio\build\release\esp_event\event_send.o
  Archiving .pio\build\release\esp-idf\esp_common\libesp_common.a
  Compiling .pio\build\release\esp_gdbstub\src\gdbstub.o
  Compiling .pio\build\release\esp_gdbstub\src\packet.o
  Compiling .pio\build\release\esp_gdbstub\esp32\gdbstub_esp32.o
  Compiling .pio\build\release\esp_gdbstub\xtensa\gdbstub_xtensa.o
  Compiling .pio\build\release\esp_hid\src\esp_hidd.o
  Archiving .pio\build\release\esp-idf\esp_eth\libesp_eth.a
  Compiling .pio\build\release\esp_hid\src\esp_hidh.o
  Compiling .pio\build\release\esp_hid\src\esp_hid_common.o
  Compiling .pio\build\release\esp_http_client\esp_http_client.o
  Compiling .pio\build\release\esp_http_client\lib\http_auth.o
  Compiling .pio\build\release\esp_http_client\lib\http_header.o
  Compiling .pio\build\release\esp_http_client\lib\http_utils.o
  Archiving .pio\build\release\esp-idf\esp_event\libesp_event.a
  Archiving .pio\build\release\esp-idf\esp_gdbstub\libesp_gdbstub.a
  Compiling .pio\build\release\esp_http_server\src\httpd_main.o
  Compiling .pio\build\release\esp_http_server\src\httpd_parse.o
  Compiling .pio\build\release\esp_http_server\src\httpd_sess.o
  Compiling .pio\build\release\esp_http_server\src\httpd_txrx.o
  Compiling .pio\build\release\esp_http_server\src\httpd_uri.o
  Compiling .pio\build\release\esp_http_server\src\httpd_ws.o
  Compiling .pio\build\release\esp_http_server\src\util\ctrl_sock.o
  Archiving .pio\build\release\esp-idf\esp_hid\libesp_hid.a
  Compiling .pio\build\release\esp_https_ota\src\esp_https_ota.o
  Compiling .pio\build\release\esp_ipc\ipc.o
  Compiling .pio\build\release\esp_local_ctrl\src\esp_local_ctrl.o
  Compiling .pio\build\release\esp_local_ctrl\src\esp_local_ctrl_handler.o
  Compiling .pio\build\release\esp_local_ctrl\proto-c\esp_local_ctrl.pb-c.o
  Compiling .pio\build\release\esp_netif\esp_netif_handlers.o
  Compiling .pio\build\release\esp_netif\esp_netif_objects.o
  Compiling .pio\build\release\esp_netif\esp_netif_defaults.o
  Archiving .pio\build\release\esp-idf\esp_http_server\libesp_http_server.a
  Archiving .pio\build\release\esp-idf\esp_http_client\libesp_http_client.a
  Compiling .pio\build\release\esp_netif\lwip\esp_netif_lwip.o
  Compiling .pio\build\release\esp_netif\lwip\esp_netif_lwip_ppp.o
  Compiling .pio\build\release\esp_netif\loopback\esp_netif_loopback.o
  Compiling .pio\build\release\esp_netif\lwip\esp_netif_lwip_defaults.o
  Compiling .pio\build\release\esp_netif\lwip\esp_netif_sta_list.o
  Compiling .pio\build\release\esp_ringbuf\ringbuf.o
  Archiving .pio\build\release\esp-idf\esp_local_ctrl\libesp_local_ctrl.a
  Archiving .pio\build\release\esp-idf\esp_https_ota\libesp_https_ota.a
  Archiving .pio\build\release\esp-idf\esp_ipc\libesp_ipc.a
  Compiling .pio\build\release\esp_serial_slave_link\essl.o
  Compiling .pio\build\release\esp_serial_slave_link\essl_sdio.o
  Compiling .pio\build\release\esp_system\panic.o
  Compiling .pio\build\release\esp_system\system_api.o
  Compiling .pio\build\release\esp_system\port\panic_handler.o
  Compiling .pio\build\release\esp_system\port\panic_handler_asm.o
  Compiling .pio\build\release\esp_system\port\esp32\dport_panic_highint_hdl.o
  Compiling .pio\build\release\esp_system\port\esp32\reset_reason.o
  Compiling .pio\build\release\esp_timer\src\esp_timer.o
  Compiling .pio\build\release\esp_timer\src\ets_timer_legacy.o
  Compiling .pio\build\release\esp_timer\src\esp_timer_impl_lac.o
  Compiling .pio\build\release\esp_websocket_client\esp_websocket_client.o
  Compiling .pio\build\release\esp_wifi\src\coexist.o
  Compiling .pio\build\release\esp_wifi\src\lib_printf.o
  Archiving .pio\build\release\esp-idf\esp_system\libesp_system.a
  Archiving .pio\build\release\esp-idf\esp_serial_slave_link\libesp_serial_slave_link.a
  Archiving .pio\build\release\esp-idf\esp_netif\libesp_netif.a
  Archiving .pio\build\release\esp-idf\esp_ringbuf\libesp_ringbuf.a
  Compiling .pio\build\release\esp_wifi\src\mesh_event.o
  Compiling .pio\build\release\esp_wifi\src\phy_init.o
  Compiling .pio\build\release\esp_wifi\src\smartconfig.o
  Compiling .pio\build\release\esp_wifi\src\smartconfig_ack.o
  Compiling .pio\build\release\esp_wifi\src\wifi_init.o
  Compiling .pio\build\release\esp_wifi\src\wifi_default.o
  Compiling .pio\build\release\esp_wifi\src\wifi_netif.o
  Archiving .pio\build\release\esp-idf\esp_timer\libesp_timer.a
  Compiling .pio\build\release\esp_wifi\esp32\esp_adapter.o
  Compiling .pio\build\release\espcoredump\src\core_dump_common.o
  Compiling .pio\build\release\espcoredump\src\core_dump_flash.o
  Compiling .pio\build\release\espcoredump\src\core_dump_port.o
  Compiling .pio\build\release\espcoredump\src\core_dump_uart.o
  Compiling .pio\build\release\espcoredump\src\core_dump_elf.o
  Compiling .pio\build\release\expat\expat\expat\lib\xmlparse.o
  Compiling .pio\build\release\expat\expat\expat\lib\xmlrole.o
  Compiling .pio\build\release\expat\expat\expat\lib\xmltok.o
  Archiving .pio\build\release\esp-idf\esp_websocket_client\libesp_websocket_client.a
  Compiling .pio\build\release\expat\expat\expat\lib\xmltok_impl.o
  Compiling .pio\build\release\expat\expat\expat\lib\xmltok_ns.o
  Compiling .pio\build\release\fatfs\diskio\diskio.o
  Archiving .pio\build\release\esp-idf\espcoredump\libespcoredump.a
  Archiving .pio\build\release\esp-idf\esp_wifi\libesp_wifi.a
  Compiling .pio\build\release\fatfs\diskio\diskio_rawflash.o
  Compiling .pio\build\release\fatfs\diskio\diskio_sdmmc.o
  Compiling .pio\build\release\fatfs\diskio\diskio_wl.o
  Compiling .pio\build\release\fatfs\src\ff.o
  Compiling .pio\build\release\fatfs\port\freertos\ffsystem.o
  Compiling .pio\build\release\fatfs\src\ffunicode.o
  Compiling .pio\build\release\fatfs\vfs\vfs_fat.o
  Compiling .pio\build\release\fatfs\vfs\vfs_fat_sdmmc.o
  Compiling .pio\build\release\fatfs\vfs\vfs_fat_spiflash.o
  Compiling .pio\build\release\freemodbus\common\esp_modbus_master.o
  Compiling .pio\build\release\freemodbus\common\esp_modbus_slave.o
  Compiling .pio\build\release\freemodbus\modbus\mb.o
  Compiling .pio\build\release\freemodbus\modbus\mb_m.o
  Compiling .pio\build\release\freemodbus\modbus\ascii\mbascii.o
  Compiling .pio\build\release\freemodbus\modbus\ascii\mbascii_m.o
  Compiling .pio\build\release\freemodbus\modbus\rtu\mbrtu_m.o
  Compiling .pio\build\release\freemodbus\modbus\rtu\mbrtu.o
  Compiling .pio\build\release\freemodbus\modbus\rtu\mbcrc.o
  Compiling .pio\build\release\freemodbus\modbus\tcp\mbtcp.o
  Compiling .pio\build\release\freemodbus\port\port.o
  Compiling .pio\build\release\freemodbus\port\portevent.o
  Compiling .pio\build\release\freemodbus\port\portevent_m.o
  Compiling .pio\build\release\freemodbus\port\portother.o
  Compiling .pio\build\release\freemodbus\port\portother_m.o
  Compiling .pio\build\release\freemodbus\port\portserial.o
  Archiving .pio\build\release\esp-idf\fatfs\libfatfs.a
  Compiling .pio\build\release\freemodbus\port\portserial_m.o
  Compiling .pio\build\release\freemodbus\port\porttimer.o
  Compiling .pio\build\release\freemodbus\port\porttimer_m.o
  Compiling .pio\build\release\freemodbus\modbus\functions\mbfunccoils.o
  Compiling .pio\build\release\freemodbus\modbus\functions\mbfunccoils_m.o
  Compiling .pio\build\release\freemodbus\modbus\functions\mbfuncdiag.o
  Compiling .pio\build\release\freemodbus\modbus\functions\mbfuncdisc.o
  Compiling .pio\build\release\freemodbus\modbus\functions\mbfuncdisc_m.o
  Compiling .pio\build\release\freemodbus\modbus\functions\mbfuncholding.o
  Compiling .pio\build\release\freemodbus\modbus\functions\mbfuncholding_m.o
  Compiling .pio\build\release\freemodbus\modbus\functions\mbfuncinput.o
  Compiling .pio\build\release\freemodbus\modbus\functions\mbfuncinput_m.o
  Compiling .pio\build\release\freemodbus\modbus\functions\mbfuncother.o
  Archiving .pio\build\release\esp-idf\expat\libexpat.a
  Compiling .pio\build\release\freemodbus\modbus\functions\mbutils.o
  Compiling .pio\build\release\freemodbus\serial_slave\modbus_controller\mbc_serial_slave.o
  Compiling .pio\build\release\freemodbus\serial_master\modbus_controller\mbc_serial_master.o
  Compiling .pio\build\release\freertos\xtensa\port.o
  Compiling .pio\build\release\freertos\xtensa\portasm.o
  Compiling .pio\build\release\freertos\xtensa\xtensa_context.o
  Compiling .pio\build\release\freertos\xtensa\xtensa_init.o
  Compiling .pio\build\release\freertos\xtensa\xtensa_intr_asm.o
  Compiling .pio\build\release\freertos\xtensa\xtensa_intr.o
  Compiling .pio\build\release\freertos\xtensa\xtensa_overlay_os_hook.o
  Compiling .pio\build\release\freertos\xtensa\xtensa_vector_defaults.o
  Compiling .pio\build\release\freertos\xtensa\xtensa_vectors.o
  Compiling .pio\build\release\freertos\croutine.o
  Compiling .pio\build\release\freertos\event_groups.o
  Compiling .pio\build\release\freertos\FreeRTOS-openocd.o
  Compiling .pio\build\release\freertos\list.o
  Compiling .pio\build\release\freertos\queue.o
  Compiling .pio\build\release\freertos\tasks.o
  Compiling .pio\build\release\freertos\timers.o
  Compiling .pio\build\release\heap\heap_caps.o
  Compiling .pio\build\release\heap\heap_caps_init.o
  Compiling .pio\build\release\heap\multi_heap.o
  Compiling .pio\build\release\jsmn\src\jsmn.o
  Compiling .pio\build\release\json\cJSON\cJSON.o
  Archiving .pio\build\release\esp-idf\freemodbus\libfreemodbus.a
  Compiling .pio\build\release\json\cJSON\cJSON_Utils.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_aead\chacha20poly1305\sodium\aead_chacha20poly1305.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_aead\xchacha20poly1305\sodium\aead_xchacha20poly1305.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_auth\crypto_auth.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_auth\hmacsha256\auth_hmacsha256.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_auth\hmacsha512\auth_hmacsha512.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_auth\hmacsha512256\auth_hmacsha512256.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_box\crypto_box.o
  Archiving .pio\build\release\esp-idf\jsmn\libjsmn.a
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_box\crypto_box_easy.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_box\crypto_box_seal.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_box\curve25519xchacha20poly1305\box_curve25519xchacha20poly1305.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_box\curve25519xsalsa20poly1305\box_curve25519xsalsa20poly1305.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_core\curve25519\ref10\curve25519_ref10.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_core\hchacha20\core_hchacha20.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_core\hsalsa20\core_hsalsa20.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_core\hsalsa20\ref2\core_hsalsa20_ref2.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_core\salsa\ref\core_salsa_ref.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_generichash\crypto_generichash.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_generichash\blake2b\generichash_blake2.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_generichash\blake2b\ref\blake2b-compress-avx2.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_generichash\blake2b\ref\blake2b-compress-ref.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_generichash\blake2b\ref\blake2b-compress-sse41.o
  Archiving .pio\build\release\esp-idf\heap\libheap.a
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_generichash\blake2b\ref\blake2b-compress-ssse3.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_generichash\blake2b\ref\blake2b-ref.o
  Archiving .pio\build\release\esp-idf\freertos\libfreertos.a
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_generichash\blake2b\ref\generichash_blake2b.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_hash\crypto_hash.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_hash\sha256\hash_sha256.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_hash\sha256\cp\hash_sha256_cp.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_hash\sha512\hash_sha512.o
  Archiving .pio\build\release\esp-idf\json\libjson.a
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_hash\sha512\cp\hash_sha512_cp.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_kdf\crypto_kdf.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_kdf\blake2b\kdf_blake2b.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_kx\crypto_kx.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_onetimeauth\crypto_onetimeauth.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_onetimeauth\poly1305\donna\poly1305_donna.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_onetimeauth\poly1305\sse2\poly1305_sse2.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_pwhash\crypto_pwhash.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_pwhash\argon2\argon2-core.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_pwhash\argon2\argon2-encoding.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_pwhash\argon2\argon2-fill-block-ref.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_pwhash\argon2\argon2-fill-block-ssse3.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_pwhash\argon2\argon2.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_pwhash\argon2\blake2b-long.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_pwhash\argon2\pwhash_argon2i.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt-common.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pwhash_scryptsalsa208sha256.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_pwhash\scryptsalsa208sha256\scrypt_platform.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_pwhash\scryptsalsa208sha256\nosse\pwhash_scryptsalsa208sha256_nosse.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_pwhash\scryptsalsa208sha256\sse\pwhash_scryptsalsa208sha256_sse.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_scalarmult\crypto_scalarmult.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_scalarmult\curve25519\donna_c64\curve25519_donna_c64.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_scalarmult\curve25519\ref10\x25519_ref10.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_scalarmult\curve25519\sandy2x\consts.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_scalarmult\curve25519\sandy2x\curve25519_sandy2x.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe51_invert.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe51_mul.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe51_nsquare.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe51_pack.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe_frombytes_sandy2x.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_scalarmult\curve25519\sandy2x\ladder.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_scalarmult\curve25519\sandy2x\ladder_base.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_scalarmult\curve25519\sandy2x\sandy2x.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_secretbox\crypto_secretbox.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_secretbox\crypto_secretbox_easy.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_secretbox\xchacha20poly1305\secretbox_xchacha20poly1305.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_secretbox\xsalsa20poly1305\secretbox_xsalsa20poly1305.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_shorthash\crypto_shorthash.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_shorthash\siphash24\shorthash_siphash24.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_shorthash\siphash24\shorthash_siphashx24.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphash24_ref.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphashx24_ref.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_sign\crypto_sign.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_sign\ed25519\sign_ed25519.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_sign\ed25519\ref10\keypair.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_sign\ed25519\ref10\obsolete.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_sign\ed25519\ref10\open.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_sign\ed25519\ref10\sign.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\crypto_stream.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\aes128ctr\stream_aes128ctr.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\aes128ctr\nacl\afternm_aes128ctr.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\aes128ctr\nacl\beforenm_aes128ctr.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\aes128ctr\nacl\consts_aes128ctr.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\aes128ctr\nacl\int128_aes128ctr.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\aes128ctr\nacl\stream_aes128ctr_nacl.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\aes128ctr\nacl\xor_afternm_aes128ctr.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\chacha20\stream_chacha20.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\chacha20\dolbeau\chacha20_dolbeau-avx2.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\chacha20\dolbeau\chacha20_dolbeau-ssse3.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\chacha20\ref\chacha20_ref.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\salsa20\stream_salsa20.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\salsa20\ref\salsa20_ref.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\salsa20\xmm6\salsa20_xmm6-asm.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\salsa20\xmm6\salsa20_xmm6.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\salsa20\xmm6int\salsa20_xmm6int-avx2.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\salsa20\xmm6int\salsa20_xmm6int-sse2.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\salsa2012\stream_salsa2012.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\salsa2012\ref\stream_salsa2012_ref.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\salsa208\stream_salsa208.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\salsa208\ref\stream_salsa208_ref.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\xchacha20\stream_xchacha20.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_stream\xsalsa20\stream_xsalsa20.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\crypto_verify\sodium\verify.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\randombytes\randombytes.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\randombytes\nativeclient\randombytes_nativeclient.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\randombytes\salsa20\randombytes_salsa20_random.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\randombytes\sysrandom\randombytes_sysrandom.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\sodium\core.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\sodium\runtime.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\sodium\utils.o
  Compiling .pio\build\release\libsodium\libsodium\src\libsodium\sodium\version.o
  Compiling .pio\build\release\libsodium\port\randombytes_esp32.o
  Compiling .pio\build\release\log\log.o
  Compiling .pio\build\release\log\log_buffers.o
  Compiling .pio\build\release\log\log_freertos.o
  Compiling .pio\build\release\lwip\apps\dhcpserver\dhcpserver.o
  Compiling .pio\build\release\lwip\apps\ping\esp_ping.o
  Compiling .pio\build\release\lwip\apps\ping\ping.o
  Compiling .pio\build\release\lwip\apps\ping\ping_sock.o
  Compiling .pio\build\release\lwip\apps\sntp\sntp.o
  Compiling .pio\build\release\lwip\lwip\src\api\api_lib.o
  Compiling .pio\build\release\lwip\lwip\src\api\api_msg.o
  Compiling .pio\build\release\lwip\lwip\src\api\err.o
  Compiling .pio\build\release\lwip\lwip\src\api\if_api.o
  Compiling .pio\build\release\lwip\lwip\src\api\netbuf.o
  Compiling .pio\build\release\lwip\lwip\src\api\netdb.o
  Archiving .pio\build\release\esp-idf\log\liblog.a
  Compiling .pio\build\release\lwip\lwip\src\api\netifapi.o
  Compiling .pio\build\release\lwip\lwip\src\api\sockets.o
  Compiling .pio\build\release\lwip\lwip\src\api\tcpip.o
  Compiling .pio\build\release\lwip\lwip\src\apps\sntp\sntp.o
  Archiving .pio\build\release\esp-idf\libsodium\liblibsodium.a
  Compiling .pio\build\release\lwip\lwip\src\apps\netbiosns\netbiosns.o
  Compiling .pio\build\release\lwip\lwip\src\core\def.o
  Compiling .pio\build\release\lwip\lwip\src\core\dns.o
  Compiling .pio\build\release\lwip\lwip\src\core\inet_chksum.o
  Compiling .pio\build\release\lwip\lwip\src\core\init.o
  Compiling .pio\build\release\lwip\lwip\src\core\ip.o
  Compiling .pio\build\release\lwip\lwip\src\core\mem.o
  Compiling .pio\build\release\lwip\lwip\src\core\memp.o
  Compiling .pio\build\release\lwip\lwip\src\core\netif.o
  Compiling .pio\build\release\lwip\lwip\src\core\pbuf.o
  Compiling .pio\build\release\lwip\lwip\src\core\raw.o
  Compiling .pio\build\release\lwip\lwip\src\core\stats.o
  Compiling .pio\build\release\lwip\lwip\src\core\sys.o
  Compiling .pio\build\release\lwip\lwip\src\core\tcp.o
  Compiling .pio\build\release\lwip\lwip\src\core\tcp_in.o
  Compiling .pio\build\release\lwip\lwip\src\core\tcp_out.o
  Compiling .pio\build\release\lwip\lwip\src\core\timeouts.o
  Compiling .pio\build\release\lwip\lwip\src\core\udp.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv4\autoip.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv4\dhcp.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv4\etharp.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv4\icmp.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv4\igmp.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv4\ip4.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv4\ip4_napt.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv4\ip4_addr.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv4\ip4_frag.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv6\dhcp6.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv6\ethip6.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv6\icmp6.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv6\inet6.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv6\ip6.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv6\ip6_addr.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv6\ip6_frag.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv6\mld6.o
  Compiling .pio\build\release\lwip\lwip\src\core\ipv6\nd6.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ethernet.o
  Compiling .pio\build\release\lwip\lwip\src\netif\lowpan6.o
  Compiling .pio\build\release\lwip\lwip\src\netif\slipif.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\auth.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\ccp.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\chap-md5.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\chap-new.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\chap_ms.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\demand.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\eap.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\ecp.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\eui64.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\fsm.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\ipcp.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\ipv6cp.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\lcp.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\magic.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\mppe.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\multilink.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\ppp.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\pppapi.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\pppcrypt.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\pppoe.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\pppol2tp.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\pppos.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\upap.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\utils.o
  Compiling .pio\build\release\lwip\lwip\src\netif\ppp\vj.o
  Compiling .pio\build\release\lwip\port\esp32\debug\lwip_debug.o
  Compiling .pio\build\release\lwip\port\esp32\freertos\sys_arch.o
  Compiling .pio\build\release\lwip\port\esp32\netif\dhcp_state.o
  Compiling .pio\build\release\lwip\port\esp32\netif\wlanif.o
  Compiling .pio\build\release\lwip\port\esp32\netif\ethernetif.o
  Compiling .pio\build\release\lwip\port\esp32\vfs_lwip.o
  Compiling .pio\build\release\mbedtls\esp_crt_bundle\esp_crt_bundle.o
  Compiling .pio\build\release\.pio\build\release\x509_crt_bundle.o
  Compiling .pio\build\release\mdns\mdns.o
  Compiling .pio\build\release\mdns\mdns_console.o
  Compiling .pio\build\release\mdns\mdns_networking.o
  Compiling .pio\build\release\mqtt\esp-mqtt\mqtt_client.o
  Compiling .pio\build\release\mqtt\esp-mqtt\lib\mqtt_msg.o
  Compiling .pio\build\release\mqtt\esp-mqtt\lib\mqtt_outbox.o
  Compiling .pio\build\release\mqtt\esp-mqtt\lib\platform_esp32_idf.o
  Compiling .pio\build\release\newlib\abort.o
  Archiving .pio\build\release\esp-idf\lwip\liblwip.a
  Archiving .pio\build\release\esp-idf\mbedtls\libmbedtls.a
  Compiling .pio\build\release\newlib\heap.o
  Compiling .pio\build\release\newlib\locks.o
  Compiling .pio\build\release\newlib\poll.o
  Compiling .pio\build\release\newlib\pthread.o
  Compiling .pio\build\release\newlib\random.o
  Compiling .pio\build\release\newlib\reent_init.o
  Compiling .pio\build\release\newlib\syscall_table.o
  Compiling .pio\build\release\newlib\syscalls.o
  Compiling .pio\build\release\newlib\termios.o
  Compiling .pio\build\release\newlib\time.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_buf.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_callbacks.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_debug.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_frame.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_hd.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_hd_huffman.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_hd_huffman_data.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_helper.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_http.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_map.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_mem.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_npn.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_option.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_outbound_item.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_pq.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_priority_spec.o
  Archiving .pio\build\release\esp-idf\newlib\libnewlib.a
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_queue.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_rcbuf.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_session.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_stream.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_submit.o
  Compiling .pio\build\release\nghttp\nghttp2\lib\nghttp2_version.o
  Archiving .pio\build\release\esp-idf\mqtt\libmqtt.a
  Compiling .pio\build\release\nghttp\port\http_parser.o
  Compiling .pio\build\release\nvs_flash\src\nvs_api.o
  Compiling .pio\build\release\nvs_flash\src\nvs_cxx_api.o
  Compiling .pio\build\release\nvs_flash\src\nvs_item_hash_list.o
  Compiling .pio\build\release\nvs_flash\src\nvs_ops.o
  Compiling .pio\build\release\nvs_flash\src\nvs_page.o
  Compiling .pio\build\release\nvs_flash\src\nvs_pagemanager.o
  Compiling .pio\build\release\nvs_flash\src\nvs_storage.o
  Compiling .pio\build\release\nvs_flash\src\nvs_handle_simple.o
  Compiling .pio\build\release\nvs_flash\src\nvs_handle_locked.o
  Compiling .pio\build\release\nvs_flash\src\nvs_partition_manager.o
  Compiling .pio\build\release\nvs_flash\src\nvs_types.o
  Archiving .pio\build\release\esp-idf\mdns\libmdns.a
  Compiling .pio\build\release\openssl\library\ssl_cert.o
  Compiling .pio\build\release\openssl\library\ssl_lib.o
  Compiling .pio\build\release\openssl\library\ssl_methods.o
  Compiling .pio\build\release\openssl\library\ssl_pkey.o
  Compiling .pio\build\release\openssl\library\ssl_stack.o
  Compiling .pio\build\release\openssl\library\ssl_x509.o
  Compiling .pio\build\release\openssl\platform\ssl_pm.o
  Compiling .pio\build\release\openssl\platform\ssl_port.o
  Compiling .pio\build\release\perfmon\xtensa_perfmon_access.o
  Compiling .pio\build\release\perfmon\xtensa_perfmon_apis.o
  Compiling .pio\build\release\perfmon\xtensa_perfmon_masks.o
  Compiling .pio\build\release\protobuf-c\protobuf-c\protobuf-c\protobuf-c.o
  Compiling .pio\build\release\protocomm\src\common\protocomm.o
  Compiling .pio\build\release\protocomm\src\security\security0.o
  Compiling .pio\build\release\protocomm\src\security\security1.o
  Archiving .pio\build\release\esp-idf\openssl\libopenssl.a
  Compiling .pio\build\release\protocomm\proto-c\constants.pb-c.o
  Archiving .pio\build\release\esp-idf\perfmon\libperfmon.a
  Compiling .pio\build\release\protocomm\proto-c\sec0.pb-c.o
  Compiling .pio\build\release\protocomm\proto-c\sec1.pb-c.o
  Compiling .pio\build\release\protocomm\proto-c\session.pb-c.o
  Compiling .pio\build\release\protocomm\src\transports\protocomm_console.o
  Archiving .pio\build\release\esp-idf\nghttp\libnghttp.a
  Compiling .pio\build\release\protocomm\src\transports\protocomm_httpd.o
  Compiling .pio\build\release\pthread\pthread.o
  Compiling .pio\build\release\pthread\pthread_cond_var.o
  Archiving .pio\build\release\esp-idf\nvs_flash\libnvs_flash.a
  Compiling .pio\build\release\pthread\pthread_local_storage.o
  Compiling .pio\build\release\sdmmc\sdmmc_cmd.o
  Compiling .pio\build\release\sdmmc\sdmmc_common.o
  Compiling .pio\build\release\sdmmc\sdmmc_init.o
  Compiling .pio\build\release\sdmmc\sdmmc_io.o
  Compiling .pio\build\release\sdmmc\sdmmc_mmc.o
  Compiling .pio\build\release\sdmmc\sdmmc_sd.o
  Compiling .pio\build\release\soc\src\cpu_util.o
  Compiling .pio\build\release\soc\src\memory_layout_utils.o
  Compiling .pio\build\release\soc\src\lldesc.o
  Compiling .pio\build\release\soc\src\hal\cpu_hal.o
  Compiling .pio\build\release\soc\src\hal\rmt_hal.o
  Archiving .pio\build\release\esp-idf\protocomm\libprotocomm.a
  Compiling .pio\build\release\soc\src\hal\rtc_io_hal.o
  Compiling .pio\build\release\soc\src\hal\dac_hal.o
  Compiling .pio\build\release\soc\src\hal\adc_hal.o
  Archiving .pio\build\release\esp-idf\protobuf-c\libprotobuf-c.a
  Compiling .pio\build\release\soc\src\hal\spi_hal.o
  Compiling .pio\build\release\soc\src\hal\spi_hal_iram.o
  Archiving .pio\build\release\esp-idf\pthread\libpthread.a
  Compiling .pio\build\release\soc\src\hal\spi_slave_hal.o
  Compiling .pio\build\release\soc\src\hal\spi_slave_hal_iram.o
  Compiling .pio\build\release\soc\src\hal\touch_sensor_hal.o
  Compiling .pio\build\release\soc\src\soc_include_legacy_warn.o
  Compiling .pio\build\release\soc\src\hal\pcnt_hal.o
  Compiling .pio\build\release\soc\src\hal\i2s_hal.o
  Archiving .pio\build\release\esp-idf\sdmmc\libsdmmc.a
  Compiling .pio\build\release\soc\src\hal\sigmadelta_hal.o
  Compiling .pio\build\release\soc\src\hal\timer_hal.o
  Compiling .pio\build\release\soc\src\hal\ledc_hal.o
  Compiling .pio\build\release\soc\src\hal\ledc_hal_iram.o
  Compiling .pio\build\release\soc\src\hal\i2c_hal.o
  Compiling .pio\build\release\soc\src\hal\i2c_hal_iram.o
  Compiling .pio\build\release\soc\src\hal\gpio_hal.o
  Compiling .pio\build\release\soc\src\hal\uart_hal.o
  Compiling .pio\build\release\soc\src\hal\uart_hal_iram.o
  Compiling .pio\build\release\soc\src\hal\spi_flash_hal.o
  Compiling .pio\build\release\soc\src\hal\spi_flash_hal_iram.o
  Compiling .pio\build\release\soc\src\hal\mpu_hal.o
  Compiling .pio\build\release\soc\src\hal\soc_hal.o
  Compiling .pio\build\release\soc\src\hal\wdt_hal_iram.o
  Compiling .pio\build\release\soc\src\compare_set.o
  Compiling .pio\build\release\soc\src\hal\twai_hal.o
  Compiling .pio\build\release\soc\src\hal\mcpwm_hal.o
  Compiling .pio\build\release\soc\src\hal\sdio_slave_hal.o
  Compiling .pio\build\release\soc\src\esp32\adc_hal.o
  Compiling .pio\build\release\soc\src\esp32\brownout_hal.o
  Compiling .pio\build\release\soc\src\esp32\rtc_clk.o
  Compiling .pio\build\release\soc\src\esp32\rtc_clk_init.o
  Compiling .pio\build\release\soc\src\esp32\rtc_init.o
  Compiling .pio\build\release\soc\src\esp32\rtc_pm.o
  Compiling .pio\build\release\soc\src\esp32\rtc_sleep.o
  Compiling .pio\build\release\soc\src\esp32\rtc_time.o
  Compiling .pio\build\release\soc\src\esp32\rtc_wdt.o
  Compiling .pio\build\release\soc\src\esp32\soc_memory_layout.o
  Compiling .pio\build\release\soc\src\esp32\touch_sensor_hal.o
  Compiling .pio\build\release\soc\src\esp32\emac_hal.o
  Compiling .pio\build\release\spi_flash\partition.o
  Compiling .pio\build\release\spi_flash\esp32\spi_flash_rom_patch.o
  Compiling .pio\build\release\spi_flash\spi_flash_chip_drivers.o
  Compiling .pio\build\release\spi_flash\spi_flash_chip_generic.o
  Compiling .pio\build\release\spi_flash\spi_flash_chip_issi.o
  Compiling .pio\build\release\spi_flash\spi_flash_chip_mxic.o
  Compiling .pio\build\release\spi_flash\spi_flash_chip_gd.o
  Compiling .pio\build\release\spi_flash\memspi_host_driver.o
  Compiling .pio\build\release\spi_flash\cache_utils.o
  Compiling .pio\build\release\spi_flash\flash_mmap.o
  Compiling .pio\build\release\spi_flash\flash_ops.o
  Compiling .pio\build\release\spi_flash\esp32\flash_ops_esp32.o
  Compiling .pio\build\release\spi_flash\esp_flash_api.o
  Compiling .pio\build\release\spi_flash\esp_flash_spi_init.o
  Compiling .pio\build\release\spi_flash\spi_flash_os_func_app.o
  Compiling .pio\build\release\spi_flash\spi_flash_os_func_noos.o
  Archiving .pio\build\release\esp-idf\soc\libsoc.a
  Compiling .pio\build\release\spiffs\esp_spiffs.o
  Compiling .pio\build\release\spiffs\spiffs_api.o
  Compiling .pio\build\release\spiffs\spiffs\src\spiffs_cache.o
  Compiling .pio\build\release\spiffs\spiffs\src\spiffs_check.o
  Compiling .pio\build\release\spiffs\spiffs\src\spiffs_gc.o
  Compiling .pio\build\release\spiffs\spiffs\src\spiffs_hydrogen.o
  Compiling .pio\build\release\spiffs\spiffs\src\spiffs_nucleus.o
  Compiling .pio\build\release\tcp_transport\transport.o
  Compiling .pio\build\release\tcp_transport\transport_ssl.o
  Compiling .pio\build\release\tcp_transport\transport_tcp.o
  Compiling .pio\build\release\tcp_transport\transport_ws.o
  Compiling .pio\build\release\tcp_transport\transport_utils.o
  Compiling .pio\build\release\tcpip_adapter\tcpip_adapter_compat.o
  Compiling .pio\build\release\ulp\ulp.o
  Archiving .pio\build\release\esp-idf\spi_flash\libspi_flash.a
  Compiling .pio\build\release\ulp\ulp_macro.o
  Compiling .pio\build\release\unity\unity\src\unity.o
  Compiling .pio\build\release\unity\unity_port_esp32.o
  Compiling .pio\build\release\unity\unity_runner.o
  Compiling .pio\build\release\vfs\vfs.o
  Compiling .pio\build\release\vfs\vfs_uart.o
  Compiling .pio\build\release\vfs\vfs_semihost.o
  Compiling .pio\build\release\wear_levelling\Partition.o
  Compiling .pio\build\release\wear_levelling\SPI_Flash.o
  Compiling .pio\build\release\wear_levelling\WL_Ext_Perf.o
  Compiling .pio\build\release\wear_levelling\WL_Ext_Safe.o
  Archiving .pio\build\release\esp-idf\ulp\libulp.a
  Compiling .pio\build\release\wear_levelling\WL_Flash.o
  Compiling .pio\build\release\wear_levelling\crc32.o
  Archiving .pio\build\release\esp-idf\tcp_transport\libtcp_transport.a
  Compiling .pio\build\release\wear_levelling\wear_levelling.o
  Archiving .pio\build\release\esp-idf\spiffs\libspiffs.a
  Compiling .pio\build\release\wifi_provisioning\src\wifi_config.o
  Archiving .pio\build\release\esp-idf\unity\libunity.a
  Archiving .pio\build\release\esp-idf\tcpip_adapter\libtcpip_adapter.a
  Compiling .pio\build\release\wifi_provisioning\src\wifi_scan.o
  Compiling .pio\build\release\wifi_provisioning\src\manager.o
  Compiling .pio\build\release\wifi_provisioning\src\handlers.o
  Compiling .pio\build\release\wifi_provisioning\src\scheme_softap.o
  Compiling .pio\build\release\wifi_provisioning\src\scheme_console.o
  Compiling .pio\build\release\wifi_provisioning\proto-c\wifi_config.pb-c.o
  Compiling .pio\build\release\wifi_provisioning\proto-c\wifi_scan.pb-c.o
  Compiling .pio\build\release\wifi_provisioning\proto-c\wifi_constants.pb-c.o
  Compiling .pio\build\release\wpa_supplicant\port\os_xtensa.o
  Compiling .pio\build\release\wpa_supplicant\src\ap\ap_config.o
  Compiling .pio\build\release\wpa_supplicant\src\ap\ieee802_1x.o
  Compiling .pio\build\release\wpa_supplicant\src\ap\wpa_auth.o
  Archiving .pio\build\release\esp-idf\vfs\libvfs.a
  Archiving .pio\build\release\esp-idf\wear_levelling\libwear_levelling.a
  Compiling .pio\build\release\wpa_supplicant\src\ap\wpa_auth_ie.o
  Compiling .pio\build\release\wpa_supplicant\src\common\sae.o
  Compiling .pio\build\release\wpa_supplicant\src\common\wpa_common.o
  Compiling .pio\build\release\wpa_supplicant\src\common\dpp.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\aes-ctr.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\aes-siv.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\sha256-kdf.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\aes-cbc.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\aes-ccm.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\aes-internal-dec.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\aes-internal-enc.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\aes-internal.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\aes-omac1.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\aes-unwrap.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\aes-wrap.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\bignum.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\ccmp.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\crypto_mbedtls.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\crypto_mbedtls-bignum.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\crypto_mbedtls-ec.o
  Archiving .pio\build\release\esp-idf\wifi_provisioning\libwifi_provisioning.a
  Compiling .pio\build\release\wpa_supplicant\src\crypto\crypto_ops.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\crypto_internal-cipher.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\crypto_internal-modexp.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\crypto_internal-rsa.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\crypto_internal.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\des-internal.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\dh_group5.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\dh_groups.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\md4-internal.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\md5-internal.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\md5.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\ms_funcs.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\rc4.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\sha1-internal.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\sha1-pbkdf2.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\sha1.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\sha256-internal.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\sha256.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\sha1-tlsprf.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\sha256-tlsprf.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\sha384-tlsprf.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\sha256-prf.o
  Compiling .pio\build\release\wpa_supplicant\src\eap_peer\chap.o
  Compiling .pio\build\release\wpa_supplicant\src\eap_peer\eap.o
  Compiling .pio\build\release\wpa_supplicant\src\eap_peer\eap_common.o
  Compiling .pio\build\release\wpa_supplicant\src\eap_peer\eap_mschapv2.o
  Compiling .pio\build\release\wpa_supplicant\src\eap_peer\eap_peap.o
  Compiling .pio\build\release\wpa_supplicant\src\eap_peer\eap_peap_common.o
  Compiling .pio\build\release\wpa_supplicant\src\eap_peer\eap_tls.o
  Compiling .pio\build\release\wpa_supplicant\src\eap_peer\eap_tls_common.o
  Compiling .pio\build\release\wpa_supplicant\src\eap_peer\eap_ttls.o
  Compiling .pio\build\release\wpa_supplicant\src\eap_peer\mschapv2.o
  Compiling .pio\build\release\wpa_supplicant\src\esp_supplicant\esp_hostap.o
  Compiling .pio\build\release\wpa_supplicant\src\esp_supplicant\esp_wpa2.o
  Compiling .pio\build\release\wpa_supplicant\src\esp_supplicant\esp_wpa_main.o
  Compiling .pio\build\release\wpa_supplicant\src\esp_supplicant\esp_wpas_glue.o
  Compiling .pio\build\release\wpa_supplicant\src\esp_supplicant\esp_wps.o
  Compiling .pio\build\release\wpa_supplicant\src\esp_supplicant\esp_wpa3.o
  Compiling .pio\build\release\wpa_supplicant\src\rsn_supp\pmksa_cache.o
  Compiling .pio\build\release\wpa_supplicant\src\rsn_supp\wpa.o
  Compiling .pio\build\release\wpa_supplicant\src\rsn_supp\wpa_ie.o
  Compiling .pio\build\release\wpa_supplicant\src\utils\base64.o
  Compiling .pio\build\release\wpa_supplicant\src\utils\common.o
  Compiling .pio\build\release\wpa_supplicant\src\utils\ext_password.o
  Compiling .pio\build\release\wpa_supplicant\src\utils\uuid.o
  Compiling .pio\build\release\wpa_supplicant\src\utils\wpabuf.o
  Compiling .pio\build\release\wpa_supplicant\src\utils\wpa_debug.o
  Compiling .pio\build\release\wpa_supplicant\src\utils\json.o
  Compiling .pio\build\release\wpa_supplicant\src\wps\wps.o
  Compiling .pio\build\release\wpa_supplicant\src\wps\wps_attr_build.o
  Compiling .pio\build\release\wpa_supplicant\src\wps\wps_attr_parse.o
  Compiling .pio\build\release\wpa_supplicant\src\wps\wps_attr_process.o
  Compiling .pio\build\release\wpa_supplicant\src\wps\wps_common.o
  Compiling .pio\build\release\wpa_supplicant\src\wps\wps_dev_attr.o
  Compiling .pio\build\release\wpa_supplicant\src\wps\wps_enrollee.o
  Compiling .pio\build\release\wpa_supplicant\src\wps\wps_registrar.o
  Compiling .pio\build\release\wpa_supplicant\src\wps\wps_validate.o
  Compiling .pio\build\release\wpa_supplicant\src\crypto\tls_mbedtls.o
  Compiling .pio\build\release\xtensa\debug_helpers.o
  Compiling .pio\build\release\xtensa\debug_helpers_asm.o
  Compiling .pio\build\release\xtensa\expression_with_stack_xtensa_asm.o
  Compiling .pio\build\release\xtensa\expression_with_stack_xtensa.o
  Compiling .pio\build\release\xtensa\eri.o
  Compiling .pio\build\release\xtensa\trax.o
  Compiling .pio\build\release\xtensa\esp32\trax_init.o
  Compiling .pio\build\release\soc\soc\esp32\adc_periph.o
  Compiling .pio\build\release\soc\soc\esp32\dac_periph.o
  Compiling .pio\build\release\soc\soc\esp32\gpio_periph.o
  Compiling .pio\build\release\soc\soc\esp32\rtc_io_periph.o
  Compiling .pio\build\release\soc\soc\esp32\rtc_periph.o
  Compiling .pio\build\release\soc\soc\esp32\sdio_slave_periph.o
  Compiling .pio\build\release\soc\soc\esp32\sdmmc_periph.o
  Compiling .pio\build\release\soc\soc\esp32\interrupts.o
  Compiling .pio\build\release\soc\soc\esp32\spi_periph.o
  Compiling .pio\build\release\soc\soc\esp32\ledc_periph.o
  Compiling .pio\build\release\soc\soc\esp32\i2s_periph.o
  Compiling .pio\build\release\soc\soc\esp32\i2c_periph.o
  Compiling .pio\build\release\soc\soc\esp32\uart_periph.o
  Compiling .pio\build\release\soc\soc\esp32\touch_sensor_periph.o
  Archiving .pio\build\release\esp-idf\xtensa\libxtensa.a
  Compiling .pio\build\release\mbedtls\mbedtls\library\aes.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\aesni.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\arc4.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\aria.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\asn1parse.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\asn1write.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\base64.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\bignum.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\blowfish.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\camellia.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\ccm.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\chacha20.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\chachapoly.o
  Archiving .pio\build\release\esp-idf\soc\soc\esp32\libsoc_esp32.a
  Compiling .pio\build\release\mbedtls\mbedtls\library\cipher.o
  Archiving .pio\build\release\esp-idf\wpa_supplicant\libwpa_supplicant.a
  Compiling .pio\build\release\mbedtls\mbedtls\library\cipher_wrap.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\cmac.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\ctr_drbg.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\des.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\dhm.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\ecdh.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\ecdsa.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\ecjpake.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\ecp.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\ecp_curves.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\entropy.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\entropy_poll.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\error.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\gcm.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\havege.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\hkdf.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\hmac_drbg.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\md.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\md2.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\md4.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\md5.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\md_wrap.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\memory_buffer_alloc.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\nist_kw.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\oid.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\padlock.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\pem.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\pk.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\pk_wrap.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\pkcs12.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\pkcs5.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\pkparse.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\pkwrite.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\platform.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\platform_util.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\poly1305.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\ripemd160.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\rsa.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\rsa_internal.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\sha1.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\sha256.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\sha512.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\threading.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\timing.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\version.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\version_features.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\xtea.o
  Compiling .pio\build\release\mbedtls\port\esp_hardware.o
  Compiling .pio\build\release\mbedtls\port\esp_mem.o
  Compiling .pio\build\release\mbedtls\port\esp_timing.o
  Compiling .pio\build\release\mbedtls\port\esp_sha.o
  Compiling .pio\build\release\mbedtls\port\esp_aes_xts.o
  Compiling .pio\build\release\mbedtls\port\esp32\aes.o
  Compiling .pio\build\release\mbedtls\port\esp32\sha.o
  Compiling .pio\build\release\mbedtls\port\esp_bignum.o
  Compiling .pio\build\release\mbedtls\port\esp32\bignum.o
  Compiling .pio\build\release\mbedtls\port\esp32\esp_sha1.o
  Compiling .pio\build\release\mbedtls\port\esp32\esp_sha256.o
  Compiling .pio\build\release\mbedtls\port\esp32\esp_sha512.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\debug.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\ssl_cache.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\ssl_ciphersuites.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\ssl_cli.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\ssl_cookie.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\ssl_srv.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\ssl_ticket.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\ssl_tls.o
  Compiling .pio\build\release\mbedtls\port\mbedtls_debug.o
  Compiling .pio\build\release\mbedtls\port\net_sockets.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\certs.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\pkcs11.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\x509.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\x509_create.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\x509_crl.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\x509_crt.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\x509_csr.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\x509write_crt.o
  Compiling .pio\build\release\mbedtls\mbedtls\library\x509write_csr.o
  Compiling .pio\build\release\bootloader\soc\src\cpu_util.o
  Archiving .pio\build\release\esp-idf\mbedtls\mbedtls\library\libmbedcrypto.a
  Compiling .pio\build\release\bootloader\soc\src\memory_layout_utils.o
  Compiling .pio\build\release\bootloader\soc\src\lldesc.o
  Compiling .pio\build\release\bootloader\soc\src\hal\cpu_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\rmt_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\rtc_io_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\dac_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\adc_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\spi_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\spi_hal_iram.o
  Compiling .pio\build\release\bootloader\soc\src\hal\spi_slave_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\spi_slave_hal_iram.o
  Compiling .pio\build\release\bootloader\soc\src\hal\touch_sensor_hal.o
  Compiling .pio\build\release\bootloader\soc\src\soc_include_legacy_warn.o
  Compiling .pio\build\release\bootloader\soc\src\hal\pcnt_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\i2s_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\sigmadelta_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\timer_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\ledc_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\ledc_hal_iram.o
  Compiling .pio\build\release\bootloader\soc\src\hal\i2c_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\i2c_hal_iram.o
  Archiving .pio\build\release\esp-idf\mbedtls\mbedtls\library\libmbedx509.a
  Compiling .pio\build\release\bootloader\soc\src\hal\gpio_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\uart_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\uart_hal_iram.o
  Compiling .pio\build\release\bootloader\soc\src\hal\spi_flash_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\spi_flash_hal_iram.o
  Compiling .pio\build\release\bootloader\soc\src\hal\mpu_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\soc_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\wdt_hal_iram.o
  Compiling .pio\build\release\bootloader\soc\src\compare_set.o
  Compiling .pio\build\release\bootloader\soc\src\hal\twai_hal.o
  Compiling .pio\build\release\bootloader\soc\src\hal\mcpwm_hal.o
  Archiving .pio\build\release\esp-idf\mbedtls\mbedtls\library\libmbedtls.a
  Compiling .pio\build\release\bootloader\soc\src\hal\sdio_slave_hal.o
  Compiling .pio\build\release\bootloader\soc\src\esp32\adc_hal.o
  Generating project linker script .pio\build\release\esp32.project.ld
  Compiling .pio\build\release\bootloader\soc\src\esp32\brownout_hal.o
  Compiling .pio\build\release\bootloader\soc\src\esp32\rtc_clk.o
  Compiling .pio\build\release\bootloader\soc\src\esp32\rtc_clk_init.o
  Compiling .pio\build\release\bootloader\soc\src\esp32\rtc_init.o
  Compiling .pio\build\release\bootloader\soc\src\esp32\rtc_pm.o
  Compiling .pio\build\release\bootloader\soc\src\esp32\rtc_sleep.o
  Compiling .pio\build\release\bootloader\soc\src\esp32\rtc_time.o
  Compiling .pio\build\release\bootloader\soc\src\esp32\rtc_wdt.o
  Compiling .pio\build\release\bootloader\soc\src\esp32\soc_memory_layout.o
  Compiling .pio\build\release\bootloader\soc\src\esp32\touch_sensor_hal.o
  Compiling .pio\build\release\bootloader\components\micro-ecc\uECC_verify_antifault.o
  Compiling .pio\build\release\bootloader\spi_flash\esp32\spi_flash_rom_patch.o
  Compiling .pio\build\release\bootloader\main\bootloader_start.o
  Compiling .pio\build\release\bootloader\bootloader_support\src\bootloader_clock.o
  Compiling .pio\build\release\bootloader\bootloader_support\src\bootloader_common.o
  Compiling .pio\build\release\bootloader\bootloader_support\src\bootloader_flash.o
  Compiling .pio\build\release\bootloader\bootloader_support\src\bootloader_mem.o
  Compiling .pio\build\release\bootloader\bootloader_support\src\bootloader_random.o
  Compiling .pio\build\release\bootloader\bootloader_support\src\bootloader_random_esp32.o
  Compiling .pio\build\release\bootloader\bootloader_support\src\bootloader_utility.o
  Compiling .pio\build\release\bootloader\bootloader_support\src\esp_image_format.o
  Compiling .pio\build\release\bootloader\bootloader_support\src\flash_encrypt.o
  Compiling .pio\build\release\bootloader\bootloader_support\src\flash_partitions.o
  Compiling .pio\build\release\bootloader\bootloader_support\src\flash_qio_mode.o
  Archiving .pio\build\release\bootloader\esp-idf\main\libmain.a
  Archiving .pio\build\release\bootloader\esp-idf\soc\libsoc.a
  Compiling .pio\build\release\bootloader\bootloader_support\src\bootloader_flash_config_esp32.o
  Compiling .pio\build\release\bootloader\bootloader_support\src\bootloader_efuse_esp32.o
  Compiling .pio\build\release\bootloader\bootloader_support\src\bootloader_init.o
  Compiling .pio\build\release\bootloader\bootloader_support\src\esp32\bootloader_sha.o
  Compiling .pio\build\release\bootloader\bootloader_support\src\esp32\flash_encrypt.o
  Compiling .pio\build\release\bootloader\bootloader_support\src\esp32\bootloader_esp32.o
  Archiving .pio\build\release\bootloader\esp-idf\spi_flash\libspi_flash.a
  Compiling .pio\build\release\bootloader\efuse\esp32\esp_efuse_table.o
  Compiling .pio\build\release\bootloader\efuse\src\esp32\esp_efuse_api.o
  Compiling .pio\build\release\bootloader\efuse\src\esp32\esp_efuse_fields.o
  Compiling .pio\build\release\bootloader\efuse\src\esp32\esp_efuse_utility.o
  Compiling .pio\build\release\bootloader\efuse\src\esp_efuse_api.o
  Compiling .pio\build\release\bootloader\efuse\src\esp_efuse_fields.o
  Compiling .pio\build\release\bootloader\efuse\src\esp_efuse_utility.o
  Compiling .pio\build\release\bootloader\log\log.o
  Compiling .pio\build\release\bootloader\log\log_buffers.o
  Compiling .pio\build\release\bootloader\log\log_noos.o
  Compiling .pio\build\release\bootloader\soc\soc\esp32\adc_periph.o
  Compiling .pio\build\release\bootloader\soc\soc\esp32\dac_periph.o
  Compiling .pio\build\release\bootloader\soc\soc\esp32\gpio_periph.o
  Archiving .pio\build\release\bootloader\esp-idf\micro-ecc\libmicro-ecc.a
  Compiling .pio\build\release\bootloader\soc\soc\esp32\rtc_io_periph.o
  Compiling .pio\build\release\bootloader\soc\soc\esp32\rtc_periph.o
  Compiling .pio\build\release\bootloader\soc\soc\esp32\sdio_slave_periph.o
  Compiling .pio\build\release\bootloader\soc\soc\esp32\sdmmc_periph.o
  Compiling .pio\build\release\bootloader\soc\soc\esp32\interrupts.o
  Compiling .pio\build\release\bootloader\soc\soc\esp32\spi_periph.o
  Compiling .pio\build\release\bootloader\soc\soc\esp32\ledc_periph.o
  Compiling .pio\build\release\bootloader\soc\soc\esp32\i2s_periph.o
  Compiling .pio\build\release\bootloader\soc\soc\esp32\i2c_periph.o
  Archiving .pio\build\release\bootloader\esp-idf\bootloader_support\libbootloader_support.a
  Compiling .pio\build\release\bootloader\soc\soc\esp32\uart_periph.o
  Compiling .pio\build\release\bootloader\soc\soc\esp32\touch_sensor_periph.o
  Archiving .pio\build\release\bootloader\esp-idf\log\liblog.a
  Archiving .pio\build\release\bootloader\esp-idf\efuse\libefuse.a
  Archiving .pio\build\release\bootloader\esp-idf\soc\soc\esp32\libsoc_esp32.a
  Linking .pio\build\release\bootloader.elf
  Building .pio\build\release\bootloader.bin
  esptool.py v3.0
  __action_dump([".pio\build\release\firmware.elf"], [".pio\build\release\src\main.o"])
  Linking .pio\build\release\firmware.elf
  Retrieving maximum program size .pio\build\release\firmware.elf
  Checking size .pio\build\release\firmware.elf
  Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
  RAM:   [          ]   3.2% (used 10436 bytes from 327680 bytes)
  Flash: [=         ]  14.3% (used 150364 bytes from 1048576 bytes)
  Building .pio\build\release\firmware.bin
  esptool.py v3.0
  ========================= [SUCCESS] Took 62.74 seconds =========================

  Environment    Status    Duration
  -------------  --------  ------------
  release        SUCCESS   00:01:02.736
  ========================= 1 succeeded in 00:01:02.736 =========================

  --- stderr
  Error: Failed to read '"C:\\projekte\\rust-esp32-std-hello\\target\\xtensa-esp32-espidf\\release\\build\\esp-idf-sys-c4b1b1bc67c76a84\\out\\esp-idf\\sdkconfig.release"'

  Caused by:
      Das System kann die angegebene Datei nicht finden. (os error 2)
ivmarkov commented 3 years ago

OK clear. You are running a too old ESP-IDF (4.2) inside your PlatformIO. The easiest fix is to just wipe out (or rename) your ~/.platformio directory, so that it can be re-downloaded during the build.

Unfortunately, this will bring another error that we have since today and which is totally unrelated to this project, and which will require upstream bugfix in ESP-IDF itself, as well as in PlatformIO. Once you do what I suggest above and invoke cargo build [--release], the build will fail with something like:

CMake Error at /Users/georgik/.platformio/packages/framework-espidf/tools/cmake/scripts/data_file_embed_asm.cmake:26 (file):
    file failed to open for reading (No such file or directory):

      /Users/georgik/projects/rust-esp32-std-hello/target/xtensa-esp32-espidf/debug/build/esp-idf-sys-e0d5dac67e377451/out/esp-idf/.pio/build/debug/x509_crt_bundle

  *** Error 1
  *** [.pio/build/debug/.pio/build/debug/x509_crt_bundle.o] Source `.pio/build/debug/x509_crt_bundle.S' not found, needed by target `.pio/build/debug/.pio/build/debug/x509_crt_bundle.o'.

To temporarily fix it (that is, until ESP-IDF & PlatformIO get a new bugfix release), do:

source ~/.platformio/penv/bin/activate
pip install "cryptography<4"
cargo +esp build [--release]

More info in the chat: https://app.element.io/#/room/#esp-rs:matrix.org

StefansProjects commented 3 years ago

After cleaning the .platformio dir I had issues around missing CMAKE_ROOT which I couldn`t resolve so I decided to move to a Ubuntu VM, where the build finally worked. Thanks for your help.

ivmarkov commented 3 years ago

OK. Root cause not really clear, but I'm closing this now.