aboutsummaryrefslogtreecommitdiff
path: root/examples/esp32c3/.cargo
diff options
context:
space:
mode:
authorPaul Bender <pebender@gmail.com>2025-09-13 15:17:36 -0700
committerHenrik Tjäder <henrik@tjaders.com>2025-09-17 18:57:09 +0000
commite8c260a74577e1c1aadd1964e6f7e45afecd2e3e (patch)
treeffeb5b476b145cfa0b703d9765dbab906daafccd /examples/esp32c3/.cargo
parent1365471f5a3cf393a7525c98c96d04b9fcdb0b44 (diff)
Update esp32c{3,6} support to esp-hal-1.0.0-rc.0.
Diffstat (limited to 'examples/esp32c3/.cargo')
-rw-r--r--examples/esp32c3/.cargo/config.toml8
1 files changed, 6 insertions, 2 deletions
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"]