Commit graph

1392 commits

Author SHA1 Message Date
Henrik Tjäder
9f54b4aca8 RTIC macro expansion: Try to find target-dir 2022-01-28 21:21:06 +01:00
bors[bot]
c3c75f2200
Merge #591
591: Fix running command examples in chapter 1.5.5 Monotonic r=AfoHT a=GreenPenguino

Run the right examples in chapter 1.5.5 in the book

Co-authored-by: Erik <erik_97@live.nl>
2022-01-24 15:11:45 +00:00
Erik
2b07e3e0dc Fix running command examples in chapter 1.5.5 Monotonic 2022-01-24 12:27:42 +01:00
bors[bot]
69cacd0597
Merge #588
588: Highlight how to run examples locally r=perlindgren a=AfoHT

How examples are run never gets properly introduced before used in `by-example/resources.md`

Fixes #587 

Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2022-01-22 22:07:37 +00:00
Henrik Tjäder
a34f0205b3 Highlight how to run examples locally 2022-01-21 13:28:14 +01:00
bors[bot]
d51aaf3ad3
Merge #584
584: mq/minor corrections r=korken89 a=mareq



Co-authored-by: Mareq Balint <mareq@balint.eu>
2022-01-08 06:19:22 +00:00
bors[bot]
4a16310443
Merge #585
585: Fix the locals.rs comment r=korken89 a=keadwen

I believe that is a typo s/shared/local_to_bar

Co-authored-by: Jakub Młynarczyk <jkbmlynarczyk@gmail.com>
2022-01-08 06:14:24 +00:00
Jakub Młynarczyk
20f1c396d5
Fix the locals.rs comment
I believe that is a typo s/shared/local_to_bar
2022-01-08 16:36:59 +11:00
Mareq Balint
ce6e014cf0
Correct grammar in 1.5.2 Software tasks & spawn 2022-01-07 22:33:23 +00:00
Mareq Balint
3da25c75cf
Correct wording in 1.2 Resource usage 2022-01-07 22:31:30 +00:00
bors[bot]
2c921ac67c
Merge #580
580: Spawn at periodic r=korken89 a=perlindgren

Examples on drift free usage under RTIC 1.0.

Co-authored-by: Per Lindgren <per.lindgren@ltu.se>
2022-01-06 14:20:20 +00:00
Per Lindgren
305e8295d5 Drift free timing examples 2022-01-04 22:21:57 +01:00
bors[bot]
dcba1a55dd
Merge #579
579: CI: Add link to HackMD to rtic.rs/meeting/ r=perlindgren a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2022-01-04 18:42:03 +00:00
Henrik Tjäder
fcc412dfb9 CI: Add link to HackMD to rtic.rs/meeting/ 2022-01-04 19:38:57 +01:00
bors[bot]
8cff6827d1
Merge #577
577: Added changelog enforcer r=perlindgren a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2022-01-03 17:45:50 +00:00
Emil Fresk
5d645b1311 Added changelog enforcer 2022-01-03 18:37:54 +01:00
bors[bot]
f990268147
Merge #573
573: Improved docs on where the 12 MHz comes from in SysTick r=perlindgren a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-12-26 11:43:54 +00:00
Emil Fresk
7bec234766 Improved docs on where the 12 MHz comes from in SysTick 2021-12-26 11:42:14 +01:00
bors[bot]
5a4bcae1fb
Merge #572
572: cargo xtask is now ~40x faster r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-12-26 10:26:45 +00:00
Emil Fresk
ef4e4aaaa3 cargo xtask is now ~40x faster 2021-12-26 11:05:35 +01:00
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