aboutsummaryrefslogtreecommitdiff
path: root/examples/esp32c6/.cargo
diff options
context:
space:
mode:
Diffstat (limited to 'examples/esp32c6/.cargo')
-rw-r--r--examples/esp32c6/.cargo/config.toml7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/esp32c6/.cargo/config.toml b/examples/esp32c6/.cargo/config.toml
index ba9bb54..5495b45 100644
--- a/examples/esp32c6/.cargo/config.toml
+++ b/examples/esp32c6/.cargo/config.toml
@@ -1,15 +1,16 @@
[target.riscv32imac-unknown-none-elf]
-runner = "espflash flash --monitor"
+runner = "espflash flash --monitor --chip esp32c6"
[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 = "riscv32imac-unknown-none-elf"
[unstable]
-build-std = ["core"]
+build-std = ["alloc", "core"]