diff options
| author | Finomnis <finomnis@gmail.com> | 2023-11-01 12:13:25 +0100 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2023-11-08 19:43:09 +0000 |
| commit | 2fd3b3c4042dd7bffc5387f589a6aef3cf44a8cb (patch) | |
| tree | 255b2fa14a3b1e98e5be52ffb7240d91121cf2c1 /rtic-monotonics/Cargo.toml | |
| parent | a7f81262f631d19762cca1fd59c3ed2d8ad12d91 (diff) | |
Add Monotonic for i.MX RT chip family
Diffstat (limited to 'rtic-monotonics/Cargo.toml')
| -rw-r--r-- | rtic-monotonics/Cargo.toml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/rtic-monotonics/Cargo.toml b/rtic-monotonics/Cargo.toml index 1d9138d..7470ed9 100644 --- a/rtic-monotonics/Cargo.toml +++ b/rtic-monotonics/Cargo.toml @@ -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 = [] |
