PlantCtrl/rust/.cargo/config.toml

27 lines
1023 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"
2024-10-23 18:17:18 +02:00
#runner = "espflash flash --monitor --baud 921600 --partition-table partitions.csv -b no-reset" # Select this runner in case of usb ttl
runner = "espflash flash --monitor --baud 921600 --partition-table partitions.csv" # Select this runner for espflash v2.x.x
2024-08-12 19:48:59 +02:00
#runner = "cargo runner"
2024-08-11 18:44:24 +02:00
2024-10-23 18:17:18 +02:00
#runner = "espflash flash --monitor --partition-table partitions.csv -b no-reset" # create upgrade image file for webupload
# runner = espflash erase-parts otadata //ensure flash is clean
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"