Commit graph

799 commits

Author SHA1 Message Date
Henrik Tjäder
3aaa223be1 Fix broken symlink 2020-10-05 09:19:43 +00:00
bors[bot]
dbf9a7f298
Merge #368
368: Mod over const r=korken89 a=AfoHT

Related [RFC](https://github.com/rtic-rs/rfcs/pull/34)

Dependent on [rtic-syntax-PR30](https://github.com/rtic-rs/rtic-syntax/pull/30)

~~Currently using my own dev-branch~~

Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-10-05 08:40:19 +00:00
Henrik Tjäder
95503b6bdf Use latest rtic-syntax master 2020-10-05 08:24:33 +00:00
bors[bot]
04d415c3c6
Merge #378
378: The stable book should build from branch r=korken89 a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-10-05 08:19:34 +00:00
Henrik Tjäder
03bff3dd80 v must be first in the tag, document the version 2020-10-05 08:09:43 +00:00
Henrik Tjäder
2f3dafe711 Ensure pre-releases are not included 2020-10-05 07:56:53 +00:00
Henrik Tjäder
3021048b77 The stable book should build from branch 2020-10-05 07:50:30 +00:00
bors[bot]
35baf20c61
Merge #377
377: Updated documentation to include the critical section token in init r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2020-10-03 14:34:04 +00:00
Emil Fresk
f0f982faca Updated documentation to include the critical section token in init 2020-10-03 15:30:15 +02:00
Henrik Tjäder
6eff28bf50 Remove leftover v1.36 hacks 2020-10-02 12:37:44 +00:00
Henrik Tjäder
40c7119d7a Prepare the book for v0.6 2020-10-02 12:36:34 +00:00
Henrik Tjäder
65522e4077 Update ui-test 2020-10-02 11:59:40 +00:00
bors[bot]
97eae45fa5
Merge #375
375: close console text blocks on a new line r=AfoHT a=dcarosone

fixes #369

Co-authored-by: Daniel Carosone <Daniel.Carosone@gmail.com>
2020-10-02 11:17:56 +00:00
Daniel Carosone
3d6a0ea64f minor markdownlints 2020-10-02 20:43:52 +10:00
Daniel Carosone
91c2d4850e Shared access is useful with interior mutability 2020-10-02 19:56:17 +10:00
Henrik Tjäder
1482a25186 Describe the resource struct attribute migration steps 2020-10-02 09:55:25 +00:00
Henrik Tjäder
755bb191b6 Merge branch 'mod_const' of github.com:AfoHT/cortex-m-rtic into mod_const 2020-10-02 09:43:03 +00:00
Henrik Tjäder
e6bc673621 Clarify the need for resources-attribute 2020-10-02 09:42:50 +00:00
Daniel Carosone
baa2edfe72 close console text blocks on a new line
fixes #369
2020-10-02 19:38:00 +10:00
Henrik Tjäder
1e46ffdfbc
Merge branch 'master' into mod_const 2020-10-02 11:36:28 +02:00
Henrik Tjäder
9ca10b0d8c Add migration to 0.6 along with updated documentation 2020-10-02 09:33:28 +00:00
bors[bot]
4981af8a4b
Merge #374
374: Multi-core cleanup from the book r=korken89 a=AfoHT



Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2020-10-01 19:41:36 +00:00
Henrik Tjäder
5082f70e5e Remove exports related to heterogeneous multi-core support 2020-10-01 19:13:22 +00:00
Henrik Tjäder
0cc556a75a Remove all of heterogeneous and homogeneous from the book 2020-10-01 19:12:54 +00:00
bors[bot]
decd9112d8
Merge #373
373: Added `bare_metal::CriticalSection` to `init::Context` r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2020-10-01 18:45:04 +00:00
Emil Fresk
86001c46bc Fixing test errors 2020-10-01 20:16:00 +02:00
Emil Fresk
9d2598dc07 Fixing test errors 2020-10-01 20:14:07 +02:00
Emil Fresk
fb61a78cdd Added bare_metal::CriticalSection to init::Context 2020-10-01 20:01:25 +02:00
Emil Fresk
e7f0d9c3e3 Now late resources are always used 2020-10-01 19:38:49 +02:00
Henrik Tjäder
163edd7579 Start updating the book 2020-10-01 16:59:27 +00:00
Henrik Tjäder
05d08c3be5 Use latest mdBook 2020-10-01 16:29:55 +00:00
Henrik Tjäder
96e6350c0d Rename const_app to mod_app 2020-10-01 16:22:37 +00:00
Henrik Tjäder
b4ec6f5eff Fix test output to match GHA runner 2020-09-29 14:57:14 +00:00
Henrik Tjäder
fa4dcdd6e1 Annotate the resource struct 2020-09-29 11:56:56 +00:00
Henrik Tjäder
d7bd8c838a Import panic_halt so semihosting is not attempted
ARMv6 would otherwise differ in output compared to ARMv7
2020-09-29 11:56:56 +00:00
Henrik Tjäder
19b35d7aad Pool example need to import things into the mod 2020-09-29 11:56:56 +00:00
Henrik Tjäder
3ab2c049c5 Remove stale comment 2020-09-29 11:56:56 +00:00
Henrik Tjäder
506e411be6 Update run-pass tests for stable 2020-09-29 11:56:56 +00:00
Henrik Tjäder
4b40ff00b6 Workaround lint for now 2020-09-29 11:56:56 +00:00
Henrik Tjäder
487fea45ce Keep user code as-is within the module, add example 2020-09-29 11:56:56 +00:00
Henrik Tjäder
adff844b8c Add #[resources] to ui/single 2020-09-29 11:33:41 +00:00
Henrik Tjäder
96df0a33b1 All examples use #[resources] attribute 2020-09-29 11:33:41 +00:00
Henrik Tjäder
ec936c3b51 Update test suite output 2020-09-25 14:33:08 +00:00
Henrik Tjäder
262c15083b Remove legacy 1.36.0 2020-09-25 14:33:08 +00:00
Henrik Tjäder
abc50d2c58 Name collision with RTIC-main
With modules the scoping is different and task names collide with main generated by RTIC
2020-09-25 14:33:08 +00:00
Henrik Tjäder
224e1991e0 Update new example to use mod {} 2020-09-25 14:33:08 +00:00
Henrik Tjäder
5b17f8b599 Due to new module boundaries the schedule fn needs to be pub 2020-09-25 14:33:08 +00:00
Henrik Tjäder
a151974245 cfg_core is gone, cargo fmt 2020-09-25 14:33:02 +00:00
Henrik Tjäder
6d234f9c95 Use dev-branch for mod_const 2020-09-25 14:29:34 +00:00
Henrik Tjäder
86578b76fb Add format_ident imports 2020-09-25 14:29:34 +00:00