Commit graph

797 commits

Author SHA1 Message Date
Jorge Aparicio
3dd6df0bd0 CI: build 0.4 docs from the v0.4.x branch
instead of using a specific tag; this way documentation changes done to the
v0.4.x branch will show up on the site as soon as they land -- right now they
require publishing a new v0.4.x release on crates.io and manually updating the
`after-success.sh` build script on master
2019-10-25 13:59:23 -05:00
bors[bot]
f9b30a1ff8
Merge #259
259: Fixed peripherals -> device typo r=japaric a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2019-10-23 18:34:01 +00:00
Emil Fresk
1ba2b5abbe Fixed peripherals -> device typo 2019-10-23 20:31:33 +02:00
bors[bot]
7d2fa7014d
Merge #257
257: do not zero late resource memory on boot r=korken89 a=japaric

this is done using the `.uninit` linker section; this optimization was already
being applied to message buffers but I forgot to also apply it to late resources

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-10-22 05:29:23 +00:00
Jorge Aparicio
9f092efe24 do not zero late resource memory on boot 2019-10-21 16:38:04 -05:00
Jorge Aparicio
1fe9767eba version v0.5 is still beta 2019-10-17 12:00:45 -05:00
bors[bot]
e82fb497f0
Merge #256
256: add migration guide r=korken89 a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-10-17 06:16:43 +00:00
Jorge Aparicio
4b61c345eb ARMv7-M+ 2019-10-16 16:36:06 -05:00
Jorge Aparicio
66a1993f5d add migration guide 2019-10-16 14:39:02 -05:00
bors[bot]
47e4d99907
Merge #255
255: more monotonic timer docs r=nils-grepit a=japaric

covers

- initialization and configuration of the timer; this is now a responsibility of
  the application author
- correctness of `Monotonic::now()` in `#[init]`
- safety of `Monotonic::reset()`

closes #251
cc @jonas-schievink

(EDIT: yay, pull request number 0xFF)

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-10-16 19:07:28 +00:00
Jorge Aparicio
1ccacf2102
Update book/en/src/by-example/timer-queue.md
Co-Authored-By: Jonas Schievink <jonasschievink@gmail.com>
2019-10-16 17:04:42 +00:00
Jorge Aparicio
a458a07031 cyccnt::Instant: simplify the Send / Sync impl
originally the type was made `!Send` because it loses its meaning when
send from one core to another but that was an incorrect use of the `Send`
bound (the send operation makes the value incorrect but that doesn't cause
memory unsafety on its own). So later the type was (explicitly) made `Send`
again resulting in a convoluted implementation -- this commit simplifies things.
2019-10-15 19:31:46 -05:00
Jorge Aparicio
6207008884 document the limitations of cyccnt::{Instant,Duration} 2019-10-15 19:11:35 -05:00
Jorge Aparicio
eef4e7bf79 more monotonic timer docs
covers

- initialization and configuration of the timer; this is now a responsibility of
  the application author
- correctness of `Monotonic::now()` in `#[init]`
- safety of `Monotonic::reset()`

closes #251
2019-10-15 18:44:49 -05:00
bors[bot]
8a1f009c34
Merge #252
252: critical sections book: each task gets its own context r=japaric a=chrysn

Fixing what was probably a copy-paste error; different tasks each have different types for their context.

Co-authored-by: chrysn <chrysn@fsfe.org>
2019-10-15 22:43:59 +00:00
bors[bot]
6196984d6d
Merge #254
254: v0.5.0 beta release r=texitoi a=japaric

this updates all the remaining references to japaric/cortex-m-rtfm, the Cargo metadata and copyright notice. After this PR the crates will be ready for beta release.

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-10-15 22:01:59 +00:00
Jorge Aparicio
eb2ec7a4c8 v0.5.0 beta release 2019-10-15 16:35:00 -05:00
bors[bot]
61551cd5ce
Merge #253
253: Fix matrix.to web link for the static room view. r=japaric a=tim-seoss

Fix the matrix.to link so that the room history can be viewed in
"Matrix-Static" by users who aren't registered on Matrix (e.g. for
previewing).  Hopefully this will also get the room content into search
engines.

n.b. The new matrix.to URL uses the room name instead of the room ID,
because the ID didn't work with Matrix-Static, and the matrix.to README at:

https://github.com/matrix-org/matrix.to says...

"Note that linking to rooms by ID should only be used for rooms to which
the target user has been invited: these links cannot be assumed to work for
all visitors."

Co-authored-by: Tim Small <tim@seoss.co.uk>
2019-10-15 20:19:15 +00:00
Tim Small
28e61ceaec Fix matrix.to web link for the static room view.
Fix the matrix.to link so that the room history can be viewed in
"Matrix-Static" by users who aren't registered on Matrix (e.g. for
previewing).  Hopefully this will also get the room content into search
engines.

n.b. The new matrix.to URL uses the room name instead of the room ID,
because the ID didn't work with Matrix-Static, and the matrix.to README at:

