Commit graph

1318 commits

Author SHA1 Message Date
Henrik Tjäder
03af9b1994 Match new rtic-syntax naming of shared and local 2021-11-07 00:42:57 +01:00
Andrew Gazelka
fb092aa65a
fix #543 2021-11-03 13:01:53 -07:00
bors[bot]
7155b55ac8
Merge #548
548: Fixed aliasing issue due to RacyCell implementation r=perlindgren a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
Co-authored-by: Per Lindgren <per.lindgren@ltu.se>
2021-11-03 08:45:53 +00:00
Emil Fresk
9e24fcbbd9 Fix CI 2021-11-03 08:54:18 +01:00
Emil Fresk
50017b96f0 Fixed aliasing in lock impl 2021-11-03 08:27:05 +01:00
Emil Fresk
d3d66c97ae Cleanup of resource initialization, no need to dereference 2021-11-03 08:26:45 +01:00
Per Lindgren
1e2ab78a3f added doc for RacyCell 2021-11-02 19:47:14 +01:00
Emil Fresk
8065d741ac Fixed aliasing issue due to RacyCell implementation 2021-11-02 13:41:12 +01:00
bors[bot]
b25d775771
Merge #544
544: remove outdated comment r=AfoHT a=perlindgren



Co-authored-by: Per Lindgren <per.lindgren@ltu.se>
2021-10-13 08:41:52 +00:00
Per Lindgren
56a423cdbe remove outdated comment 2021-10-13 10:37:52 +02:00
bors[bot]
ca9088a78b
Merge #539
539: Prepare rc.2 release r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-09-28 09:20:00 +00:00
Emil Fresk
552be420cb Prepare rc.2 release 2021-09-28 10:56:36 +02:00
bors[bot]
0dd97d722e
Merge #538
538: Fix export of SYST r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-09-28 08:40:21 +00:00
Emil Fresk
7c6588e6bd Fix export of SYST 2021-09-28 10:38:22 +02:00
bors[bot]
5e5a4c117c
Merge #535
535: Preparing 0.6.0-rc.1 r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-09-27 13:57:53 +00:00
bors[bot]
e6c5244e7e
Merge #536
536: Fix a bug in the timer queue due to comparison bug in embedded-time r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-09-27 13:43:32 +00:00
Emil Fresk
ea8efa4831 Preparing 0.6.0-rc.1 2021-09-27 15:40:21 +02:00
Emil Fresk
cdab00a0c6 Fix a bug in the timer queue due to comparison bug in embedded-time 2021-09-27 15:39:05 +02:00
bors[bot]
8940c50fa7
Merge #529
529: Updated codegen for the updated syntax (default monotonic priority) r=AfoHT a=korken89

Needs new syntax release before merge.

Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-09-27 13:31:19 +00:00
bors[bot]
58a4920576
Merge #534
534: Fixing bad english r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-09-27 11:43:24 +00:00
Emil Fresk
f37a928c36 Fixing bad english 2021-09-27 13:42:44 +02:00
Emil Fresk
9a0d27a91e Updated codegen for the updated syntax (default monotonic priority) 2021-09-27 12:10:42 +02:00
bors[bot]
380a20859c
Merge #533
533: More docs updates r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-09-27 08:31:00 +00:00
Emil Fresk
63c6a6afc0 More docs updates 2021-09-27 10:20:19 +02:00
bors[bot]
f0c3199825
Merge #528
528: The great 0.6 docs update r=AfoHT a=korken89

Closes #530
Closes #527
Closes #487
Closes #461
Closes #448
Closes #440
Closes #422

Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-09-25 17:09:54 +00:00
Emil Fresk
b71df58f2f The great docs update 2021-09-23 16:11:04 +02:00
bors[bot]
c8621d78b9
Merge #526
526: implement run-pass tests as xtasks r=korken89 a=Lotterleben

resolves https://github.com/rtic-rs/cortex-m-rtic/issues/499 .

With this PR, you should be able to run `cargo xtask --target <desired target>` or `cargo xtask --target all` locally. Of course, it also reconfigures the CI workflow to do the same.

Note that I've translated the old `Run-pass tests` verbatim for now, which means the code includes checks for a `"types"`example which doesn't exist anymore.

The examples could be collected much more nicely to prevent leftovers like this in the future, but imo that could also be achieved in a separate PR.

