[esp] Add Rust example with std.

This commit is contained in:
2025-07-06 13:22:06 -04:00
parent 20efb62615
commit bb28b1e2ef
11 changed files with 175 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
[build]
target = "xtensa-esp32-espidf"
[target.xtensa-esp32-espidf]
linker = "ldproxy"
runner = "espflash flash --monitor"
rustflags = [ "--cfg", "espidf_time64"]
[unstable]
build-std = ["std", "panic_abort"]
[env]
MCU="esp32"
# Note: this variable is not used by the pio builder (`cargo build --features pio`)
ESP_IDF_VERSION = "v5.2.3"