Add Monotonic for i.MX RT chip family

This commit is contained in:
Finomnis 2023-11-01 12:13:25 +01:00 committed by Emil Fresk
parent a7f81262f6
commit 2fd3b3c404
13 changed files with 1251 additions and 1 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "rtic-monotonics"
version = "1.2.0"
version = "1.2.1"
edition = "2021"
authors = [
@ -45,6 +45,9 @@ nrf9160-pac = { version = "0.12.2", optional = true }
# STM32
stm32-metapac = { version = "14.0.0", optional = true }
# i.MX RT
imxrt-ral = { version = "0.5.3", optional = true }
[build-dependencies]
proc-macro2 = { version = "1.0.36", optional = true }
quote = { version = "1.0.15", optional = true }
@ -74,6 +77,12 @@ 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"]
# i.MX RT Timers
# Use as `features = ["imxrt_gpt1"]`
imxrt = ["dep:cortex-m", "dep:imxrt-ral"]
imxrt_gpt1 = ["imxrt"]
imxrt_gpt2 = ["imxrt"]
# STM32 timers
# Use as `features = ["stm32g081kb", "stm32_tim15"]`
stm32_tim2 = []