aboutsummaryrefslogtreecommitdiff
path: root/examples/esp32c3/Cargo.toml
diff options
context:
space:
mode:
authoronsdagens <112828711+onsdagens@users.noreply.github.com>2024-04-04 11:35:41 +0200
committerGitHub <noreply@github.com>2024-04-04 09:35:41 +0000
commit906278e31026df8874b1b1593af8f92ce6d7e247 (patch)
treed77ade2744c2c13d2706831236e7904ffd183435 /examples/esp32c3/Cargo.toml
parent53ed7bf7edb21180cb18c0bf6a7dbe6168331879 (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.toml')
-rw-r--r--examples/esp32c3/Cargo.toml24
1 files changed, 24 insertions, 0 deletions
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"]