rust-embedded / wg

Coordination repository of the embedded devices Working Group
1.92k stars 98 forks source link

Embedded WG Newsletter 8 #121

Closed jamesmunns closed 6 years ago

jamesmunns commented 6 years ago

Reporting issue for the next Newsletter, roughly scheduled for 2018-07-29

jamesmunns commented 6 years ago

Reach out to people behind https://uavcan.org/Implementations/Uavcan.rs/ ?

jamesmunns commented 6 years ago

https://www.reddit.com/r/rust/comments/8zk03w/cc1101_crate_can_now_receive_radio_packets/

kjetilkjeka commented 6 years ago

Reach out to people behind https://uavcan.org/Implementations/Uavcan.rs/

@jamesmunns I'm the one that has been working on the uavcan.rs project. I guess it's me and/or Pavel Kirienko (the uavcan protocol maintainer) you're looking for. Anything I can help with?

japaric commented 6 years ago

The Rust port of MUSL libm is done. The libm crate can be used in standalone mode to get math support in #![no_std] code.

paoloteti commented 6 years ago

I just start to add ARM DSP Intrinsics on rust/stdsimd on official repo. (2 PR and ~15 intrinsics) List is a bit long, so any help is appreciated. I use to test DSP Intrinsics on Cortex-R boards and of course on QEMU/CI, but I don't own any Cortex-M board. Hope someone else can test on real hw.

droogmic commented 6 years ago

https://droogmic.github.io/microrust

I have been working on a rewrite of the Discovery book, targeting the micro:bit.

It is more than just a simple port though, so it may be of some interest to the WG when they write their embedded book. The benefit vs Discovery is an attempt at a simpler and more beginner friendly, as well as only requiring one piece of hardware, the micro:bit itself (which should be easier to source and cheaper).

It is now at what I consider to be a first "beta" version, so there are still a lot of additions to make.

japaric commented 6 years ago

Related to the ARM DSP intrinsics: The CMSIS intrinsics have also landed in nightly (cf. rust-lang-nursery/stdsimd#518). We should ask the community to test those too. Both the DSP and CMSIS intrinsics should appear in the nightly API docs but they don't show up there yet for some reason. If the nightly docs get updated before the weekend let's include a link to that in the newsletter; if they don't then we should include a list of the intrinsics in the newsletter.

japaric commented 6 years ago

We are replacing some of the f32 functions in libm with ports of newlib's implementations to get better performance on devices that don't support double precision floats. If you are interested in helping us with the port leave a comment in one of these issues.

japaric commented 6 years ago

Regarding to https://github.com/rust-lang-nursery/embedded-wg/issues/121#issuecomment-406811822 and https://github.com/rust-lang-nursery/embedded-wg/issues/121#issuecomment-406936490, https://github.com/rust-lang-nursery/embedded-wg/issues/63#issuecomment-408329142 has a more detailed update on the topic of stable Cortex-M/R specific instructions.

jamesmunns commented 6 years ago

Initial CI harness has landed, and thumb* tests are under development by @sekineh and @nerdyvaishali https://github.com/rust-lang/rust/pull/52465

jamesmunns commented 6 years ago

Hey @kjetilkjeka, I just ran across uavcan.rs while looking into some of the quadrotor projects from the last newsletter. If you have a post anywhere that explains what the goal of the project is, or how the process has gone adding support for Rust, it would be great to share it!

Thanks for reaching out

djmcgill commented 6 years ago

I finally extracted the code I've been using to display hex digits on an 8-segment display HDSP-H101 (one of these: https://i.imgur.com/DmLOQXu.jpg) into this crate: https://crates.io/crates/eight-segment

japaric commented 6 years ago

Help wanted

We are looking for someone / people to help us write an RFC on stabilization of the ARM Cortex intrinsics in core::arch::arm. Details in https://github.com/rust-lang-nursery/embedded-wg/issues/63#issuecomment-408509178.

jamesmunns commented 6 years ago

https://twitter.com/jam_waffles/status/1022837939041132545

embedded_graphics release

jamesmunns commented 6 years ago

https://twitter.com/roosmaa/status/1022457886885244929

Rust on a Ledger Nano

jamesmunns commented 6 years ago

https://twitter.com/ag_dubs/status/1022191996293865472

cargo-generate - useful for Embedded Rust Projects?

jamesmunns commented 6 years ago

https://twitter.com/therealjpster/status/1021873858826194947

Monotron looking for feature suggestions