Skip to content

Commit 1c3f9c2

Browse files
author
James Munns
committed
Add comments from @thejpster in #22
1 parent 71e0b01 commit 1c3f9c2

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

content/2018-10-28-newsletter-14.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,30 @@ Discuss on [users.rust-lang.org], [on twitter], or [on reddit]!
2121

2222
<!-- more -->
2323

24-
## The Newest Embedded WG Team: Cortex-A!
24+
## Embedded Rust Applications on Stable!
2525

2626
<hr>
2727

28-
![Screenshot of Cortex-A RFC][cortex-a-screenshot]
28+
<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Rust 1.30 is here! Proc macros, no_std binaries, and a progress bar for cargo! 🎊🎉🦀 <a href="https://t.co/IXm5xFYlhU">https://t.co/IXm5xFYlhU</a></p>&mdash; Rust Language (@rustlang) <a href="https://twitter.com/rustlang/status/1055499747056852993?ref_src=twsrc%5Etfw">October 25, 2018</a></blockquote>
29+
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
30+
31+
Now that `#[panic_handler]` is stabilized in [1.30], you can write Cortex-M bare-metal applications with the stable compiler. All our Rust Embedded crates, such as `cortex-m`, `cortex-m-rt` and `embedded-hal` should be ready to use on stable, but please note our two tutorial books [Discovery] and [The Embedded Rust Book] still require 1.30 beta or 1.31 beta as they use 2018 edition syntax (which isn't stabilized until the 1.31 release).
32+
33+
[1.30]: https://blog.rust-lang.org/2018/10/25/Rust-1.30.0.html
34+
[Discovery]: https://rust-embedded.github.io/discovery/
35+
[The Embedded Rust Book]: https://rust-embedded.github.io/book/
36+
37+
If you are able to trial 1.31 beta, you can help us test:
38+
39+
* Minimal `const` functions (useful for initializing static variables)
40+
* 2018 edition syntax (including changes to `use` and `extern crate`)
41+
42+
## The Newest Embedded WG Team: Cortex-A!
2943

3044
<hr>
3145

46+
![Screenshot of Cortex-A RFC][cortex-a-screenshot]
47+
3248
[cortex-a-screenshot]: ../screenshot-cortex-a.png
3349

3450
The Embedded Working Group has launched a Cortex-A team, to focus on supporting developers working on bare-metal, micro kernel, and other low-level tasks using ARM's Cortex-A series of microprocessors.
@@ -49,8 +65,6 @@ The team kicked off with four members: [@andre-richter], [@parched], [@raw-bin],
4965
<blockquote class="twitter-tweet" data-conversation="none" data-lang="en"><p lang="en" dir="ltr">Astonishing. Smashed my high score! <a href="https://t.co/WG9FXc8Kao">pic.twitter.com/WG9FXc8Kao</a></p>&mdash; Jonathan Pallant (@therealjpster) <a href="https://twitter.com/therealjpster/status/1053698944360951813?ref_src=twsrc%5Etfw">October 20, 2018</a></blockquote>
5066
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
5167

52-
<hr>
53-
5468
[@thejpster]'s project, the [monotron], travelled to Ann Arbor Michigan for [Rust Belt Rust 2018]. Since its [last conference appearance], it has gained a whole new [list of features], including a serial application loader, a 3 channel wave table synthesizer, Atari Joystick support, and more!
5569

5670
Check out the video above for a demo of Snake on the monotron hardware.
@@ -83,8 +97,6 @@ let port_a = Pcf8574(manager.acquire(), 0x39).unwrap();
8397
let port_b = Pcf8574(manager.acquire(), 0x38).unwrap();
8498
```
8599

86-
<hr>
87-
88100
In most `embedded-hal` compatible drivers, the driver takes either ownership or a mutable reference to the peripheral used to interact with a component, such as I2C or SPI. For some protocols, such as I2C, which might have multiple devices connected to the same peripheral, managing ownership can be difficult (see [embedded-hal/35] for discussion).
89101

90102
To address this, [@Rahix] developed [shared-bus], a crate which provides safe shared access to these peripherals through the use of a mutex. This allows for access of the underlying peripheral in as many drivers as you need! Check out the [release blog post] for more details, and for examples on how to use this for your projects.
@@ -102,8 +114,6 @@ To address this, [@Rahix] developed [shared-bus], a crate which provides safe sh
102114
<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Happy Tuesday! Quick poll: What are you using <a href="https://twitter.com/hashtag/embedded?src=hash&amp;ref_src=twsrc%5Etfw">#embedded</a> <a href="https://twitter.com/rustlang?ref_src=twsrc%5Etfw">@rustlang</a> for right now?<br><br>RTs appreciated!</p>&mdash; Rust Embedded Working Group (@rustembedded) <a href="https://twitter.com/rustembedded/status/1052189142065405952?ref_src=twsrc%5Etfw">October 16, 2018</a></blockquote>
103115
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
104116

105-
<hr>
106-
107117
As we get closer to our goal of stable embedded development with Rust for the 2018 edition launch, the embedded community is ramping up. We did a quick twitter poll which received hundreds of responses, and heard from developers using or evaluating embedded rust for personal and work projects.
108118

109119
The [Embedded WG] has also grown, starting off this year with 8 developers on a single team, to a group of **27 developers** across **11 teams**, each with their own area of focus within the embedded rust space.
@@ -112,6 +122,8 @@ Now is a great time to start working with Embedded Rust, and we can't wait to se
112122

113123
## `embedded-hal` Ecosystem Crates
114124

125+
<hr>
126+
115127
As part of the [Weekly Driver Initiative], crates that are part of the `embedded-hal` ecosystem are now tracked in the [Awesome Embedded Rust] repository. Here is a current snapshot of what is available there:
116128

117129
| Type | Status | Count | Diff |

0 commit comments

Comments
 (0)