diff options
| author | Wouter Geraedts <git@woutergeraedts.nl> | 2024-04-09 15:01:27 +0200 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2025-04-07 21:11:21 +0000 |
| commit | b97bc791260554edfd79dbd84c05815bef26b636 (patch) | |
| tree | a0ba46cb89b1a86c545e1be3ad9312efd92a8046 /examples/esp32c6/.cargo | |
| parent | 5a8ff70f854c0d6fef3e5b7be12b750aab37b9f2 (diff) | |
Added esp32c6 support and example
Diffstat (limited to 'examples/esp32c6/.cargo')
| -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"] |
