2023-07-14 11:12:43 +00:00
|
|
|
[build]
|
|
|
|
target = "xtensa-esp32-espidf"
|
|
|
|
|
|
|
|
[target.xtensa-esp32-espidf]
|
|
|
|
linker = "ldproxy"
|
|
|
|
# runner = "espflash --monitor" # Select this runner for espflash v1.x.x
|
|
|
|
runner = "espflash flash --monitor" # Select this runner for espflash v2.x.x
|
2023-11-26 20:17:51 +00:00
|
|
|
rustflags = [ "--cfg", "espidf_time64"] # Extending time_t for ESP IDF 5: https://github.com/esp-rs/rust/issues/110
|
2023-07-14 11:12:43 +00:00
|
|
|
|
|
|
|
[unstable]
|
|
|
|
build-std = ["std", "panic_abort"]
|
|
|
|
|
|
|
|
[env]
|
|
|
|
# Note: these variables are not used when using pio builder (`cargo build --features pio`)
|
2024-10-31 22:44:10 +00:00
|
|
|
# ESP_IDF_VERSION = "v5.1.1"
|
|
|
|
ESP_IDF_VERSION = "v5.2.2"
|
2023-11-26 20:17:51 +00:00
|
|
|
ESP_IDF_PATH_ISSUES = "warn" # or "ignore"
|
2023-07-14 11:12:43 +00:00
|
|
|
|
2024-10-31 22:44:10 +00:00
|
|
|
# Workaround for https://github.com/esp-rs/esp-idf-template/issues/174
|
|
|
|
CRATE_CC_NO_DEFAULTS = "1"
|