Commit graph

1715 commits

Author SHA1 Message Date
bors[bot]
2482719e92
Merge #728
728: Add test for timer queue & monotonic r=korken89 a=datdenkikniet

Add an `std`-runnable test fixture and a `Monotonic` implementation for testing the `TimerQueue`

Co-authored-by: datdenkikniet <jcdra1@gmail.com>
2023-04-10 17:23:59 +00:00
datdenkikniet
413b985f12 Small cleanup 2023-04-10 13:40:01 +02:00
datdenkikniet
53fbf30514 Clean up 2023-04-10 13:19:23 +02:00
datdenkikniet
5bcbe92f55 Use artificial time instead 2023-04-10 13:06:27 +02:00
datdenkikniet
25c2c59a42 Add feature to xtask test for rtic-time 2023-04-10 10:57:22 +02:00
datdenkikniet
452bad69b4 Do not activate critical-section/std by default 2023-04-10 10:52:21 +02:00
datdenkikniet
d445b20b18 Add test for timer queue & monotonic 2023-04-10 10:42:29 +02:00
bors[bot]
2fb09d4a6d
Merge #727
727: Fix if a enqueued instant is first in a non-empty queue r=perlindgren a=korken89

Fixes #715 

Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2023-04-09 14:48:26 +00:00
Emil Fresk
66780d8a7b Fix if a enqueued instant is first in a non-empty queue 2023-04-08 22:11:12 +02:00
bors[bot]
d9f2980c38
Merge #726
726: Fix monotonic dep r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2023-04-05 19:39:37 +00:00
Emil Fresk
bc5798d7f0 Fix monotonic dep 2023-04-05 21:38:07 +02:00
bors[bot]
14935a86a2
Merge #725
725: Less keywords r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2023-04-05 19:31:41 +00:00
Emil Fresk
f0a59e3441 Less keywords 2023-04-05 21:29:17 +02:00
bors[bot]
960234bf76
Merge #724
724: Fix macros README path r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2023-04-05 19:22:12 +00:00
Emil Fresk
acc76c0355 Fix macros README path 2023-04-05 21:20:26 +02:00
bors[bot]
539d4b1674
Merge #723
723: Fix monotonics race r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2023-04-05 18:22:41 +00:00
Emil Fresk
0bb5814443 Fix monotonics race 2023-04-05 20:20:55 +02:00
bors[bot]
72ae46083e
Merge #721
721: Added nRF monotonics r=perlindgren a=korken89

Testing completed

Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2023-04-04 20:03:58 +00: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
064cf19265
Merge pull request #709 from romancardenas/master
cortex-m as optional dependency
2023-03-29 21:18:17 +02:00
Román Cárdenas
ce508a1882
Merge branch 'master' into master 2023-03-29 21:07:36 +02:00
bors[bot]
31055fa64a
Merge #719
719: Adding a limit that async HALs can read and have as max prio r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2023-03-29 18:56:07 +00:00
Emil Fresk
323b847bf6 Adding a limit that async HALs can read and have as max prio 2023-03-29 20:46:24 +02:00
bors[bot]
2a17a056d0
Merge #712
712: book: fix link to example sources r=AfoHT a=ottojo



Co-authored-by: Jonas Otto <jonas@jonasotto.com>
2023-03-29 18:37:25 +00:00
bors[bot]
0c2272ce25
Merge #710
710: Start async tasks at lowest priority r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2023-03-29 18:32:15 +00:00
bors[bot]
56f7c61aa8
Merge #718
718: Update monotonic token macro names r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2023-03-29 18:13:02 +00:00
Emil Fresk
ee6e6938f6 Update monotonic token macro names 2023-03-29 20:09:36 +02:00
Jonas Otto
8988483488
fix link to example sources 2023-03-22 11:25:01 +01:00
Román Cárdenas
06ddfb7ab8 explicit rtic::export::pend on macros 2023-03-20 07:59:42 +01:00
Emil Fresk
48e5acf294 Start async tasks at lowest priority 2023-03-19 22:15:36 +01:00
Román Cárdenas
216186cb60 Update changelog 2023-03-19 20:28:36 +01:00
Román Cárdenas
6da7f63fb3 cortex-m as optional dependency 2023-03-19 20:22:32 +01:00
bors[bot]
3a0e2ac924
Merge #706
706: ci/tuneverboselevel r=korken89 a=AfoHT

- xtask: Change default loglevel
- xtask: Fix cargo fmt logmsg
- ci: xtask default verbosity


Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2023-03-15 19:48:33 +00:00
Henrik Tjäder
0b88c26f3f ci: xtask default verbosity 2023-03-15 20:43:51 +01:00
Henrik Tjäder
88b435c2f8 xtask: Fix cargo fmt logmsg 2023-03-15 20:32:58 +01:00
Henrik Tjäder
96aa385b55 xtask: Change default loglevel 2023-03-15 20:32:39 +01:00
bors[bot]
d18955a134
Merge #703
703: fix(rtic-sync): used fully qualified paths in Channel Macro r=korken89 a=Yandrik

Other imports with the name `Channel` (e.g. from Embassy) broke this macro. Now they don't.

Co-authored-by: Yandrik <me@yandrik.dev>
2023-03-15 19:21:13 +00: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]
e145269914
Merge #704
704: ci: Run xtask format-check verbosely r=korken89 a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2023-03-15 19:02:55 +00:00
Henrik Tjäder
8d8cd1dc86 ci: Run xtask format-check verbosely 2023-03-15 19:27:57 +01:00
Yandrik
15b9db4c5d refactor: re-formatted channel.rs file 2023-03-15 15:18:31 +01:00
Yandrik
f2643a0076 fix(rtic-sync): used fully qualified paths in Channel Macro 2023-03-15 14:33:29 +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
bors[bot]
dd899ab77f
Merge #701
701: rtic-monotonics: Unmask the RP2040 timer r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2023-03-11 20:12:00 +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