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" # Select this runner for espflash v2.x.x
|
|
|
|
# runner = espflash erase-parts otadata
|
|
|
|
runner = "espflash flash --monitor --baud 921600 --partition-table partitions.csv" # Select this runner for espflash v2.x.x
|
|
|
|
#runner = "cargo runner"
|
|
|
|
rustflags = [ "--cfg", "espidf_time64"] # Extending time_t for ESP IDF 5: https://github.com/esp-rs/rust/issues/110
|
2023-11-20 00:05:47 +01:00
|
|
|
|
|
|
|
[target.xtensa-esp32-espidf]
|
|
|
|
linker = "ldproxy"
|
2024-02-02 21:35:04 +01:00
|
|
|
#runner = "espflash flash --monitor --partition-table partitions.csv" # Select this runner for espflash v2.x.x
|
2024-02-21 19:57:36 +01:00
|
|
|
# runner = espflash erase-parts otadata
|
2023-12-22 01:35:08 +01:00
|
|
|
runner = "espflash flash --monitor --baud 921600 --partition-table partitions.csv" # Select this runner for espflash v2.x.x
|
2023-12-23 01:59:00 +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`)
|
|
|
|
ESP_IDF_VERSION = "v5.1.1"
|
2023-11-23 22:50:17 +01:00
|
|
|
CHRONO_TZ_TIMEZONE_FILTER="UTC|Europe/Berlin"
|
2024-02-21 20:00:40 +01:00
|
|
|
CARGO_WORKSPACE_DIR = { value = "", relative = true }
|