Write state to flash

This commit is contained in:
Mona Mayrhofer 2025-06-27 22:39:25 +02:00
parent 700bc71bf6
commit b828cc4bde
No known key found for this signature in database
GPG key ID: 3E2BDA732A957188
5 changed files with 239 additions and 53 deletions

View file

@ -1,14 +1,15 @@
[target.riscv32imc-unknown-none-elf]
runner = "espflash flash --monitor --chip esp32c3"
runner = "espflash flash --monitor --chip esp32c3 --partition-table ./partitions.csv"
[env]
ESP_LOG="info"
ESP_LOG = "info"
[build]
rustflags = [
# Required to obtain backtraces (e.g. when using the "esp-backtrace" crate.)
# NOTE: May negatively impact performance of produced code
"-C", "force-frame-pointers",
# Required to obtain backtraces (e.g. when using the "esp-backtrace" crate.)
# NOTE: May negatively impact performance of produced code
"-C",
"force-frame-pointers",
]
target = "riscv32imc-unknown-none-elf"