diff options
| author | Andres Vahter <andres@vahter.me> | 2023-09-03 11:47:33 +0300 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2023-09-06 18:48:36 +0000 |
| commit | 7d223ffe57eede6a8b5ac266f14bfd4fd6aeba7c (patch) | |
| tree | 439a0677f368a8b8e4c679012d13076f97dff10e /rtic-monotonics/Cargo.toml | |
| parent | 0c46b7ea0efa7e4870c6553b959504aa396e2fb2 (diff) | |
PoC Monotonic impl based on stm32-metapac
Diffstat (limited to 'rtic-monotonics/Cargo.toml')
| -rw-r--r-- | rtic-monotonics/Cargo.toml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rtic-monotonics/Cargo.toml b/rtic-monotonics/Cargo.toml index f4abe51..c644ce7 100644 --- a/rtic-monotonics/Cargo.toml +++ b/rtic-monotonics/Cargo.toml @@ -9,6 +9,7 @@ authors = [ "Henrik Tjäder <henrik@tjaders.com>", "Jorge Aparicio <jorge@japaric.io>", "Per Lindgren <per.lindgren@ltu.se>", + "Andres Vahter <andres@vahter.me>", ] categories = ["concurrency", "embedded", "no-std", "asynchronous"] description = "A library that provides implementations of the Monotonic trait from rtic-time" @@ -40,6 +41,9 @@ nrf5340-app-pac = { version = "0.12.2", optional = true } nrf5340-net-pac = { version = "0.12.2", optional = true } nrf9160-pac = { version = "0.12.2", optional = true } +# STM32 +stm32-metapac = { version = "13.0.0", features = ["metadata"], optional = true } + [features] default = [] defmt = ["fugit/defmt"] @@ -63,3 +67,6 @@ nrf52840 = ["dep:cortex-m", "dep:nrf52840-pac", "dep:critical-section"] nrf5340-app = ["dep:cortex-m", "dep:nrf5340-app-pac", "dep:critical-section"] nrf5340-net = ["dep:cortex-m", "dep:nrf5340-net-pac", "dep:critical-section"] nrf9160 = ["dep:cortex-m", "dep:nrf9160-pac", "dep:critical-section"] + +# STM32 timers +stm32g081kb = ["dep:cortex-m", "stm32-metapac/stm32g081kb"] |
