Commit Graph

279 Commits

Author SHA1 Message Date
flip111
14cb84545c Update index.md 2019-02-17 21:37:45 +00:00
bors[bot]
c17e31efea Merge #153
153: Update exceptions.md r=korken89 a=flip111

> You'll see that a load operation (ldr r0, [r0] ) caused the exception and that the value of the register r0 was 0x3fff_fffe at that time.

You can not see the value of the register from the disassembly. Therefor:

> This value matches the r0 field of ExceptionFrame.

`This` points to nothing. Nothing "matches". With the information given in the book the value can _only_ be seen in the ExceptionFrame.

Co-authored-by: flip111 <flip101@gmail.com>
2019-02-17 15:50:49 +00:00
bors[bot]
7c35d56d0a Merge #142 #151
142: Update qemu.md r=korken89 a=flip111

Add link to qemu wiki. As proof and also interested reader can see other architectures too.

151: Update exceptions.md r=korken89 a=flip111

that it's marked with `*  *` already makes it have special significance. Let's link to an explanation

Co-authored-by: flip111 <flip101@gmail.com>
2019-02-17 15:48:56 +00:00
bors[bot]
f42b1b26ef Merge #133 #135
133: Update no-std.md r=korken89 a=flip111

* There is no high level OS this means there are no primitives <-- this is wrong because there can be primitives without high level OS otherwise it wouldn't be a "primitive"
* Using jargon "bare metal" without explaining it
* By marking our code with `no_std` we indicate that our code is capable of running in such an environment. <-- this wording makes it so that using `no_std` is the only requirement of having runnable code.
* Dynamic memory allocation can not be used --> not true, use crate (like described lower in the text)

135: Update install.md r=korken89 a=flip111

`For bandwidth and disk usage concerns the default installation only supports native compilation.`
I like what the default installation is doing, not downloading toolchains i don't need. Let's do the same for the book. At the same time, because the reader is just getting into embedded for rust, it's cool to see which toolchains for which CPU cores are already available. This gives a good feeling of control (which toolchain i can choose) and possibilities (many to choose from)

Co-authored-by: flip111 <flip101@gmail.com>
2019-02-17 15:47:23 +00:00
bors[bot]
bca9927820 Merge #150
150: Update panicking.md r=therealprof a=flip111

non-standard program sounds like it wouldn't be a normal program

Co-authored-by: flip111 <flip101@gmail.com>
2019-02-17 15:45:06 +00:00
flip111
1e9a1a7f11 Update exceptions.md 2019-02-17 13:39:16 +00:00
flip111
e9164e7425 Update exceptions.md 2019-02-17 12:57:34 +00:00
flip111
9f2ab2105f Update panicking.md
non-standard program sounds like it wouldn't be a normal program
2019-02-17 12:30:30 +00:00
bors[bot]
ccfe42dea7 Merge #145
145: Update qemu.md r=jamesmunns a=flip111

i didn't know what this was

Co-authored-by: flip111 <flip101@gmail.com>
2019-02-17 06:02:35 +00:00
flip111
ccfdaecdaf Update qemu.md 2019-02-17 02:16:51 +00:00
flip111
daf0eb3615 Update qemu.md
Add link to qemu wiki. As proof and also interested reader can see other architectures too.
2019-02-17 02:01:04 +00:00
flip111
21712a35db Update install.md
`For bandwidth and disk usage concerns the default installation only supports native compilation.`
I like what the default installation is doing, not downloading toolchains i don't need. Let's do the same for the book. At the same time, because the reader is just getting into embedded for rust, it's cool to see which toolchains for which CPU cores are already available. This gives a good feeling of control (which toolchain i can choose) and possibilities (many to choose from)
2019-02-17 01:16:20 +00:00
flip111
f5467acc83 Update no-std.md
* There is no high level OS this means there are no primitives <-- this is wrong because there can be primitives without high level OS otherwise it wouldn't be a "primitive"
* Using jargon "bare metal" without explaining it
* By marking our code with `no_std` we indicate that our code is capable of running in such an environment. <-- this wording makes it so that using `no_std` is the only requirement of having runnable code.
* Dynamic memory allocation can not be used --> not true, use crate (like described lower in the text)
2019-02-17 01:01:14 +00:00
bors[bot]
700d073e05 Merge #129
129: Patch typos in speed-vs-size.md r=jamesmunns a=krepl



