aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/run.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/run.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/run.rs')
-rw-r--r--xtask/src/run.rs21
1 files changed, 20 insertions, 1 deletions
diff --git a/xtask/src/run.rs b/xtask/src/run.rs
index ff81e6a..a36c98c 100644
--- a/xtask/src/run.rs
+++ b/xtask/src/run.rs
@@ -299,7 +299,26 @@ pub fn cargo_doc<'c>(
backend: Backends,
arguments: &'c Option<ExtraArguments>,
) -> Vec<FinalRunResult<'c>> {
- let features = Some(backend.to_target().and_features(backend.to_rtic_feature()));
+ let extra_doc_features = [
+ "rtic-monotonics/cortex-m-systick",
+ "rtic-monotonics/rp2040",
+ "rtic-monotonics/nrf52840",
+ "imxrt-ral/imxrt1011",
+ "rtic-monotonics/imxrt_gpt1",
+ "rtic-monotonics/imxrt_gpt2",
+ "rtic-monotonics/stm32h725ag",
+ "rtic-monotonics/stm32_tim2",
+ "rtic-monotonics/stm32_tim3",
+ "rtic-monotonics/stm32_tim4",
+ "rtic-monotonics/stm32_tim5",
+ "rtic-monotonics/stm32_tim15",
+ ];
+
+ let features = Some(format!(
+ "{},{}",
+ backend.to_target().and_features(backend.to_rtic_feature()),
+ extra_doc_features.join(",")
+ ));
let command = CargoCommand::Doc {
cargoarg,