From 805ea267a8515b7ee70125f444763f4aaa95c454 Mon Sep 17 00:00:00 2001 From: onsdagens <112828711+onsdagens@users.noreply.github.com> Date: Sun, 29 Sep 2024 06:21:14 +0200 Subject: Add SYSTIMER based ESP32-C3 monotonic (#972) * add esp32c3 monotonic * fix tests --- examples/esp32c3/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/esp32c3/Cargo.toml') diff --git a/examples/esp32c3/Cargo.toml b/examples/esp32c3/Cargo.toml index fa2a4e0..adb0ece 100644 --- a/examples/esp32c3/Cargo.toml +++ b/examples/esp32c3/Cargo.toml @@ -8,6 +8,7 @@ license = "MIT OR Apache-2.0" [dependencies] rtic = {path = "../../rtic/"} +rtic-monotonics = {path = "../../rtic-monotonics/"} esp-hal = { version = "0.16.1", features = ["esp32c3", "direct-vectoring", "interrupt-preemption"] } esp-backtrace = { version = "0.11.0", features = [ "esp32c3", @@ -21,4 +22,4 @@ esp-println = { version = "0.9.0", features = ["esp32c3", "uart"] } [features] test-critical-section = [] -riscv-esp32c3-backend = ["rtic/riscv-esp32c3-backend"] +riscv-esp32c3-backend = ["rtic/riscv-esp32c3-backend", "rtic-monotonics/esp32c3-systimer"] -- cgit v1.2.3