diff options
Diffstat (limited to 'examples/esp32c6/.cargo/config.toml')
| -rw-r--r-- | examples/esp32c6/.cargo/config.toml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/esp32c6/.cargo/config.toml b/examples/esp32c6/.cargo/config.toml new file mode 100644 index 0000000..ba9bb54 --- /dev/null +++ b/examples/esp32c6/.cargo/config.toml @@ -0,0 +1,15 @@ +[target.riscv32imac-unknown-none-elf] +runner = "espflash flash --monitor" + +[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", +] + +target = "riscv32imac-unknown-none-elf" + +[unstable] +build-std = ["core"] |
