diff options
| author | onsdagens <112828711+onsdagens@users.noreply.github.com> | 2024-04-04 11:35:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-04 09:35:41 +0000 |
| commit | 906278e31026df8874b1b1593af8f92ce6d7e247 (patch) | |
| tree | d77ade2744c2c13d2706831236e7904ffd183435 /examples/esp32c3/.cargo/config.toml | |
| parent | 53ed7bf7edb21180cb18c0bf6a7dbe6168331879 (diff) | |
Adjust esp32c3 codegen, bump pac to 0.21.0 (#906)
* adjust esp32c3 codegen, bump pac to 0.21.0
* add esp32c3 example
* adjust workflow flags
* CI: Fix esp32c3 comment
* esp32c3: Remove commented out git-dep
* CI: Actually check the ESP32-C3 examples
* Autoformat rtic/cargo.toml
---------
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
Diffstat (limited to 'examples/esp32c3/.cargo/config.toml')
| -rw-r--r-- | examples/esp32c3/.cargo/config.toml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/esp32c3/.cargo/config.toml b/examples/esp32c3/.cargo/config.toml new file mode 100644 index 0000000..fb52d86 --- /dev/null +++ b/examples/esp32c3/.cargo/config.toml @@ -0,0 +1,15 @@ +[target.riscv32imc-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 = "riscv32imc-unknown-none-elf" + +[unstable] +build-std = ["core"] |
