switch to esp32c6

This commit is contained in:
2024-04-20 23:32:44 +02:00
parent e7e38e9fca
commit a44aa86732
11 changed files with 10760 additions and 6466 deletions

View File

@@ -1,5 +1,14 @@
[build]
target = "xtensa-esp32-espidf"
#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
[target.xtensa-esp32-espidf]
linker = "ldproxy"
@@ -13,7 +22,7 @@ rustflags = [ "--cfg", "espidf_time64"] # Extending time_t for ESP IDF 5: https
build-std = ["std", "panic_abort"]
[env]
MCU="esp32"
MCU="esp32c6"
# Note: this variable is not used by the pio builder (`cargo build --features pio`)
ESP_IDF_VERSION = "v5.1.1"
CHRONO_TZ_TIMEZONE_FILTER="UTC|Europe/Berlin"