Co-authored-by: krepl <36075613+krepl@users.noreply.github.com>
2019-02-13 12:10:35 +00:00
bors[bot]
094340952d Merge #128
128: Fix typos in c-tips r=adamgreig a=krepl

Just some little typo fixes in "Tips for embedded C developers"

Co-authored-by: krepl <36075613+krepl@users.noreply.github.com>
2019-02-13 03:58:20 +00:00
krepl
90a88bdf5e Fix a few typos in unsorted/speed-vs-size.md 2019-02-12 22:05:15 -05:00
krepl
16817be430 Fix typo correction ("then" -> "then the") 2019-02-12 15:16:28 -05:00
krepl
a3d6241b91 fix typo in c-tips (duplicate "then") 2019-02-11 21:34:40 -05:00
krepl
4f26bad0b2 Fix typo in c-tips ("or" -> "of", and plural verb) 2019-02-11 21:29:34 -05:00
krepl
87e15208a3 Fix typo in c-tips ("varity" -> "variety") 2019-02-11 21:17:13 -05:00
bors[bot]
bd2778f304 Merge #127
127: Fix failing tidy (line endings on Windows) r=japaric a=petrochenkov

This happens every time a new doc submodule is added to https://github.com/rust-lang/rust.

cc https://github.com/rust-lang/book/pull/549 https://github.com/rust-lang-nursery/reference/pull/36 https://github.com/rust-lang/rust-by-example/pull/1018 https://github.com/rust-lang/rustc-guide/pull/246

Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>
2019-02-10 12:37:14 +00:00
Vadim Petrochenkov
3eaf081865 Fix failing tidy (line endings on Windows) 2019-02-10 15:16:33 +03:00
bors[bot]
e4cd4826de Merge #122
122: Remove old warning r=therealprof a=jamesmunns



