PlantCtrl/rust/.cargo/config.toml

24 lines
872 B
TOML
Raw Normal View History

2023-11-20 00:05:47 +01:00
[build]
2024-04-20 23:32:44 +02:00
#target = "xtensa-esp32-espidf"
target = "riscv32imac-esp-espidf"
[target.riscv32imac-esp-espidf]
linker = "ldproxy"
runner = "espflash flash --monitor --partition-table partitions.csv -b no-reset" # Select this runner for espflash v2.x.x
2024-06-04 03:01:13 +02:00
# runner = "espflash flash --monitor --baud 921600 --partition-table partitions.csv -b no-reset" # Select this runner for espflash v2.x.x
2024-04-20 23:32:44 +02:00
# runner = espflash erase-parts otadata
2023-11-20 00:05:47 +01:00
#runner = "cargo runner"
2023-11-20 00:05:47 +01:00
rustflags = [ "--cfg", "espidf_time64"] # Extending time_t for ESP IDF 5: https://github.com/esp-rs/rust/issues/110
[unstable]
build-std = ["std", "panic_abort"]
[env]
2024-04-20 23:32:44 +02:00
MCU="esp32c6"
2023-11-20 00:05:47 +01:00
# Note: this variable is not used by the pio builder (`cargo build --features pio`)
2024-04-22 13:03:42 +02:00
ESP_IDF_VERSION = "v5.2.1"
2023-11-23 22:50:17 +01:00
CHRONO_TZ_TIMEZONE_FILTER="UTC|Europe/Berlin"
CARGO_WORKSPACE_DIR = { value = "", relative = true }
2024-04-26 18:52:53 +02:00
RUST_BACKTRACE = "full"