Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eldruin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
eldruin
3y ago
A couple of years ago I wrote a MIDI player with a bluepill board (STM32F1 microcontroller) and a waveform generator (AD9833) in Rust. It was actually quite simple and a lot of fun to write (and hear!). Video: [1] Source code: [2] [1]: htt
2.
▲
by
eldruin
4y ago
Looks great! Once you publish the code, please submit it to the Rust Embedded Showcase :) https://showcase.rust-embedded.org/
3.
▲
by
eldruin
4y ago
For those getting a 404, here the article in MarkDown: https://github.com/RustMagazine/rustmagazine/blob/main/conte...
4.
▲
by
eldruin
4y ago
There are several microcontroller architectures within the Arduino family officially as well as compatible ones that are also called Arduino-something. The classic (and oldest) are the AVR microcontrollers (ATmega), which are not supported
5.
▲
by
eldruin
4y ago
In Rust there is https://embassy.dev which is an async Rust framework for embedded. It has been shipping in products for years. Can be made real-time (for some definitions of it). There is also RTIC https://rtic.rs w
6.
▲
by
eldruin
4y ago
You can have a look at https://embassy.dev Rust+async on embedded
7.
▲
Rust embedded device driver examples for bluepill, and other boards
(github.com)
3 points
by
eldruin
4y ago
|
1 comments
8.
▲
by
eldruin
4y ago
Here a whole bunch of example programs for hardware device drivers written in Rust for use in embedded.
9.
▲
by
eldruin
5y ago
https://blog.eldruin.com I blog mostly about embedded Rust device drivers. It is a static blog made with Hexo and deployed to GitHub pages.
10.
▲
by
eldruin
5y ago
Are you looking specifically at AVR? ARM works out-of-the-box with stable Rust. I can really recommend getting a micro:bit board and following the discovery book [1]. There are a few other books in the embedded Rust bookshelf [2]. Otherwise
11.
▲
by
eldruin
5y ago
You may have started getting deprecation warnings because some methods in the `Error` trait have been deprecated [1] in favor of a different mechanism. Then, you may have configured warnings to result in compilation errors in your build
12.
▲
by
eldruin
5y ago
That's a way to avoid complicated coordinated upgrades across the ecosystem if certain conditions are met. It's called the "semver-trick" [1]. [1]: https://github.com/dtolnay/semver-trick
13.
▲
by
eldruin
5y ago
This issue is on nightly Rust, not stable. A stable Rust compiler update should never break code. See: https://doc.rust-lang.org/book/appendix-07-nightly-rust.html
14.
▲
by
eldruin
5y ago
It depends on your target architecture. For example, embedded development on ARM with stable Rust has been possible since 2018 (Rust 1.31)
15.
▲
by
eldruin
5y ago
Espressif (the makers of the hugely popular ESP32/ESP8266/... microcontrollers) hired an embedded Rust community member to work full time on Rust support for their chips: https://mabez.dev/blog/posts/esp-
16.
▲
This Year in Embedded Rust
(blog.rust-embedded.org)
144 points
by
eldruin
5y ago
|
63 comments
17.
▲
Show HN: CCS811 indoor air quality sensor driver in Rust
(blog.eldruin.com)
6 points
by
eldruin
6y ago
|
1 comments
18.
▲
by
eldruin
6y ago
My platform-agnostic CCS811 air quality sensor is now complete.
19.
▲
Tips for hobby embedded development beginners
(blog.eldruin.com)
2 points
by
eldruin
6y ago
|
0 comments
20.
▲
by
eldruin
7y ago
Mine is: https://blog.eldruin.com I write mostly about device drivers I write in Rust for use in embedded.