From 8c23e178f3838bcdd13662a2ffefd39ec144e869 Mon Sep 17 00:00:00 2001 From: Finomnis Date: Thu, 11 Apr 2024 00:00:38 +0200 Subject: Monotonic rewrite (#874) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- xtask/src/argument_parsing.rs | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) (limited to 'xtask/src/argument_parsing.rs') 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", ][..] }; -- cgit v1.2.3