Co-authored-by: James Munns <james.munns@ferrous-systems.com>
2019-02-06 14:58:05 +00:00
James Munns
21644fb066 Remove old warning 2019-02-06 15:37:03 +01:00
bors[bot]
d663113d1d Merge #121
121: Fix two minor grammar errors (it's -> its) r=jamesmunns a=zhuowei



Co-authored-by: Zhuowei Zhang <zhuoweizhang@yahoo.com>
2019-02-04 09:10:13 +00:00
Zhuowei Zhang
11b63c5287 Fix two minor grammar errors (it's -> its) 2019-02-04 00:19:52 -08:00
bors[bot]
7a7367c3e1 Merge #120
120: Fix for links not pointing to correct documentation r=jamesmunns a=shellwirt

As #107 showed, there are some links pointing to the rendered docs, this pull attempts to fix that.

Co-authored-by: shellwirt <shellwirt@protonmail.com>
2019-01-31 17:23:18 +00:00
shellwirt
316d3680a7 initial fix 2019-01-31 14:38:32 -02:00
bors[bot]
be55c52766 Merge #119
119: Update macOS installation instructions r=korken89 a=therealprof

Fixes #118

Co-authored-by: Daniel Egger <daniel@eggers-club.de>
2019-01-26 17:43:53 +00:00
Daniel Egger
3e9429de59 Update macOS installation instructions
Fixes #118
2019-01-25 08:47:01 +01:00
bors[bot]
651fe4afc3 Merge #117
117: Update the references of UserHardFault, which was renamed to HardFault r=korken89 a=sstelfox

This updates the book to match the [renamed symbol](https://github.com/rust-embedded/cortex-m-rt/pull/144) and my [associated PR](https://github.com/rust-embedded/cortex-m-quickstart/pull/64) updating the quickstart repository.

Co-authored-by: Sam Stelfox <sstelfox@bedroomprogrammers.net>
2019-01-22 11:51:22 +00:00
Sam Stelfox
ce17476bb7 Correct the references to UserHardFault, which was renamed to HardFault 2019-01-21 23:50:41 -05:00
bors[bot]
0f31a4c79f Merge #94
94: fix script line length r=japaric a=jamesmunns

Addressing any necessary changes for https://github.com/rust-lang/rust/pull/56291

~~Please do not merge yet.~~

Co-authored-by: James Munns <james.munns@ferrous-systems.com>
2019-01-19 06:20:39 +00:00
bors[bot]
16e3bab823 Merge #114
114: Removed repeated "are" r=jamesmunns a=therealprof



Co-authored-by: Daniel Egger <daniel@eggers-club.de>
2019-01-14 14:18:21 +00:00
bors[bot]
56ce6d54c6 Merge #116
116: Fix typos in interrupts r=adamgreig a=tomoyuki-nakabayashi

Hi all. First of all, I want to provide my respect for this book. It's really awesome!

I'm now translating this book into Japanese to deliver this book to more people.
I found some typos in interrupts section and fixed them.

Thanks!

Co-authored-by: tomoyuki-nakabayashi <tomo.wait.for.it.yuki@gmail.com>
2019-01-13 21:31:34 +00:00
tomoyuki-nakabayashi
a318c9c00c Fix typos 2019-01-14 06:07:41 +09:00
bors[bot]
1efdd0bf30 Merge #115
115: Correct use of `std` r=therealprof a=jamesmunns



Co-authored-by: James Munns <james.munns@ferrous-systems.com>
2019-01-13 17:02:12 +00:00
James Munns
9c05a419fc Correct use of std 2019-01-13 16:55:59 +01:00
Daniel Egger
e0845a4f67 Removed repeated "are" 2019-01-11 23:33:33 +01:00
bors[bot]
b370fa289a Merge #112
112: Align runner example with current quickstart template r=korken89 a=rubberduck203



Co-authored-by: Christopher J. McClellan <chris.mcclellan203@gmail.com>
2018-12-30 16:25:33 +00:00
Christopher J. McClellan
f8974b7bbb Align runner example with current quickstart template 2018-12-30 07:52:45 -05:00
bors[bot]
5009bd36df Merge #109
109: The beta compiler is not needed anymore r=korken89 a=utaal



Co-authored-by: Andrea Lattuada <andrea@lattuada.me>
2018-12-28 21:05:11 +00:00
Andrea Lattuada
730dc7d39b beta compiler is not needed anymore 2018-12-28 21:32:57 +01:00
bors[bot]
e1002cd531 Merge #108
108: static-guarantees: fix typos r=korken89 a=syzzer

As is says on the tin :)

Co-authored-by: Steffan Karger <steffan.karger@fox-it.com>
2018-12-28 17:47:35 +00:00
Steffan Karger
8a6c2b9a69 static-guarantees: fix typos 2018-12-28 17:35:57 +01:00
bors[bot]
fa6910e1fc Merge #106
106: Added section about interrupts, closes #98 r=korken89 a=therealprof

Signed-off-by: Daniel Egger <daniel@eggers-club.de>

Co-authored-by: Daniel Egger <daniel@eggers-club.de>
2018-12-19 07:06:31 +00:00
Daniel Egger
94d0b1be35 Added link to exceptions section for details about the handlers
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
2018-12-18 20:00:59 +01:00
Daniel Egger
902f4a3edb Added section about interrupts, closes #98
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
2018-12-18 20:00:59 +01:00
bors[bot]
a9b1e662cf Merge #105
105: Make sure QEMU debug::exit() call is not active r=korken89 a=maxekman

This left me hanging for a bit (literally). I ended up with no print and just getting stuck in the hard fault handler when hitting ctrl-c in GDB.

Co-authored-by: Max Ekman <max@looplab.se>
2018-12-18 16:19:42 +00:00
Max Ekman
569d537d9a Make sure QEMU debug::exit() call is not active 2018-12-17 20:07:20 +01:00