Commit graph

1455 commits

Author SHA1 Message Date
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
bors[bot]
2f180c0e3f
Merge #513
513: Fixed some lints from Rust Analyzer with experimental proc-macros r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-08-19 07:57:20 +00:00
Emil Fresk
13f7516a4d Fixed some lints from Rust Analyzer with experimental proc-macros 2021-08-19 09:49:00 +02:00
bors[bot]
6b9966678c
Merge #511
511: Remove linked list impl - use heapless, linked list init now const fn r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-08-17 12:21:20 +00:00
Emil Fresk
bc3eb5c547 Remove linked list impl - use heapless, linked list init now const fn 2021-08-16 15:38:31 +02:00
bors[bot]
74b3964978
Merge #508
508: update russian book r=AfoHT a=burrbull



Co-authored-by: Andrey Zgarbul <zgarbul.andrey@gmail.com>
2021-08-16 11:41:49 +00:00
Jorgeig
a4b6fb3404 Add branches to CI 2021-08-11 11:28:23 +08:00
Jorgeig
c5585271e6 Add branches to CI 2021-08-11 11:27:27 +08:00
Jorge Iglesias Garcia
50ff1bfae4
Update build.yml
Add a "test" branch
2021-08-11 00:50:37 +08:00
Andrey Zgarbul
9134f7d36a update russian book 2021-08-03 22:40:33 +03:00
bors[bot]
8ddfcf8efc
Merge #504
504: Add links to RTIC book dev version and rtic-examples r=japaric a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2021-08-03 15:32:52 +00:00
bors[bot]
6674848111
Merge #506
506: book: Add note to remember to choose target r=AfoHT a=CuriouslyCurious

While following the instructions in the book I ran into a wall. I was getting linker errors and had no idea why. Turns out trying to run `cargo build --example init` on an x86 build target maybe doesn't work too well, so I added a note about it. 😅

I'll leave this as a draft since my Russian isn't fluent enough to add the note there as well. Also, adding a modified version of `.config/cargo.toml` from the embedded example might be a decent idea but wanted to hear from you guys first. :P

Co-authored-by: CuriouslyCurious <thecuriouslycurious@protonmail.com>
2021-08-02 14:56:06 +00:00
bors[bot]
c867f5ff9a
Merge #507
507: GHA: Fix 1.54 formatting change r=korken89 a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2021-08-02 14:24:52 +00:00
Henrik Tjäder
fe1de5cbf7 GHA: Fix 1.54 formatting change 2021-08-02 14:56:15 +02:00