Per Lindgren
8e58986ebc
executor update for less unsafe and more clear
2023-01-26 22:25:31 +01:00
Emil Fresk
340b08f053
Async tasks can now take arguments at spawn again
2023-01-26 22:25:31 +01:00
Emil Fresk
ad2bf4e77c
More work on new spawn/executor
2023-01-26 22:25:31 +01:00
Emil Fresk
b1cadd79ee
New executor design
2023-01-26 22:25:31 +01:00
Emil Fresk
cb588c9128
Start CI, disable docs building
2023-01-26 22:25:11 +01:00
Emil Fresk
3cfb95a5db
Clippy fixes
2023-01-26 22:22:40 +01:00
Emil Fresk
11f0164448
Support 0 prio tasks
2023-01-26 22:22:40 +01:00
Emil Fresk
d3d0109dd0
All examples pass with cargo xtask --target all
2023-01-26 22:22:39 +01:00
Emil Fresk
1fdcde1ead
Update semihosting
2023-01-26 22:22:39 +01:00
Emil Fresk
01e01643f5
Fix typos
2023-01-26 22:22:39 +01:00
Emil Fresk
796433fad2
Fix failing UI test
2023-01-26 22:22:39 +01:00
Emil Fresk
4d2885e220
Update UI tests, 1 failing that needs fixing
2023-01-26 22:22:39 +01:00
Per Lindgren
e6c9350c89
more examples
2023-01-26 22:22:38 +01:00
Emil Fresk
81874adf4e
Fix locks, basepri writeback error
2023-01-26 22:22:38 +01:00
Per Lindgren
8c90b3f40e
examples/multiloc fixed
2023-01-26 22:22:38 +01:00
Emil Fresk
0b3cf29938
All codegen is now explicit
2023-01-26 22:22:38 +01:00
Per Lindgren
621982fa16
examples/lock fixed
2023-01-26 22:22:37 +01:00
Per Lindgren
77ca19bf73
examples/locals fixed
2023-01-26 22:22:37 +01:00
Emil Fresk
2ce382fddd
Cleanup weird locals in codegen
2023-01-26 22:22:37 +01:00
Per Lindgren
c6fca67ae2
examples/idle-wfi fixed
2023-01-26 22:22:37 +01:00
Per Lindgren
8444ba7054
export Cell removed, expmples updated
2023-01-26 22:22:36 +01:00
Emil Fresk
322c8b9562
Main in main codegen
2023-01-26 22:22:36 +01:00
Per Lindgren
70fff45d4d
examples/async-task fixup
2023-01-26 22:22:36 +01:00
Emil Fresk
efe00ab63c
Removed same prio spawn
2023-01-26 22:22:36 +01:00
Emil Fresk
08d2930fb3
Lifetime cleanup
2023-01-26 22:22:36 +01:00
Emil Fresk
a5195c792b
Break codegen for 0-prio async
2023-01-26 22:22:35 +01:00
Emil Fresk
acd20301be
Removed Priority, simplified lifetime handling
2023-01-26 22:22:33 +01:00
Emil Fresk
e4c95fd26f
More removal
2023-01-26 22:21:24 +01:00
Emil Fresk
c56bb3011f
First example builds again
2023-01-26 22:21:24 +01:00
Emil Fresk
50a05e9d1c
Even more cleanup
2023-01-26 22:21:24 +01:00
Emil Fresk
db44666f1f
Fix fences
2023-01-26 22:21:24 +01:00
Emil Fresk
d27ef902f9
Added software task codegen back
2023-01-26 22:21:24 +01:00
Emil Fresk
b1ae562d4f
Min codegen
2023-01-26 22:21:21 +01:00
Emil Fresk
244b085bcb
syntax: Remove parse settings struct
2023-01-26 22:20:47 +01:00
Emil Fresk
c85a4e34e6
Add check again
2023-01-26 22:20:45 +01:00
Emil Fresk
ac4a3edf90
Old xtask test pass
2023-01-26 22:19:42 +01:00
Emil Fresk
4c2c05a801
RTIC v2: Initial commit
...
rtic-syntax is now part of RTIC repository
2023-01-26 22:00:59 +01:00
bors[bot]
d43c2b64cc
Merge #692
...
692: CFG: Support HW tasks, cleanup for SW tasks r=korken89 a=AfoHT
Fixes #665
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2023-01-25 20:34:49 +00:00
bors[bot]
a601c6e449
Merge #691
...
691: Basic cfg support, kind of, for Monotonics r=korken89 a=AfoHT
- Enable at least masking out a Monotonic
- Add example cfg-ing a Monotonic, showing limitations imposed by rtic-syntax
- Update changelog
The use case detailed in linked issue seems to be covered: Fixes #664
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2023-01-25 20:15:31 +00:00
bors[bot]
a5e18cd529
Merge #686
...
686: Book: Editorial review r=korken89 a=AfoHT
Continuation of https://github.com/rtic-rs/cortex-m-rtic/pull/618
Better late than never...
A big thanks to `@jvanderk` !
Co-authored-by: John van der Koijk <33966414+jvanderk@users.noreply.github.com>
2023-01-25 20:11:17 +00:00
John van der Koijk
04189cc684
Mostly editorial review.
2023-01-25 21:07:38 +01:00
Henrik Tjäder
800904a105
Handle more cfgs, support cfg on HW/SW tasks
2023-01-22 13:38:43 +01:00
Henrik Tjäder
259be7bbf9
Update changelog
2023-01-22 12:13:49 +01:00
Henrik Tjäder
022330bfcb
Add example cfg-ing a Monotonic, showing limitations imposed by rtic-syntax
2023-01-22 12:00:12 +01:00
Henrik Tjäder
be74469ab7
Enable at least masking out a Monotonic
...
Simplest case working, but leaves a lot to ask
as shown by examples/cfg-monotonic.rs
Current `rtic-syntax` is unable to validate and
handle the `cfgs[]` which limits the usefulness
of this.
2023-01-22 12:00:08 +01:00
bors[bot]
3240fb332a
Merge #690
...
690: NVIC prio bits must be in the range 1..=255: Handled by logical2hw() r=korken89 a=AfoHT
Fixes #687
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2023-01-22 07:06:30 +00:00
bors[bot]
b0bda53e4e
Merge #689
...
689: Missing docs: Improve #[doc] generation r=korken89 a=AfoHT
Improve RTIC doc handling
Enable use of
```
#![deny(missing_docs)]
```
and makes the cargo doc output more useful
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2023-01-22 06:57:56 +00:00
Henrik Tjäder
c29e477aa1
Cleanup NVIC prio too high example
2023-01-22 01:19:49 +01:00
Henrik Tjäder
3f74f3b845
Make clippy happy
2023-01-22 00:35:03 +01:00
Henrik Tjäder
7ba23044e6
Update changelog
2023-01-22 00:30:40 +01:00