Commit graph

67 commits

Author SHA1 Message Date
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
Henrik Tjäder
c2d2b1ba38 Add authors to each Cargo.toml
Copy-paste the default one used for the project
2023-03-01 00:35:10 +01:00
Henrik Tjäder
fe77b4538d Add alpha.0 and required Cargo fields 2023-03-01 00:35:10 +01:00
Henrik Tjäder
9c6e2c1c99 Add changelog templates 2023-03-01 00:33:35 +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
a3f48a524b Does CI work again? 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