Commit graph

43 commits

Author SHA1 Message Date
Nils Fitinghoff
4ea73021d6 rtic-monotonics: Add 64-bit SysTick monotonic
Counting at 1 kHz, 32 bits for counting ticks is not enough to ensure
monotonicity for more than 50 days. Add a feature to change the backing
storage to 64 bits.
2023-08-25 15:16:18 +00:00
Emil Fresk
df66163ace Bump embedded-hal-async in rtic-monotonics 2023-08-20 11:03:35 +00:00
Emil Fresk
5b2d722446 Support RP2040 PAC v0.5 in rtic-monotonics 2023-08-08 10:00:20 +00:00
Emil Fresk
0228350ef4 Fixed new TAIT requirement and release v2.0.1 of RTIC 2023-07-25 08:16:13 +00:00
Henrik Tjäder
e8863a45e6 Changelog: Monotonics: Add date 2023-07-01 04:00:30 +00:00
Emil Fresk
c3884e212c v2.0 release 2023-05-25 08:27:58 +02:00
Emil Fresk
ce3804dc92 Prepare release of rtic-monotonics with new eha version 2023-04-23 21:49:57 +02:00
datdenkikniet
9eae3ed4be Update embedded-hal-async 2023-04-23 17:31:51 +02:00
bors[bot]
55083fb3cc
Merge #736
736: More `xtasks` and add examples to `rtic` repo r=korken89 a=datdenkikniet

This was in #732 before, but decluttering that PR seemed sensible

Co-authored-by: datdenkikniet <jcdra1@gmail.com>
2023-04-16 19:19:09 +00:00
datdenkikniet
2db26c1015 Deny on warnings in xtasks 2023-04-16 13:08:46 +02:00
datdenkikniet
401c636215 rtic-monotonics: Add some docs 2023-04-15 19:19:49 +02:00
Emil Fresk
69ad6df2ed rtic-monotonics: export fugit the same for all monotonics 2023-04-10 21:38:26 +02:00
Emil Fresk
66780d8a7b Fix if a enqueued instant is first in a non-empty queue 2023-04-08 22:11:12 +02:00
Emil Fresk
0bb5814443 Fix monotonics race 2023-04-05 20:20:55 +02:00
Emil Fresk
aeec8bd41b Add setting of priority to interrupts 2023-04-04 21:40:19 +02:00
Emil Fresk
a2f153249f Added nRF monotonics 2023-04-02 15:19:07 +02:00
Emil Fresk
ee6e6938f6 Update monotonic token macro names 2023-03-29 20:09:36 +02:00
Yandrik
ef12ae6b04 refactor: re-formatted files 2023-03-15 20:17:26 +01:00
Yandrik
60e5232ee9 doc(monotonic): added update description to changelog 2023-03-15 20:15:44 +01:00
Yandrik
28790218c0 refactor(macro): changed not-yet-changed crate names to $crate 2023-03-15 20:15:20 +01:00
Yandrik
a071ab05b2 refactor(macro): used $crate for better interop 2023-03-15 20:04:27 +01:00
bors[bot]
534d42edf5
Merge #702
702: Monotonics interrupt token r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2023-03-11 20:18:58 +00:00
Emil Fresk
e4d9284e25 rtic-monotonics: Add interrupt tokens to make sure users bind interrupts 2023-03-11 20:59:26 +01:00
Emil Fresk
19bab47bba rtic-monotonics: Unmask the RP2040 timer 2023-03-11 20:28:24 +01:00
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
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