You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/2018-10-28-newsletter-14.md
+20-8Lines changed: 20 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -21,14 +21,30 @@ Discuss on [users.rust-lang.org], [on twitter], or [on reddit]!
21
21
22
22
<!-- more -->
23
23
24
-
## The Newest Embedded WG Team: Cortex-A!
24
+
## Embedded Rust Applications on Stable!
25
25
26
26
<hr>
27
27
28
-
![Screenshot of Cortex-A RFC][cortex-a-screenshot]
28
+
<blockquoteclass="twitter-tweet"data-lang="en"><plang="en"dir="ltr">Rust 1.30 is here! Proc macros, no_std binaries, and a progress bar for cargo! 🎊🎉🦀 <ahref="https://t.co/IXm5xFYlhU">https://t.co/IXm5xFYlhU</a></p>— Rust Language (@rustlang) <ahref="https://twitter.com/rustlang/status/1055499747056852993?ref_src=twsrc%5Etfw">October 25, 2018</a></blockquote>
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).
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!
29
43
30
44
<hr>
31
45
46
+
![Screenshot of Cortex-A RFC][cortex-a-screenshot]
47
+
32
48
[cortex-a-screenshot]: ../screenshot-cortex-a.png
33
49
34
50
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],
49
65
<blockquoteclass="twitter-tweet"data-conversation="none"data-lang="en"><plang="en"dir="ltr">Astonishing. Smashed my high score! <ahref="https://t.co/WG9FXc8Kao">pic.twitter.com/WG9FXc8Kao</a></p>— Jonathan Pallant (@therealjpster) <ahref="https://twitter.com/therealjpster/status/1053698944360951813?ref_src=twsrc%5Etfw">October 20, 2018</a></blockquote>
[@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!
55
69
56
70
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();
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).
89
101
90
102
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
102
114
<blockquoteclass="twitter-tweet"data-lang="en"><plang="en"dir="ltr">Happy Tuesday! Quick poll: What are you using <ahref="https://twitter.com/hashtag/embedded?src=hash&ref_src=twsrc%5Etfw">#embedded</a> <ahref="https://twitter.com/rustlang?ref_src=twsrc%5Etfw">@rustlang</a> for right now?<br><br>RTs appreciated!</p>— Rust Embedded Working Group (@rustembedded) <ahref="https://twitter.com/rustembedded/status/1052189142065405952?ref_src=twsrc%5Etfw">October 16, 2018</a></blockquote>
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.
108
118
109
119
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
112
122
113
123
## `embedded-hal` Ecosystem Crates
114
124
125
+
<hr>
126
+
115
127
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:
0 commit comments