Commit Graph

240 Commits

Author SHA1 Message Date
James Munns
9c05a419fc Correct use of std 2019-01-13 16:55:59 +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
bors[bot]
1ca216d7f6 Merge #104
104: install:linux: Recommend using apt instead of apt-get r=korken89 a=eddyp

The 'apt' binary has appeared in apt 1.0 back in 2014 and has been
ever since the recommended tool to install packages on Debian based
systems.  It makes little sense to recommend using 'apt-get' instead
of 'apt' when even the current Debian oldstable - jessie - has apt
\>=1.0.9.8 and the Ubuntu 14.04 LTS - trusty - has apt
\>=1.0.1ubuntu1.

Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>

Co-authored-by: Eddy Petrișor <eddy.petrisor@gmail.com>
2018-12-15 13:41:56 +00:00
Eddy Petrișor
aadfc95f85 install:linux: Recommend using apt instead of apt-get
The 'apt' binary has appeared in apt 1.0 back in 2014 and has been
ever since the recommended tool to install packages on Debian based
systems.  It makes little sense to recommend using 'apt-get' instead
of 'apt' when even the current Debian oldstable - jessie - has apt
>=1.0.9.8 and the Ubuntu 14.04 LTS - trusty - has apt
>=1.0.1ubuntu1.

Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
2018-12-14 23:55:59 +02:00
bors[bot]
49a6bfc4ba Merge #103
103: Fixes outdated links to docs r=adamgreig a=jrvidal



Co-authored-by: Roberto Vidal <vidal.roberto.j@gmail.com>
2018-12-13 22:25:06 +00:00
Roberto Vidal
cec15cc453 Fixes outdated links to docs 2018-12-13 15:42:06 +01:00
bors[bot]
f720f5eefa Merge #102
102: Fixes dead bindgen link r=adamgreig a=jrvidal

Just that 😄 

Co-authored-by: Roberto Vidal <jrvidal@tuenti.com>
2018-12-13 12:38:11 +00:00
Roberto Vidal
06b53fdf7b Fixes dead bindgen link 2018-12-13 13:34:55 +01:00
bors[bot]
b818aae37d Merge #95
95: remove "this section is WIP" from the getting started intro page r=jamesmunns a=japaric

this section is largely done and the linked issue has already been closed

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-12-04 22:40:03 +00:00
Jorge Aparicio
388ee46c85 remove "this section is WIP" from the getting started intro page
this section is largely done and the linked issue has already been closed
2018-12-04 23:34:40 +01:00
bors[bot]
1405ee3150 Merge #81
81: [WIP] First draft of c-tips chapter r=jamesmunns a=adamgreig

This is still pretty rough but I wanted to get the PR open <sup><sup>before the meeting</sup></sup> and start getting feedback.

* What other topics should this chapter cover?
* What level of detail do you think is appropriate for the topics? I sort of want to just point people in the right direction and maybe give some minimal examples rather than rephrasing existing documentation. Especially I didn't want to write a general summary of things that are not really embedded (or C) specific.
* What sort of external resources should we link to? There's a lot of blog posts talking about most of these concepts but many are not really embedded (or even C) specific.

