mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-17 21:35:20 +01:00
Add SYSTIMER based ESP32-C3 monotonic (#972)
* add esp32c3 monotonic * fix tests
This commit is contained in:
parent
6e68a5e615
commit
805ea267a8
12 changed files with 395 additions and 9 deletions
|
|
@ -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 = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue