diff options
| author | onsdagens <112828711+onsdagens@users.noreply.github.com> | 2024-09-29 06:21:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-29 04:21:14 +0000 |
| commit | 805ea267a8515b7ee70125f444763f4aaa95c454 (patch) | |
| tree | b5cb20e1db8aca4ffa4ae45b8a81cf7da1a28931 /rtic-monotonics/Cargo.toml | |
| parent | 6e68a5e6157204df4c79b0ea14a248cc8182863a (diff) | |
Add SYSTIMER based ESP32-C3 monotonic (#972)
* add esp32c3 monotonic
* fix tests
Diffstat (limited to 'rtic-monotonics/Cargo.toml')
| -rw-r--r-- | rtic-monotonics/Cargo.toml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rtic-monotonics/Cargo.toml b/rtic-monotonics/Cargo.toml index 8895fcb..953c658 100644 --- a/rtic-monotonics/Cargo.toml +++ b/rtic-monotonics/Cargo.toml @@ -31,6 +31,7 @@ features = [ "stm32_tim4", "stm32_tim5", "stm32_tim15", + "esp32c3-systimer", ] rustdoc-flags = ["--cfg", "docsrs"] @@ -65,6 +66,11 @@ stm32-metapac = { version = "15.0.0", optional = true } # i.MX RT imxrt-ral = { version = "0.5.3", optional = true } + +esp32c3 = {version = "0.22.0", optional = true } +riscv = {version = "0.11.1", optional = true } + + [build-dependencies] proc-macro2 = { version = "1.0.36", optional = true } quote = { version = "1.0.15", optional = true } @@ -104,6 +110,9 @@ imxrt = ["dep:cortex-m", "dep:imxrt-ral"] imxrt_gpt1 = ["imxrt"] imxrt_gpt2 = ["imxrt"] +# ESP32-C3 Timer +esp32c3-systimer = ["dep:esp32c3", "dep:riscv"] + # STM32 timers # Use as `features = ["stm32g081kb", "stm32_tim15"]` stm32_tim2 = [] |
