From b97bc791260554edfd79dbd84c05815bef26b636 Mon Sep 17 00:00:00 2001 From: Wouter Geraedts Date: Tue, 9 Apr 2024 15:01:27 +0200 Subject: Added esp32c6 support and example --- examples/esp32c6/Cargo.toml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 examples/esp32c6/Cargo.toml (limited to 'examples/esp32c6/Cargo.toml') diff --git a/examples/esp32c6/Cargo.toml b/examples/esp32c6/Cargo.toml new file mode 100644 index 0000000..b53aaee --- /dev/null +++ b/examples/esp32c6/Cargo.toml @@ -0,0 +1,24 @@ +[package] +name = "esp32-c6" +version = "0.1.0" +edition = "2021" +license = "MIT OR Apache-2.0" + +[workspace] + +[dependencies] +rtic = {path = "../../rtic/"} +esp-hal = { version = "0.16.1", features = ["esp32c6", "direct-vectoring", "interrupt-preemption"] } +esp-backtrace = { version = "0.11.0", features = [ + "esp32c6", + "panic-handler", + "exception-handler", + "println", +] } + +esp32c6 = {version = "0.12.0", features = ["critical-section"]} +esp-println = { version = "0.9.0", default-features=false, features = ["esp32c6", "uart"] } + +[features] +test-critical-section = [] +riscv-esp32c6-backend = ["rtic/riscv-esp32c6-backend"] -- cgit v1.2.3