aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/argument_parsing.rs
diff options
context:
space:
mode:
authorFinomnis <Finomnis@users.noreply.github.com>2024-04-11 00:00:38 +0200
committerGitHub <noreply@github.com>2024-04-10 22:00:38 +0000
commit8c23e178f3838bcdd13662a2ffefd39ec144e869 (patch)
treef2d2cefcd6bb2876e74ee6035b5489a4a2d9590f /xtask/src/argument_parsing.rs
parente4cc5fd17b8a2df332af0ee25c8bd7092e66afb0 (diff)
Monotonic rewrite (#874)
* Rework timer_queue and monotonic architecture Goals: * make Monotonic purely internal * make Monotonic purely tick passed, no fugit involved * create a wrapper struct in the user's code via a macro that then converts the "now" from the tick based monotonic to a fugit based timestamp We need to proxy the delay functions of the timer queue anyway, so we could simply perform the conversion in those proxy functions. * Update cargo.lock * Update readme of rtic-time * CI: ESP32: Redact esp_image: Too volatile * Fixup: Changelog double entry rebase mistake --------- Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
Diffstat (limited to 'xtask/src/argument_parsing.rs')
-rw-r--r--xtask/src/argument_parsing.rs37
1 files changed, 20 insertions, 17 deletions
diff --git a/xtask/src/argument_parsing.rs b/xtask/src/argument_parsing.rs
index f72be77..c327af8 100644
--- a/xtask/src/argument_parsing.rs
+++ b/xtask/src/argument_parsing.rs
@@ -64,25 +64,28 @@ impl Package {
}
Package::RticMonotonics => {
let features = if partial {
- &["cortex-m-systick", "rp2040", "nrf52840"][..]
+ &[
+ "cortex-m-systick",
+ "rp2040",
+ "nrf52840",
+ "imxrt_gpt1,imxrt-ral/imxrt1062",
+ "stm32_tim2,stm32h725ag",
+ ][..]
} else {
&[
- "cortex-m-systick,embedded-hal-async",
- "cortex-m-systick,systick-100hz,embedded-hal-async",
- "cortex-m-systick,systick-10khz,embedded-hal-async",
- "cortex-m-systick,embedded-hal-async,systick-64bit",
- "cortex-m-systick,systick-100hz,embedded-hal-async,systick-64bit",
- "cortex-m-systick,systick-10khz,embedded-hal-async,systick-64bit",
- "rp2040,embedded-hal-async",
- "nrf52810,embedded-hal-async",
- "nrf52811,embedded-hal-async",
- "nrf52832,embedded-hal-async",
- "nrf52833,embedded-hal-async",
- "nrf52840,embedded-hal-async",
- "nrf5340-app,embedded-hal-async",
- "nrf5340-net,embedded-hal-async",
- "nrf9160,embedded-hal-async",
- "imxrt_gpt1,imxrt-ral/imxrt1062,embedded-hal-async",
+ "cortex-m-systick",
+ "cortex-m-systick,systick-64bit",
+ "rp2040",
+ "nrf52810",
+ "nrf52811",
+ "nrf52832",
+ "nrf52833",
+ "nrf52840",
+ "nrf5340-app",
+ "nrf5340-net",
+ "nrf9160",
+ "imxrt_gpt1,imxrt_gpt2,imxrt-ral/imxrt1062",
+ "stm32_tim2,stm32_tim3,stm32_tim4,stm32_tim5,stm32_tim15,stm32h725ag",
][..]
};