Co-authored-by: Lotte Steenbrink <lotte.steenbrink@ferrous-systems.com>
2021-09-21 13:00:12 +00:00
Lotte Steenbrink
7f45254e39 start with a clean ci/builds always 2021-09-20 18:46:15 +02:00
Lotte Steenbrink
7ce4391e4e improve xtask repo root check to not break our fork CI# 2021-09-20 18:46:15 +02:00
Lotte Steenbrink
d172df6f0a implement run-pass tests as xtasks
`
2021-09-16 16:31:30 +02:00
bors[bot]
bf9df9fe73
Merge #525
525: Cleanup export and actually use rtic::export, made fn init inline r=perlindgren a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-09-14 17:17:33 +00:00
Emil Fresk
addb086070 Cleanup export and actually use rtic::export, made fn init inline 2021-09-14 16:13:28 +02:00
bors[bot]
f46b22f797
Merge #522
522: validate unused dispatchers r=AfoHT a=japaric

closes #521

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2021-08-31 18:08:33 +00:00
Jorge Aparicio
da1fd6166e fix UI test, take 2 2021-08-31 20:01:10 +02:00
Jorge Aparicio
c4404e59a1 fix UI test 2021-08-31 19:54:48 +02:00
Jorge Aparicio
38bd29779e style fix 2021-08-31 19:53:55 +02:00
Jorge Aparicio
1a49d67490 validate unused dispatchers
closes #521
2021-08-31 19:50:50 +02:00
bors[bot]
3ef650832a
Merge #518
518: Fix link for SLEEPONEXIT r=korken89 a=newAM



Co-authored-by: Alex Martens <alexmgit@protonmail.com>
2021-08-27 04:43:09 +00:00
bors[bot]
cd37e3a72c
Merge #519
519: Update README to highlight `cortex-m` 0.6 vs 0.7 new feature r=korken89 a=jorgeig-space

This is just a general README update. I will open another PR for the rust-doc text in branch 0.5.x, in case there is a  new release of 0.5.x at some point.

Co-authored-by: Jorge Iglesias Garcia <44316552+jorgeig-space@users.noreply.github.com>
Co-authored-by: Jorgeig <jorge@jorgeig.com>
2021-08-27 04:37:04 +00:00
Jorge Iglesias Garcia
eec2e9c154
Revert CI changes 2021-08-27 12:00:33 +08:00
Jorge Iglesias Garcia
58c2b6c829
Update README.md 2021-08-27 11:55:20 +08:00
Jorge Iglesias Garcia
2457af1612
Update README.md 2021-08-27 11:24:30 +08:00
Jorge Iglesias Garcia
77427f962d
Merge branch 'rtic-rs:master' into master 2021-08-27 11:16:51 +08:00
Alex Martens
81a7722ab6 Fix link for SLEEPONEXIT 2021-08-26 14:29:18 -07:00
bors[bot]
22ec841ee1
Merge #516
516: More rustanalyzer lint fixes r=korken89 a=korken89

Found some more

Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-08-20 07:27:07 +00:00
Emil Fresk
52dc324aa7 More rustanalyzer lint fixes 2021-08-20 09:21:02 +02:00
bors[bot]
f77b81e0ee
Merge #515
515: `mark_internal_ident` cleanup r=korken89 a=datdenkikniet

Refactor so that all `idents` that had to call `mark_ident_internal` before now call `mark_name_internal` in the `util` module by default.

The commits can (and probably should) be squashed, they're separated for clarity.

Fixes #512

Co-authored-by: datdenkikniet <jcdra1@gmail.com>
2021-08-20 06:50:43 +00:00
datdenkikniet
cdbd8a2ced Use mark_internal_name by default for methods in util to make usage of these functions more straightforward.
fq_ident is always internal

rq_ident is always internal

monotonic_ident is always internal

inputs_ident is always internal

local_resources_ident is always internal

shared_resources_ident is always internal

monotonic_instants_ident is always internal

tq_ident is always internal

timer_queue_marker_ident is always internal

static_shared_resource_ident is always internal

static_local_resource_ident is always internal

declared_static_local_resource_ident is always internal

Only names, not idents, are now marked as internal

Use same rtic internal everywhere
2021-08-20 08:12:13 +02:00
bors[bot]
3bf5a4f7a0
Merge #514
514: Silence rust-analyzer warnings on internal types r=korken89 a=AfoHT

Continues the work started in #513


Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2021-08-19 11:09:47 +00:00
Henrik Tjäder
018e4a121f Silence rust-analyzer warnings on internal types 2021-08-19 13:02:17 +02:00