Update esp32c{3,6} support to esp-hal-1.0.0-rc.0.

This commit is contained in:
Paul Bender 2025-09-13 15:17:36 -07:00 committed by Henrik Tjäder
parent 1365471f5a
commit e8c260a745
15 changed files with 949 additions and 633 deletions

View file

@ -1,16 +1,20 @@
[target.riscv32imc-unknown-none-elf]
# Real hardware
# runner = "espflash flash --monitor"
# runner = "espflash flash --monitor --chip esp32c3"
# QEMU emulator
runner = "./runner.sh"
[build]
rustflags = [
"-C", "link-arg=-Tlinkall.x",
# Required to obtain backtraces (e.g. when using the "esp-backtrace" crate.)
# NOTE: May negatively impact performance of produced code
"-C", "force-frame-pointers",
# This should be last.
"-C", "link-arg=-Tlinkall.x",
]
target = "riscv32imc-unknown-none-elf"
[unstable]
build-std = ["alloc", "core"]