Commit graph

15 commits

Author SHA1 Message Date
Henrik Tjäder
98c5490d94 rtic-monotonics: Fix tests 2023-03-04 21:58:45 +01:00
Henrik Tjäder
44af136605 CFG: Align all crates to use hyphen 2023-03-04 20:22:45 +01:00
Emil Fresk
b9e0f36aff Add feature flags 2023-03-01 00:35:20 +01:00
datdenkikniet
002d0b0d16 Make embedded-hal-async dependency optional for better compatibility with HALs
Some hals implement traits for embedded-hal version `=1.0.0.alpha.<not 9>`, which is
explicitly incompatible with the version `=1.0.0.alpha.9` which embedded-hal-async
depends on. Making the dependency optional allows downstream projects to include
rtic-monotonic without requiring that all of their other libraries also implement
that specific version of embedded-hal 1.0
2023-03-01 00:35:19 +01:00
datdenkikniet
60d5e9e1db Fix spelling on "cortex_m_systick" 2023-03-01 00:35:19 +01:00
Emil Fresk
b566a89393 rtic-monotonics: Feature gate monotonics correctly to support multiple MCUs 2023-03-01 00:35:19 +01:00
Emil Fresk
8963e0e27a RP2040 monotonic, rename systick monotonic to not have double name 2023-03-01 00:35:19 +01:00
Henrik Tjäder
858160a55d rtic-monotonics: Simplify features, default is 1kHz
Make 100 Hz or 10 kHz opt in through features,
which are meant for testing primarily.
2023-03-01 00:35:13 +01:00
Emil Fresk
b6fdb9060b Simplify Systick Monotonic by integrating the TQ 2023-03-01 00:35:11 +01:00
Emil Fresk
82f2f08349 Make xtask pass, clean up rtic Cargo.toml 2023-03-01 00:35:11 +01:00
Emil Fresk
922f1ad0eb Added examples for async crates + fixed codegen for non-Copy arguments 2023-03-01 00:33:34 +01:00
Henrik Tjäder
1baa4a4228 CI: Don't let warnings get away 2023-03-01 00:33:34 +01:00
Emil Fresk
bdf577c308 Systick runs at 1 kHz 2023-03-01 00:33:32 +01:00
Emil Fresk
71b5f9438e Fixed systick monotonic 2023-03-01 00:33:31 +01:00
Emil Fresk
306aa47170 Add rtic-timer (timerqueue + monotonic) and rtic-monotonics (systick-monotonic) 2023-03-01 00:33:31 +01:00