From e8c260a74577e1c1aadd1964e6f7e45afecd2e3e Mon Sep 17 00:00:00 2001 From: Paul Bender Date: Sat, 13 Sep 2025 15:17:36 -0700 Subject: Update esp32c{3,6} support to esp-hal-1.0.0-rc.0. --- examples/esp32c3/.cargo/config.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'examples/esp32c3/.cargo') diff --git a/examples/esp32c3/.cargo/config.toml b/examples/esp32c3/.cargo/config.toml index 05f0a29..8d57a1c 100644 --- a/examples/esp32c3/.cargo/config.toml +++ b/examples/esp32c3/.cargo/config.toml @@ -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"] -- cgit v1.2.3