From a24868cb07d9bf6fe52aa3a5521dd47cde2fb959 Mon Sep 17 00:00:00 2001 From: James Munns Date: Sat, 14 Apr 2018 14:43:12 +0200 Subject: [PATCH 1/5] newsletter: Add third newsletter --- newsletters/2018-04-14.md | 65 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 newsletters/2018-04-14.md diff --git a/newsletters/2018-04-14.md b/newsletters/2018-04-14.md new file mode 100644 index 00000000..4ffbbac3 --- /dev/null +++ b/newsletters/2018-04-14.md @@ -0,0 +1,65 @@ +# The Embedded Working Group Newsletter - 2 + +> 2018-04-14 + +This is the third bi-weekly newsletter of the [Embedded WG] where we highlight new progress, celebrate cool projects, thank the community, and advertise projects that need help! + +If you want to mention something in [the next newsletter], make sure to leave a comment on the issue. + +[the next newsletter]: https://github.com/rust-lang-nursery/embedded-wg/issues/84 +[Embedded WG]: https://github.com/rust-lang-nursery/embedded-wg + +## Highlights + +* Crates for the Embedded Rust Ecosystem are now being tracked in the [Awesome Embedded Rust] repository +* Progress has been made as part of the [Embedded Rust on Stable] initiative, including: + * `extern crate compiler_builtins` is [now included in the no_std prelude] + * [xargo no longer needed] for ARM Cortex-M development + * You can now link Embedded Rust programs [using lld] +* [Wilfried] kicked off a blog series about [using embedded rust] +* [Andre Richter] is writing a tutorial for using Rust to write [bare metal Raspberry Pi 3] applications + +[Awesome Embedded Rust]: https://github.com/rust-embedded/awesome-embedded-rust +[Embedded Rust on Stable]: https://github.com/rust-lang-nursery/embedded-wg/issues/42 +[now included in the no_std prelude]: https://users.rust-lang.org/t/psa-breaking-change-extern-crate-compiler-builtins-is-now-included-in-no-std-crates/16704 +[xargo no longer needed]: https://users.rust-lang.org/t/psa-you-no-longer-need-xargo-to-do-arm-cortex-m-development/16703 +[using lld]: https://users.rust-lang.org/t/cortex-m-rt-v0-4-0-now-you-can-link-arm-cortex-m-programs-using-lld/16751 +[Wilfried]: https://github.com/ithinuel +[using embedded rust]: http://ithinuel.me/embedded-rust-why/ +[Andre Richter]: https://github.com/andre-richter +[bare metal Raspberry Pi 3]: https://github.com/andre-richter/rust-raspi3-tutorial + +## Embedded Projects + +If you have an embedded project or blog post you would like to have featured in the Embedded WG Newsletter, make sure to mention it on the tracking issue for [the next newsletter], we would love to show it off! + +* [japaric] released an initial version of [cargo-binutils], which will allow you to use LLVM's binutils (like `nm`, `size`, `objcopy`, etc.) in the format `cargo objcopy` (once [issue 49584] has landed) +* [myeisha] released the first version of their [thumb2-stack-size] tool, which helps determine the maximum stack size used in embedded code + +[japaric]: https://github.com/japaric +[cargo-binutils]: https://github.com/japaric/cargo-binutils +[issue 49584]: https://github.com/rust-lang/rust/issues/49584 +[myeisha]: https://github.com/myeisha +[thumb2-stack-size]: https://crates.io/crates/thumb2-stack-size + +### `embedded-hal` Ecosystem Crates + +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: + +| Type | Status | Count | Link | +| :--- | :----- | :---- | :--- | +| Device Crates | released | 13 | https://github.com/rust-embedded/awesome-embedded-rust#device-crates | +| HAL Impl Crates | released | 10 | https://github.com/rust-embedded/awesome-embedded-rust#hal-implementation-crates | +| Driver Crates | released | 7 | https://github.com/rust-embedded/awesome-embedded-rust#driver-crates | +| Driver Crates | WIP | 26 | https://github.com/rust-embedded/awesome-embedded-rust#wip | + +[Weekly Driver Initiative]: https://github.com/rust-lang-nursery/embedded-wg/issues/39 + +## Help Wanted + +* We need help working on [RFC2070], stabilizing usage of custom Panic behavior. [nagisa] is willing to mentor! +* If you use inline assembly in your Embedded Rust programs, help us capture what assembly operations are [used most often] so we can stabilize them as intrinsics + +[RFC2070]: https://github.com/rust-lang/rust/issues/44489#issuecomment-378058031 +[nagisa]: https://github.com/nagisa +[used most often]: https://github.com/rust-lang-nursery/embedded-wg/issues/63#issue-305114817 \ No newline at end of file From 64e1c9006c6289224ecc04dc3a8d396c6c85f1b0 Mon Sep 17 00:00:00 2001 From: James Munns Date: Sat, 14 Apr 2018 14:45:50 +0200 Subject: [PATCH 2/5] newsletter: Add mention of books --- newsletters/2018-04-14.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/newsletters/2018-04-14.md b/newsletters/2018-04-14.md index 4ffbbac3..ea45d2ee 100644 --- a/newsletters/2018-04-14.md +++ b/newsletters/2018-04-14.md @@ -18,6 +18,7 @@ If you want to mention something in [the next newsletter], make sure to leave a * You can now link Embedded Rust programs [using lld] * [Wilfried] kicked off a blog series about [using embedded rust] * [Andre Richter] is writing a tutorial for using Rust to write [bare metal Raspberry Pi 3] applications +* The Embedonomicon and the Embedded Rust Books are [now kept] in the [Embedded WG] repository, and pull requests are welcome! [Awesome Embedded Rust]: https://github.com/rust-embedded/awesome-embedded-rust [Embedded Rust on Stable]: https://github.com/rust-lang-nursery/embedded-wg/issues/42 @@ -28,6 +29,7 @@ If you want to mention something in [the next newsletter], make sure to leave a [using embedded rust]: http://ithinuel.me/embedded-rust-why/ [Andre Richter]: https://github.com/andre-richter [bare metal Raspberry Pi 3]: https://github.com/andre-richter/rust-raspi3-tutorial +[now kept]: https://github.com/rust-lang-nursery/embedded-wg/pull/78 ## Embedded Projects From c5879c6db76b1abe1bc177a0bf99b92a404d6f19 Mon Sep 17 00:00:00 2001 From: James Munns Date: Sat, 14 Apr 2018 14:49:04 +0200 Subject: [PATCH 3/5] newsletter: Rework table --- newsletters/2018-04-14.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/newsletters/2018-04-14.md b/newsletters/2018-04-14.md index ea45d2ee..17a3c8be 100644 --- a/newsletters/2018-04-14.md +++ b/newsletters/2018-04-14.md @@ -48,14 +48,18 @@ If you have an embedded project or blog post you would like to have featured in 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: -| Type | Status | Count | Link | -| :--- | :----- | :---- | :--- | -| Device Crates | released | 13 | https://github.com/rust-embedded/awesome-embedded-rust#device-crates | -| HAL Impl Crates | released | 10 | https://github.com/rust-embedded/awesome-embedded-rust#hal-implementation-crates | -| Driver Crates | released | 7 | https://github.com/rust-embedded/awesome-embedded-rust#driver-crates | -| Driver Crates | WIP | 26 | https://github.com/rust-embedded/awesome-embedded-rust#wip | +| Type | Status | Count | +| :--- | :----- | :---- | +| [Device Crates] | released | 13 | +| [HAL Impl Crates] | released | 10 | +| [Driver Crates Released] | released | 7 | +| [Driver Crates WIP] | WIP | 26 | [Weekly Driver Initiative]: https://github.com/rust-lang-nursery/embedded-wg/issues/39 +[Device Crates]: https://github.com/rust-embedded/awesome-embedded-rust#device-crates +[HAL Impl Crates]: https://github.com/rust-embedded/awesome-embedded-rust#hal-implementation-crates +[Driver Crates Released]: https://github.com/rust-embedded/awesome-embedded-rust#driver-crates +[Driver Crates WIP]: https://github.com/rust-embedded/awesome-embedded-rust#wip ## Help Wanted From 534a9edec66cc263afd9867c641b965a91871d82 Mon Sep 17 00:00:00 2001 From: James Munns Date: Sat, 14 Apr 2018 14:54:42 +0200 Subject: [PATCH 4/5] newsletter: Fix copy/paste issue in title --- newsletters/2018-04-14.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newsletters/2018-04-14.md b/newsletters/2018-04-14.md index 17a3c8be..4d78113f 100644 --- a/newsletters/2018-04-14.md +++ b/newsletters/2018-04-14.md @@ -1,4 +1,4 @@ -# The Embedded Working Group Newsletter - 2 +# The Embedded Working Group Newsletter - 3 > 2018-04-14 From 5bfef81a49970e27d50062b46aab2355703944f9 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Mon, 16 Apr 2018 18:42:53 +0200 Subject: [PATCH 5/5] small tweaks --- newsletters/2018-04-14.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/newsletters/2018-04-14.md b/newsletters/2018-04-14.md index 4d78113f..cdc79dfe 100644 --- a/newsletters/2018-04-14.md +++ b/newsletters/2018-04-14.md @@ -15,7 +15,7 @@ If you want to mention something in [the next newsletter], make sure to leave a * Progress has been made as part of the [Embedded Rust on Stable] initiative, including: * `extern crate compiler_builtins` is [now included in the no_std prelude] * [xargo no longer needed] for ARM Cortex-M development - * You can now link Embedded Rust programs [using lld] +* We also made some progress on simplifying the embedded development setup: You can now link Embedded Rust programs [using lld] * [Wilfried] kicked off a blog series about [using embedded rust] * [Andre Richter] is writing a tutorial for using Rust to write [bare metal Raspberry Pi 3] applications * The Embedonomicon and the Embedded Rust Books are [now kept] in the [Embedded WG] repository, and pull requests are welcome! @@ -66,6 +66,6 @@ As part of the [Weekly Driver Initiative], crates that are part of the `embedded * We need help working on [RFC2070], stabilizing usage of custom Panic behavior. [nagisa] is willing to mentor! * If you use inline assembly in your Embedded Rust programs, help us capture what assembly operations are [used most often] so we can stabilize them as intrinsics -[RFC2070]: https://github.com/rust-lang/rust/issues/44489#issuecomment-378058031 +[RFC2070]: https://github.com/rust-lang/rust/issues/44489#issuecomment-381324623 [nagisa]: https://github.com/nagisa -[used most often]: https://github.com/rust-lang-nursery/embedded-wg/issues/63#issue-305114817 \ No newline at end of file +[used most often]: https://github.com/rust-lang-nursery/embedded-wg/issues/63#issue-305114817