Commit graph

1123 commits

Author SHA1 Message Date
Emil Fresk
53c407017f Cancel and reschedule working
Support cfgs in the imports

Account for extern tasks
2021-03-20 08:19:56 +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
Emil Fresk
4bdc187912 Macros version 2021-03-13 10:50:45 +01:00
Emil Fresk
3c86d713a6
Merge pull request #455 from rtic-rs/macros_version
Macros version
2021-03-04 20:48:22 +01:00
Emil Fresk
47f9ffcf5e Macros version 2021-03-04 20:37:15 +01:00
bors[bot]
223f093a0e
Merge #454
454: Add periodic GHA job to run cargo audit r=korken89 a=AfoHT

With the recent generic-array issue affecting heapless it seems wise to stay up to date with the latest advisories.

Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2021-03-04 19:23:17 +00:00
Henrik Tjäder
856d0ccb2f Add periodic GHA job to run cargo audit 2021-03-04 20:22:15 +01:00
bors[bot]
89a5c8004e
Merge #436
436: New monotonic r=AfoHT a=korken89

Design document: https://hackmd.io/vWa9GvssR8qBfUYgMZm0CQ

Closes #433 
Closes #432
Closes #427
Closes #426 
Closes #403
Closes #332
Closes #312 
Closes #309 
Closes #299 
Closes #292
Closes #247
Closes #219

Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-03-04 19:12:35 +00:00
Emil Fresk
2e4a4ffd87 Preparing release 0.6.0-alpha.1 2021-03-04 20:00:03 +01:00
Emil Fresk
4714b8ee54
Merge pull request #450 from AfoHT/testssingleonly
Cleanup of tests, solve duplicate panic handler error
2021-03-03 09:22:45 +01:00
Henrik Tjäder
5e5fbf0ee9 Fix the UI tests, remove panic_halt 2021-03-03 09:11:24 +01:00
Henrik Tjäder
8ec505c495 Update the GHA job to run the tests test 2021-03-03 08:55:38 +01:00
Henrik Tjäder
48613f568b Update the tests file to find the tests 2021-03-03 08:55:23 +01:00
Henrik Tjäder
a5795a8f45 Remove keyword single for all tests 2021-03-03 08:55:19 +01:00
Henrik Tjäder
612efaf0c4 Use panic_semihosting for all examples 2021-03-03 08:53:03 +01:00
Emil Fresk
08a37d6d3d Updated spawn_after docs 2021-03-02 19:31:47 +01:00
Emil Fresk
3a64a3e276 Bump heapless 2021-03-02 16:30:59 +01:00
Emil Fresk
d351f55e1c Documentation generation fixes
Test fixes
2021-02-25 19:16:28 +01:00
Emil Fresk
767d46e05b Review fixes 2021-02-25 17:32:12 +01:00
Emil Fresk
70ea278f86 No need for new rtic-core 2021-02-23 21:20:21 +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
670cdb92d3 Test output fix 2021-02-23 19:30:54 +01:00
Emil Fresk
210197d079 Remove flags, updates UI tests 2021-02-23 19:29:15 +01:00
Emil Fresk
26870ae12e Use zero time in init for spawn_after to not cause panic 2021-02-22 21:47:59 +01:00
Emil Fresk
56d99c02bd Updated to new interface 2021-02-22 20:59:23 +01:00
Emil Fresk
82d051e8e9 Added enable/disable timer calls 2021-02-22 20:59:03 +01:00
Emil Fresk
e52088bbd8 Of by 1 2021-02-22 20:15:13 +01:00
Emil Fresk
1345f30a69 Properly call on_interrupt 2021-02-21 21:57:18 +01:00
Emil Fresk
1a46345a2a Fixed UB in generated Monotonic::now() 2021-02-21 16:15:34 +01:00
Emil Fresk
555f36857e Test fixes 2021-02-20 19:22:45 +01:00
Emil Fresk
d02f9a0241 Fixing warnings 2021-02-20 18:32:05 +01:00
Emil Fresk
ebf2f058a4 Now with new monotonic trait and crate 2021-02-18 19:30:59 +01:00
Emil Fresk
b57ef0bf9d Merge branch 'master' into new_monotonic 2021-02-06 21:34:16 +01:00
bors[bot]
81a8a59135
Merge #445
445: Minor grammar correction r=korken89 a=barnabywalters

you -> your

Co-authored-by: Barnaby Walters <barnaby@waterpigs.co.uk>
2021-02-06 06:38:42 +00:00
Barnaby Walters
f7767aabea
Minor grammar correction
you -> your
2021-02-05 23:09:06 +01:00
Emil Fresk
6fb43fa97b Minor fixes 2021-02-04 20:22:02 +01:00
bors[bot]
6cbf98ff70
Merge #437
437: Bump cortex-m to 0.7.0 r=korken89 a=nickray



Co-authored-by: Nicolas Stalder <n@stalder.io>
2021-01-19 19:28:15 +00:00
bors[bot]
e208b04415
Merge #442
442: Remove GHA ci-failure job r=perlindgren a=AfoHT

Try fixing GHA by removing the ci-failure job

[Related change in Bors](https://github.com/bors-ng/bors-ng/issues/1129)

Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2021-01-19 19:10:51 +00:00
Henrik Tjäder
7f7c5b025a Update the hashes related rust 2021-01-19 20:01:34 +01:00
Henrik Tjäder
fa2de97d87 Remove the ci-failure GHA job 2021-01-19 19:39:21 +01:00
Emil Fresk
0658d53843 cleanup 2021-01-10 15:47:25 +01:00
Nicolas Stalder
503366c791 Bump hashes for Rust 1.49 2021-01-04 17:57:25 +01:00
Nicolas Stalder
aa90cb1484 Bump cortex-m to 0.7.0 2021-01-04 16:07:17 +01:00
Emil Fresk
aaa92ea2fa Cleanup 2020-12-13 17:48:11 +01:00
Emil Fresk
6277183906 Now handling SysTick as well 2020-12-13 14:52:16 +01:00
Emil Fresk
0e134a41b5 Double check the compare instant 2020-12-13 14:20:28 +01:00
Emil Fresk
dd52539e32 Less ... hacky? 2020-12-13 00:09:44 +01:00
Emil Fresk
35b4ec0d04 Reexport embedded-time as rtic::time 2020-12-13 00:06:50 +01:00
Emil Fresk
1c8de78f6f Cleanup 2020-12-12 23:35:47 +01:00
Emil Fresk
8e8ec9b7b8 Monotonic codegen now passing compile stage 2020-12-12 23:24:54 +01:00