Commit graph

143 commits

Author SHA1 Message Date
Per Lindgren
20602bd77c wip tests do not pass 2021-11-03 16:10:10 +01:00
Per Lindgren
426522df6e CI problem fixed, CONTRIBUTION.md now includes CI prep. 2021-11-03 10:07:10 +01:00
Per Lindgren
fdf342c2c6 run tests added 2021-11-03 10:07:10 +01:00
Per Lindgren
fbd7fe9a08 ui tests added 2021-11-03 10:07:10 +01:00
Per Lindgren
6c3d94d73b soundness and cost 2021-11-03 10:07:10 +01:00
Per Lindgren
e0c683b671 soundness and cost 2021-11-03 10:07:10 +01:00
Per Lindgren
0722bf8d15 multilock relock workaround 2021-11-03 10:07:10 +01:00
Per Lindgren
0779bbbe95 comparison between lock approaches 2021-11-03 10:07:10 +01:00
Per Lindgren
b349a32f3d comparison between lock approaches 2021-11-03 10:07:10 +01:00
Per Lindgren
705b2fd62d Destructure reverted (priority leakage fixed) 2021-11-03 10:07:10 +01:00
Per Lindgren
4a8b0cd787 destruction problem solved 2021-11-03 10:07:10 +01:00
Per Lindgren
447507fb46 destruction problem 2021-11-03 10:07:10 +01:00
Per Lindgren
1ba4d1aaca api test, all implemented, TODO hide priority? 2021-11-03 10:07:10 +01:00
Per Lindgren
713c69e1be api test, all implemented, TODO hide priority? 2021-11-03 10:07:10 +01:00
Per Lindgren
cde82dea30 api test (mostly hard coded) 2021-11-03 10:07:10 +01:00
Emil Fresk
9e24fcbbd9 Fix CI 2021-11-03 08:54:18 +01:00
Per Lindgren
56a423cdbe remove outdated comment 2021-10-13 10:37:52 +02:00
Emil Fresk
b71df58f2f The great docs update 2021-09-23 16:11:04 +02:00
Jorge Aparicio
5805a05fac book/resources: rm #[task_local] mention; add #[lock_free] example
the #[task_local] attribute was removed
2021-07-22 09:17:39 +02:00
Jorge Aparicio
ae1f9008a4 comment out line that doesn't compile 2021-07-22 08:28:11 +02:00
Jorge Aparicio
cd4e8183f6 book/resources: remove mentions of the field attribute #[init(<expr>)]
it no longer exists. all resources are now late resources
2021-07-21 15:59:08 +02:00
Jorge Aparicio
6bf1c76d84 book/resources: do not use the lock API in the very first example
instead stick to `#[local]` resources
2021-07-21 15:55:14 +02:00
Jorge Aparicio
18880406cb use tuple struct syntax for Monotonics everywhere 2021-07-21 10:14:00 +02:00
Andrey Zgarbul
bf80035aef rustfmt 2021-07-20 11:44:03 +03:00
mriise
5e92715d8c fix pool example 2021-07-20 01:17:11 -07:00
Andrey Zgarbul
e4319de3d5 const generics 2021-07-09 18:44:19 +03:00
Emil Fresk
8f37043782 Cleanup from review (needs releases to compile) 2021-07-08 23:18:44 +02:00
Emil Fresk
98d2af9d73 Fixing tests 2021-07-07 23:07:09 +02:00
Emil Fresk
6155f1366a Minor cleanup 2021-05-23 14:11:51 +02:00
Emil Fresk
b4509bdbfe Flattened the _ out of it 2021-05-06 19:40:37 +02:00
Emil Fresk
6fc7b96474 use super::xx now works with monotonics 2021-04-22 17:39:07 +02:00
Emil Fresk
fbcf2aabb0 Fix for default monotonic, monotonics::now() now properly works 2021-04-20 10:34:26 +02:00
Emil Fresk
51500a1d70 Fixed UB in spawn_at 2021-04-08 10:14:14 +02:00
Emil Fresk
2068eae928 Type aliases now work in the app module 2021-04-08 09:15:38 +02:00
Emil Fresk
ae691952c3 Updated dwt-systick-monotonic 2021-04-07 11:09:21 +02:00
Emil Fresk
3adda3c766 Updated schedule example with all combinations 2021-03-22 08:24:18 +01:00
Emil Fresk
1087f2ee64 Added interface for cancel/reschedule
Use wrapping add for marker

No need to store handle to queue

Remove unnecessary `SpawnHandle::new`

Fix test

Updated interface to follow proposal
2021-03-13 10:50:56 +01:00
Henrik Tjäder
612efaf0c4 Use panic_semihosting for all examples 2021-03-03 08:53:03 +01:00
Emil Fresk
cd3484cbab GHA update
Fmt fixes

Spawn_after did not work with parameters

Examples working again

Revert "GHA update"

This reverts commit e0a71d4859966a6c5cf2629d3cb27e88acada9c0.

Readd flags

Only add DWT based dep with __v7 flag
2021-02-23 21:03:51 +01:00
Emil Fresk
555f36857e Test fixes 2021-02-20 19:22:45 +01:00
Emil Fresk
6277183906 Now handling SysTick as well 2020-12-13 14:52:16 +01:00
Emil Fresk
1c8de78f6f Cleanup 2020-12-12 23:35:47 +01:00
Emil Fresk
97a48983d2 More work 2020-12-10 20:33:13 +01:00
Emil Fresk
b23bb1192c TQ handlers being generated 2020-12-08 20:49:13 +01:00
Emil Fresk
ef50aeb2e8 Save, init generation fixed 2020-12-03 21:04:06 +01:00
Henrik Tjäder
f957f05b66 Move entry-point main into a separate module
Prevents conflict with user provided tasks named main
2020-11-15 17:28:19 +00:00
Emil Fresk
f111c825ba Added multilock to CI 2020-11-14 17:06:03 +01:00
Emil Fresk
243668df54 Multilock support 2020-11-14 16:02:36 +01:00
Per Lindgren
0cb7cb0ba8 resources 2020-11-12 18:55:11 +01:00
Per Lindgren
96cd625223 extern task 2020-10-29 19:29:46 +01:00