Commit graph

1191 commits

Author SHA1 Message Date
Henrik Tjäder
628c668988 Remove note about SLEEPONEXIT in Russian book 2021-12-14 22:19:16 +01:00
Henrik Tjäder
8c8f7f12c3 Idle: Switch to NOP instead of WFI
Add example how to get old WFI behaviour
2021-12-14 22:18:17 +01:00
bors[bot]
235484565d
Merge #558
558: Remove #[deny(warnings)], but deny warnings for CI r=korken89 a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2021-11-25 09:48:39 +00:00
Henrik Tjäder
3741d431be Remove #[deny(warnings)], but deny warnings for CI 2021-11-25 10:46:29 +01:00
bors[bot]
4de9eb673a
Merge #557
557: Docs: add RTIC logo r=korken89 a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2021-11-25 09:14:28 +00:00
Henrik Tjäder
2e5c6f8e36 Docs: add RTIC logo 2021-11-25 10:06:58 +01:00
bors[bot]
4f2dd875ff
Merge #554
554: Better errors on when missing to lock shared resources r=perlindgren a=korken89

Old error:

```
error[E0614]: type `value<'_>` cannot be dereferenced
  --> examples/lock_minimal.rs:33:9
   |
33 |         *c.shared.value += 1;
   |         ^^^^^^^^^^^^^^^

```

New error:

```
error[E0614]: type `value_that_needs_to_be_locked<'_>` cannot be dereferenced
  --> examples/lock_minimal.rs:33:9
   |
33 |         *c.shared.value += 1;
   |         ^^^^^^^^^^^^^^^

```

Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-11-11 13:32:35 +00:00
Emil Fresk
6f2aa08910 Better errors on when missing to lock shared resources 2021-11-11 14:22:47 +01:00
bors[bot]
6466aec406
Merge #553
553: Example monotonic for nRF52 r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-11-10 12:53:49 +00:00
Emil Fresk
c060b5a15c Example monotonic for nRF52 2021-11-10 13:46:34 +01:00
bors[bot]
dc7b6146c3
Merge #552
552: Remove example impl and have a list of example impls instead r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-11-10 09:35:29 +00:00
Emil Fresk
1a949b5fd4 Remove example impl and have a list of example impls instead 2021-11-10 10:25:09 +01:00
bors[bot]
1859f44482
Merge #551
551: Updated the monotonic impl chapter r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-11-10 08:53:07 +00:00
Emil Fresk
3b00a2bdb8 Updated the monotonic impl chapter 2021-11-10 09:51:45 +01:00
bors[bot]
b4929032d5
Merge #547
547: New monotonic trait r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-11-09 10:15:11 +00:00
Emil Fresk
5ab5112271 Update versions and changelog 2021-11-09 11:12:04 +01:00
bors[bot]
4f3c5baf49
Merge #549
549: fix #543 r=korken89 a=andrewgazelka

The remaining PR to fix #543 alongside https://github.com/rtic-rs/rtic-syntax/pull/58

Co-authored-by: Andrew Gazelka <andrew.gazelka@gmail.com>
2021-11-09 09:52:28 +00:00
Emil Fresk
0dcb0c4e49 New monotonic trait working 2021-11-09 10:20:43 +01:00
bors[bot]
ae034aec14
Merge #550
550: Release 0.6.0-rc.3 due to breaking change in rtic-syntax naming of shared and local r=korken89 a=AfoHT

`rtic-syntax` got the old multicore concept of `Locations` removed, see https://github.com/rtic-rs/rtic-syntax/pull/61

This updates `cortex-m-rtic` to match this

Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2021-11-09 08:59:36 +00:00
Henrik Tjäder
0492d98916 Bump version to 0.6.0-rc.3 2021-11-08 20:42:04 +01:00
Henrik Tjäder
f7d4b5dc70 CHANGELOG: Add links to v0.6.x 2021-11-08 20:40:59 +01:00
Henrik Tjäder
1438a5b0ea Update changelog from v0.5.x branch 2021-11-08 20:28:57 +01:00
Henrik Tjäder
eb345b7dbb Update CHANGELOG 2021-11-08 18:39:09 +01:00
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