bors[bot]
3a1d42b614
Merge #571
...
571: Added nRF52 RTC based monotonic to the book r=AfoHT a=korken89
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-12-26 09:46:46 +00:00
Emil Fresk
68fb811a11
Added nRF52 RTC based monotonic to the book
2021-12-26 10:19:04 +01:00
bors[bot]
d8746d669b
Merge #569
...
569: README: Remove rustc badge and Requirements r=korken89 a=perlindgren
Remove rustc badge and requirements to edition 2018.
Co-authored-by: Per Lindgren <per.lindgren@ltu.se>
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-12-26 09:15:17 +00:00
Emil Fresk
19551d50e0
Update README.md
...
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2021-12-26 10:14:17 +01:00
Per Lindgren
bd38a4a0cc
README: User documentation
2021-12-25 19:37:42 +01:00
bors[bot]
be25fdf621
Merge #568
...
568: Docfix: remove pre-release note r=AfoHT a=perlindgren
Co-authored-by: Per Lindgren <per.lindgren@ltu.se>
2021-12-25 17:38:22 +00:00
Per Lindgren
887b068611
README: Remove rustc badge and Requirements
2021-12-25 18:37:29 +01:00
Per Lindgren
28cf223bfd
Docfix: MSRV and Semantic Versioning
2021-12-25 18:15:41 +01:00
Per Lindgren
53306b1a7b
Docfix: remove pre-release note
2021-12-25 17:59:19 +01:00
bors[bot]
152955c18a
Merge #567
...
567: Promote v1.0 in docs r=korken89 a=AfoHT
Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2021-12-25 15:24:00 +00:00
Henrik Tjäder
2d8252f3e5
Promote v1.0 in docs
2021-12-25 16:18:28 +01:00
bors[bot]
bc883e393d
Merge #565 #566
...
565: Edition: Bump to 2021 r=korken89 a=AfoHT
566: v1.0.0 r=korken89 a=AfoHT
This should fail building until all deps are released and accessible on crates.io
(There are some required PRs for edition2021 for each repo, alternatively just bringing in the v1.0 PR should have commits included, we can drop the extra PRs later on)
https://github.com/rtic-rs/rtic-monotonic/pull/6
https://github.com/rtic-rs/rtic-core/pull/22
https://github.com/rtic-rs/rtic-syntax/pull/68
Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2021-12-25 15:05:26 +00:00
bors[bot]
b74ca90f60
Merge #564
...
564: Clippy lints r=korken89 a=AfoHT
Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2021-12-25 14:58:30 +00:00
Henrik Tjäder
2b90cd3433
Bump version to 1.0.0
2021-12-25 14:59:27 +01:00
Henrik Tjäder
c297b4ee8d
Clippy lints
2021-12-25 13:17:16 +01:00
Henrik Tjäder
93ceb6bdef
Edition: Bump to 2021
2021-12-25 13:10:10 +01:00
bors[bot]
c78177c37e
Merge #563
...
563: Docs touchup r=korken89 a=AfoHT
Unleashed some language linters on the book
Co-authored-by: Henrik Tjäder <henrik@grepit.se>
Co-authored-by: perlindgren <per.lindgren@ltu.se>
2021-12-21 19:02:49 +00:00
perlindgren
e249813ad7
Update preface.md
...
polish
2021-12-21 19:55:05 +01:00
perlindgren
d3d650b2c7
Update tips_monotonic_impl.md
...
text polishing
2021-12-21 19:49:09 +01:00
perlindgren
278207e2ec
Update monotonic.md
...
high granularity -> fine grained
2021-12-21 19:43:45 +01:00
Henrik Tjäder
1b1b077961
Review fixup
2021-12-19 10:03:18 +01:00
Henrik Tjäder
e232d7e9df
Docs: New project touchup
2021-12-19 01:33:16 +01:00
Henrik Tjäder
56822dd3b8
Docs: Tips touchup
2021-12-19 01:33:16 +01:00
Henrik Tjäder
a2caef394c
Docs: Point to rtic-examples repo
2021-12-19 01:33:16 +01:00
Henrik Tjäder
8e68c52721
Docs: Migration docs
2021-12-19 01:33:15 +01:00
Henrik Tjäder
833e22da51
Docs: By-example Monotonics
2021-12-19 01:33:15 +01:00
Henrik Tjäder
c55016f4b2
Docs: By-example App priorities and message passing
2021-12-19 01:33:15 +01:00
Henrik Tjäder
2ac0e1b29d
Docs: By-example Software tasks
2021-12-19 01:33:14 +01:00
Henrik Tjäder
4357d8be15
Docs: By-example
2021-12-19 01:33:14 +01:00
bors[bot]
37facfb5bf
Merge #562
...
562: Replace default WFI with simpler NOP r=korken89 a=AfoHT
As noted by #561 there are multiple issues with various hardware implementations and debugging together with sleep modes.
As RTIC strives to be a generic framework (even though this is an implementation targeting cortex-m) the decision having `WFI` as the default `idle` task causes issues in some hardware, raising the barrier to entry.
This changes the default behaviour to do a simple `NOP` instead, adding documentation how to provide a custom `idle` task achieving the old default behaviour. Also removes the automatic setting of SLEEPONEXIT bit when no `idle` was provided, delegating this to the user.
This was discussed on the weekly meeting 2021-12-14 and this was the favoured solution.
Fixes #561
Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2021-12-15 05:46:18 +00:00
Henrik Tjäder
d81a4da6fb
Update changelog
2021-12-14 22:26:16 +01:00
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