From 906278e31026df8874b1b1593af8f92ce6d7e247 Mon Sep 17 00:00:00 2001 From: onsdagens <112828711+onsdagens@users.noreply.github.com> Date: Thu, 4 Apr 2024 11:35:41 +0200 Subject: Adjust esp32c3 codegen, bump pac to 0.21.0 (#906) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- examples/esp32c3/.cargo/config.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/esp32c3/.cargo/config.toml (limited to 'examples/esp32c3/.cargo') 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"] -- cgit v1.2.3