Commit graph

1440 commits

Author SHA1 Message Date
Emil Fresk
d6d58b0eb8 Async tasks can now take arguments at spawn again 2023-03-01 00:33:30 +01:00
Emil Fresk
cd790a9428 More work on new spawn/executor 2023-03-01 00:33:29 +01:00
Emil Fresk
1eabb94f04 New executor design 2023-03-01 00:33:29 +01:00
Emil Fresk
95e4949680 Start CI, disable docs building 2023-03-01 00:33:29 +01:00
Emil Fresk
c40c89bb4e Clippy fixes 2023-03-01 00:33:29 +01:00
Emil Fresk
6d252785e8 Support 0 prio tasks 2023-03-01 00:33:28 +01:00
Emil Fresk
35c97b61c1 All examples pass with cargo xtask --target all 2023-03-01 00:33:28 +01:00
Emil Fresk
ceaf3613d3 Update semihosting 2023-03-01 00:33:28 +01:00
Emil Fresk
9a67f00a30 Fix typos 2023-03-01 00:33:28 +01:00
Emil Fresk
cbe5926880 Fix failing UI test 2023-03-01 00:33:27 +01:00
Emil Fresk
584ac7e1b3 Update UI tests, 1 failing that needs fixing 2023-03-01 00:33:27 +01:00
Per Lindgren
9a4f97ca5e more examples 2023-03-01 00:33:24 +01:00
Emil Fresk
5606ba3cf3 Fix locks, basepri writeback error 2023-03-01 00:31:09 +01:00
Per Lindgren
569a761122 examples/multiloc fixed 2023-03-01 00:31:08 +01:00
Emil Fresk
76595b7aed All codegen is now explicit 2023-03-01 00:31:08 +01:00
Per Lindgren
b054e871d4 examples/lock fixed 2023-03-01 00:31:08 +01:00
Per Lindgren
bd20d0d89e examples/locals fixed 2023-03-01 00:31:08 +01:00
Emil Fresk
b9b3ded5e2 Cleanup weird locals in codegen 2023-03-01 00:31:07 +01:00
Per Lindgren
4337e3980c examples/idle-wfi fixed 2023-03-01 00:31:07 +01:00
Per Lindgren
6dc2d29cd9 export Cell removed, expmples updated 2023-03-01 00:31:07 +01:00
Emil Fresk
29228c4723 Main in main codegen 2023-03-01 00:31:07 +01:00
Per Lindgren
9247252cc7 examples/async-task fixup 2023-03-01 00:31:07 +01:00
Emil Fresk
fe2b5cc52e Removed same prio spawn 2023-03-01 00:31:06 +01:00
Emil Fresk
2ad36a6efe Lifetime cleanup 2023-03-01 00:31:06 +01:00
Emil Fresk
511ff675b5 Break codegen for 0-prio async 2023-03-01 00:31:06 +01:00
Emil Fresk
714020a624 Removed Priority, simplified lifetime handling 2023-03-01 00:31:06 +01:00
Emil Fresk
53f3d397e7 More removal 2023-03-01 00:31:05 +01:00
Emil Fresk
3b97531a5c First example builds again 2023-03-01 00:31:05 +01:00
Emil Fresk
858320cbfc Even more cleanup 2023-03-01 00:31:05 +01:00
Emil Fresk
5c3cedf69a Fix fences 2023-03-01 00:31:05 +01:00
Emil Fresk
d27d0fe33f Added software task codegen back 2023-03-01 00:31:05 +01:00
Emil Fresk
f8352122a3 Min codegen 2023-03-01 00:31:04 +01:00
Emil Fresk
d7ed7a8b9f syntax: Remove parse settings struct 2023-03-01 00:31:04 +01:00
Emil Fresk
9829d0ac07 Add check again 2023-03-01 00:31:04 +01:00
Emil Fresk
582c602912 Old xtask test pass 2023-03-01 00:31:01 +01:00
Emil Fresk
7614b96fe4 RTIC v2: Initial commit
rtic-syntax is now part of RTIC repository
2023-03-01 00:29:10 +01:00
bors[bot]
1c5db277e4
Merge #698
698: Release: v1.1.4 r=perlindgren a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2023-02-26 16:33:16 +00:00
Henrik Tjäder
e1a0987dc2 Release: v1.1.4 2023-02-26 17:30:10 +01:00
Henrik Tjäder
dbc6964f88 example: pool: Do not print the addr
Unstable and prone to fail CI
2023-02-26 17:30:09 +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