https://github.com/matrix-org/matrix.to says...

"Note that linking to rooms by ID should only be used for rooms to which
the target user has been invited: these links cannot be assumed to work for
all visitors."
2019-10-11 20:49:47 +01:00
chrysn
bbd47e20ee
critical sections: each task gets its own context
Fixing what was probably a copy-paste error; different tasks each have different types for their context argument.
2019-10-10 16:42:26 +02:00
bors[bot]
38306389ea
Merge #248
248: update the changelog and fix some links r=korken89 a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-09-17 18:41:45 +00:00
Jorge Aparicio
d08f965080 fix linkchecker warning 2019-09-17 20:40:34 +02:00
Jorge Aparicio
1e0cfa19ba fix more links 2019-09-17 19:55:55 +02:00
Jorge Aparicio
fa3872a7f6 update the CHANGELOG
also fix link to the older documentation
2019-09-17 19:47:29 +02:00
Jorge Aparicio
ff3cfac6bb www: fix book placement 2019-09-17 09:55:05 +02:00
Jorge Aparicio
2ffe12a0fc www: prefix latest docs with the minor version 2019-09-17 09:26:48 +02:00
bors[bot]
8135ed4999
Merge #245 #246
245: add CONTRIBUTING.md and link to Matrix room r=korken89 a=nils-grepit

Inspired by the Rust lang [CONTRIBUTING.md](https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md), but small. There might be more we want to use from there.

246: turn git deps into crates.io deps r=korken89 a=japaric

required for publishing v0.5.0-beta

Co-authored-by: nils-grepit <nils.fitinghoff@grepit.se>
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-09-15 21:24:01 +00:00
nils-grepit
477a38f13e remove reference from README to CONTRIBUTING
The book (which includes the text from README.md) does not need to go into that level of detail.
2019-09-15 23:04:16 +02:00
Jorge Aparicio
7f1b493c7d turn git deps into crates.io deps 2019-09-15 22:57:43 +02:00
bors[bot]
f1a9d0bb29
Merge #241
241: One more place links updated r=japaric a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2019-09-15 20:50:03 +00:00
nils-grepit
476f29c4dd add CONTRIBUTING.md and link to Matrix room 2019-09-15 22:43:10 +02:00
Emil Fresk
6938ef6187 Revert "Fixed install script"
This reverts commit 0f5894cafe.
2019-09-15 22:31:31 +02:00
Emil Fresk
0f5894cafe Fixed install script 2019-09-15 22:30:41 +02:00
bors[bot]
9a974585d0
Merge #236 #238 #243
236: link to older docs from the book r=korken89 a=japaric



238: Updated links in README for rtfm.rs r=japaric a=korken89



243: fix install script r=korken89 a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2019-09-15 20:29:56 +00:00
Jorge Aparicio
c67e039c19 fix install script 2019-09-15 22:28:52 +02:00
Emil Fresk
c818a31058 Book fix 2019-09-15 22:08:28 +02:00
Jorge Aparicio
8689dfdebf
Merge pull request #242 from japaric/fix-doc-build
0.4: don't cross compile docs
2019-09-15 20:06:18 +00:00
Jorge Aparicio
e5324645e3 0.4: don't cross compile docs 2019-09-15 22:05:31 +02:00
Emil Fresk
686cc9b995 One more place updated 2019-09-15 22:00:52 +02:00
Jorge Aparicio
42cac1fc51
Merge pull request #240 from japaric/faster-docs
faster doc builds and fix redirect on 0.4
2019-09-15 19:59:02 +00:00
Jorge Aparicio
0f704459c6 faster doc builds and fix redirect on 0.4 2019-09-15 21:58:03 +02:00
Jorge Aparicio
7039f62911
Merge pull request #239 from japaric/fix-things
fix redirects and CNAME
2019-09-15 19:41:50 +00:00
Jorge Aparicio
a593e49a3e fix redirects and CNAME 2019-09-15 21:40:40 +02:00
Emil Fresk
f787d82d92 Updated links in README for rtfm.rs 2019-09-15 21:26:30 +02:00
Jorge Aparicio
c14f7d1ce9
Merge pull request #235 from rtfm-rs/cname_addition
Added CNAME for rtfm.rs
2019-09-15 19:02:24 +00:00
Jorge Aparicio
b410f309b7 link to older docs from the book 2019-09-15 21:00:49 +02:00
Emil Fresk
9df5ed105f Added CNAME for rtfm.rs 2019-09-15 20:59:42 +02:00
bors[bot]
a601b3fa26
Merge #234
234: fix gh-pages build r=korken89 a=japaric

this should build the latest docs and the docs for v0.4.x after successful merges

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-09-15 18:21:58 +00:00
Jorge Aparicio
c8197f524e fix gh-pages build 2019-09-15 20:19:48 +02:00
Jorge Aparicio
4ff28e9d13
Merge pull request #205 from japaric/heterogeneous
rtfm-syntax refactor + heterogeneous multi-core support
2019-09-15 17:09:40 +00:00