25 lines
870 B
TOML
25 lines
870 B
TOML
[build]
|
|
target = "xtensa-esp32s3-espidf"
|
|
|
|
[target.xtensa-esp32s3-espidf]
|
|
linker = "ldproxy"
|
|
runner = "espflash flash --monitor --no-stub" # Select this runner for espflash v3.x.x
|
|
rustflags = [ "--cfg", "espidf_time64"] # Extending time_t for ESP IDF 5: https://github.com/esp-rs/rust/issues/110
|
|
rust-env = {MCU = "esp32s3"}
|
|
|
|
[target.xtensa-esp32-espidf]
|
|
linker = "ldproxy"
|
|
runner = "espflash flash --monitor --no-stub" # Select this runner for espflash v3.x.x
|
|
rustflags = [ "--cfg", "espidf_time64"] # Extending time_t for ESP IDF 5: https://github.com/esp-rs/rust/issues/110
|
|
rust-env = {MCU = "esp32"}
|
|
|
|
[unstable]
|
|
build-std = ["std", "panic_abort"]
|
|
|
|
[env]
|
|
# Note: this variable is not used by the pio builder (`cargo build --features pio`)
|
|
ESP_IDF_VERSION = "v5.2.2"
|
|
|
|
# Workaround for https://github.com/esp-rs/esp-idf-template/issues/174
|
|
CRATE_CC_NO_DEFAULTS = "1"
|