Co-authored-by: Adam Greig <adam@ael.co.uk>
Co-authored-by: Daniel Egger <daniel@eggers-club.de>
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
Co-authored-by: Adam Greig <adam@adamgreig.com>
2018-12-03 15:18:40 +00:00
Adam Greig
dd9c517d5d c-tips: fix concurrency typo 2018-12-03 10:12:09 +00:00
Adam Greig
316530dc99 c-tips: fix concurrency chapter link 2018-12-03 10:03:05 +00:00
Adam Greig
2038e2657a c-tips: formatting and fix whitespace 2018-12-02 23:04:25 +00:00
Adam Greig
fe0c555e00 c-tips: format other resources list better 2018-12-02 23:02:12 +00:00
Adam Greig
a89b485051 c-tips: mention volatile 2018-12-02 23:02:12 +00:00
Emil Fresk
ea1c087dd0 Update src/c-tips/c-tips.md
Co-Authored-By: adamgreig <adam@adamgreig.com>
2018-12-02 23:02:12 +00:00
Emil Fresk
9e2b9a7256 Update src/c-tips/c-tips.md
Co-Authored-By: adamgreig <adam@adamgreig.com>
2018-12-02 23:02:12 +00:00
Adam Greig
955708d6ea Detail use of repr 2018-12-02 23:02:12 +00:00
Adam Greig
52a01b6f53 Mention target_arch conditional compilation 2018-12-02 23:02:12 +00:00
Adam Greig
6e8271ea5c Updates to address comments in PR 2018-12-02 23:02:12 +00:00
Emil Fresk
770cbceab2 Update src/c-tips/c-tips.md
Co-Authored-By: adamgreig <adam@adamgreig.com>
2018-12-02 23:02:12 +00:00
Emil Fresk
1674b11fb5 Update src/c-tips/c-tips.md
Co-Authored-By: adamgreig <adam@adamgreig.com>
2018-12-02 23:02:12 +00:00
Daniel Egger
a79918f1d0 Update src/c-tips/c-tips.md
Co-Authored-By: adamgreig <adam@adamgreig.com>
2018-12-02 23:02:12 +00:00
Adam Greig
12eb5b96af First draft of c-tips 2018-12-02 23:02:12 +00:00
bors[bot]
8053cf7561 Merge #79
79: Typos and fixes r=therealprof a=njmartin10

Mostly fixing typos, a few code fixes, and some sentence restructuring.

Co-authored-by: Nathan <2266858+njmartin10@users.noreply.github.com>
2018-11-24 18:34:37 +00:00
Nathan
d2bc7a6951 Remove duplicate "and" 2018-11-23 20:30:21 -08:00
Nathan
84e5976fed Consistency: initialised->initialized 2018-11-23 20:30:21 -08:00
Nathan
169f59eb7c Typo intialise->initialize 2018-11-23 20:30:20 -08:00
Nathan
f85a8df4fa Typos: temperatur, arays, actors, relais -> temperature, arrays,
actuators, relays
2018-11-23 20:30:20 -08:00
Nathan
20d9a21d13 Typo intialise->initialize 2018-11-23 20:29:04 -08:00
Nathan
bf13a6db68 Typo: defintely->definitely 2018-11-23 20:27:35 -08:00
Nathan
68fb2ba5b5 Typo whch->which 2018-11-23 20:27:35 -08:00
Nathan
4fe0ff4ec1 Refactor and generalize
- to avoid repetitive statements
2018-11-23 20:27:35 -08:00
Nathan
290fb34964 Refactor a sentence. 2018-11-23 20:27:35 -08:00
Nathan
6a37fe713e Fix set_output_status -> set_output_mode 2018-11-23 20:27:35 -08:00
Nathan
b8f78902b1 Add emphasis, fix grammar 2018-11-23 20:27:35 -08:00
Nathan
aea542b019 No newline at end of file? 2018-11-23 20:27:35 -08:00
bors[bot]
65da0fcb5c Merge #92
92: static-guarantees: add intro text r=jamesmunns a=japaric

cc @jamesmunns

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-11-20 09:26:03 +00:00
bors[bot]
a207acb000 Merge #87
87: Have mdBook not wrap code snippets in "fn main() {}" r=therealprof a=adamgreen

This is the same change as in commit c5caa3b but for the instances I noticed in the rest of the chapters.

Before this change, clicking on the icon to copy a code snippet to the clipboard would result in something like:
```rust
fn main() {
// Exception handler for the SysTick (System Timer) exception
fn SysTick() {
    // ..
}
}
```
After this change, the following would be copied to the clipboard instead:
```rust
// Exception handler for the SysTick (System Timer) exception
fn SysTick() {
    // ..
}
```

Co-authored-by: Adam Green <adamgreen@users.noreply.github.com>
2018-11-20 08:32:53 +00:00