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.toml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 examples/esp32c3/Cargo.toml (limited to 'examples/esp32c3/Cargo.toml') diff --git a/examples/esp32c3/Cargo.toml b/examples/esp32c3/Cargo.toml new file mode 100644 index 0000000..9a4e813 --- /dev/null +++ b/examples/esp32c3/Cargo.toml @@ -0,0 +1,24 @@ +[package] +name = "esp32-c3" +version = "0.1.0" +edition = "2021" +license = "MIT OR Apache-2.0" + +[workspace] + +[dependencies] +rtic = {path = "../../rtic/"} +esp-hal = { version = "0.16.1", features = ["esp32c3", "direct-vectoring", "interrupt-preemption"] } +esp-backtrace = { version = "0.11.0", features = [ + "esp32c3", + "panic-handler", + "exception-handler", + "println", +] } + +esp32c3 = {version = "0.21.0", features = ["critical-section"]} +esp-println = { version = "0.9.0", features = ["esp32c3", "uart"] } + +[features] +test-critical-section = [] +riscv-esp32c3-backend = ["rtic/riscv-esp32c3-backend"] -- cgit v1.2.3