mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#RustEmbedded

0 Beiträge0 Beteiligte0 Beiträge heute
Kevin P. Fleming<p>Achievement unlocked... I've just successfully transmitted the first Protocol Buffers messages over a UART link between an STM32G070 MCU (code written in Rust using Embassy) and a Python test program running on my Debian Linux laptop.</p><p>Messages are sent with a small header (sync byte and length) and a CRC-16 trailer, and all worked on the second try (on the first try the CRC-16 calculation on the MCU was ignoring the first two bytes of the message - doh!).</p><p><a href="https://mastodon.km6g.us/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://mastodon.km6g.us/tags/Rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rust</span></a> <a href="https://mastodon.km6g.us/tags/ProtocolBuffers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ProtocolBuffers</span></a> <a href="https://mastodon.km6g.us/tags/RustEmbedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustEmbedded</span></a></p>
Wez Furlong :terminal:<p>weekend tinkering project: hardware wezterm running on a picocalc! This is built using embassy and a slightly tweaked version of the sunset crate for the ssh client. The photo makes things look a lot further along than they really are, because the terminal emulation is virtually non-existent and there is no connection between the keyboard and the ssh session yet. <a href="https://fosstodon.org/tags/embededrust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>embededrust</span></a> <a href="https://fosstodon.org/tags/RustEmbedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustEmbedded</span></a> <a href="https://fosstodon.org/tags/embassyrs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>embassyrs</span></a> <a href="https://fosstodon.org/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a></p>
Wez Furlong :terminal:<p>has anyone coaxed the <a href="https://fosstodon.org/tags/rp2350" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rp2350</span></a> into using PSRAM with embassy-rs? I couldn't find an obvious example in my searches this morning. I did find some arduino startup code that I can probably translate and adapt, but if someone has already done the heavy lifting, that would save me some effort! <a href="https://fosstodon.org/tags/rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rust</span></a> <a href="https://fosstodon.org/tags/embeddedrust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>embeddedrust</span></a> <a href="https://fosstodon.org/tags/rustembedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustembedded</span></a> <a href="https://fosstodon.org/tags/pico2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pico2</span></a></p>
voided warranty<p><a href="https://hachyderm.io/tags/rustEmbedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustEmbedded</span></a> workshop? It is more likely than you’d think. Maybe even possible to source some development kits for people to work with and take home at the end of the day</p>
voided warranty<p>It was great to see so many people interested in embedded rust and some companies in Melbourne seem to be developing some stuff too! <a href="https://hachyderm.io/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a> <a href="https://hachyderm.io/tags/rustEmbedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustEmbedded</span></a></p>
Reto<p>An Leute mit Interesse bzgl. <a href="https://swiss.social/tags/InternetOfThings" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>InternetOfThings</span></a>: Wir (<a href="https://swiss.social/tags/GardenaDigitalHub" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GardenaDigitalHub</span></a>, <a href="https://swiss.social/tags/Embedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Embedded</span></a> <a href="https://swiss.social/tags/Software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Software</span></a> <a href="https://swiss.social/tags/Meetup" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Meetup</span></a> <a href="https://swiss.social/tags/Z%C3%BCrich" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Zürich</span></a>) haben noch viele Plätze frei am 27. Februar: <a href="https://www.meetup.com/embedded-software/events/305485014/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">meetup.com/embedded-software/e</span><span class="invisible">vents/305485014/</span></a></p><p><a href="https://swiss.social/tags/Matter" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Matter</span></a> <a href="https://swiss.social/tags/MatterIoT" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MatterIoT</span></a> <a href="https://swiss.social/tags/IoT" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>IoT</span></a> <a href="https://swiss.social/tags/Schweiz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Schweiz</span></a> <a href="https://swiss.social/tags/OpenSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSource</span></a> <a href="https://swiss.social/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://swiss.social/tags/RustEmbedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustEmbedded</span></a> <a href="https://swiss.social/tags/Rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rust</span></a> <a href="https://swiss.social/tags/Yocto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Yocto</span></a></p>
voided warranty<p>Here’s a photo of the board, the usb port used. <a href="https://hachyderm.io/tags/espressif" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>espressif</span></a> <a href="https://hachyderm.io/tags/esp32" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>esp32</span></a> <a href="https://hachyderm.io/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a> <a href="https://hachyderm.io/tags/RustEmbedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustEmbedded</span></a></p>
voided warranty<p>Okay, so any <a href="https://hachyderm.io/tags/espressif" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>espressif</span></a> <a href="https://hachyderm.io/tags/esp32" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>esp32</span></a> nerds in chat? Need to figure out an issue flashing my <a href="https://hachyderm.io/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a> to the esp32c6 dev kit and neither probe-rs nor espflash seem to be able to see the board. <a href="https://hachyderm.io/tags/RustEmbedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustEmbedded</span></a></p>
voided warranty<p>So I’ve managed to get my driver to work! It isn’t the greatest, but I’m sure that’s because I haven’t actually worked out the optimal configuration to send the device. </p><p>Attached is a short video showing the display updating based on touch input. <a href="https://hachyderm.io/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a> <a href="https://hachyderm.io/tags/RustEmbedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustEmbedded</span></a> <a href="https://hachyderm.io/tags/embedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>embedded</span></a></p>
James Logan<p>This week, I added N-dimensional cubic spline support to InterpN (<a href="https://hachyderm.io/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a> library and <a href="https://hachyderm.io/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> bindings). </p><p>This approach is similar to a De Casteljau recursion in higher dimensions, but uses a depth-first traversal of the calculation to avoid actualizing 4^(ndim-1) values simultaneously, instead keeping memory usage to a linear O(ndims) and entirely on the stack. </p><p>As a result, it requires no heap allocation at all, doesn't even use the standard library, and is <a href="https://hachyderm.io/tags/RustEmbedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustEmbedded</span></a> -compatible.</p>
Danilo<p>After roughly 6 years of work, embedded-hal 1.0 is finally stabilized and released!</p><p>- <a href="http://blog.rust-embedded.org/embedded-hal-v1/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">http://</span><span class="ellipsis">blog.rust-embedded.org/embedde</span><span class="invisible">d-hal-v1/</span></a><br>- <a href="https://github.com/rust-embedded/embedded-hal/issues/177" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/rust-embedded/embed</span><span class="invisible">ded-hal/issues/177</span></a></p><p>embedded-hal (often abbreviated e-h) is a hardware abstraction layer in the form of a collection of Rust traits (both sync and async). It allows writing device drivers that will run on any hardware that implements the HAL.</p><p>Stabilization is a great thing for the Embedded Rust ecosystem. Go ahead and write drivers!</p><p><a href="https://chaos.social/tags/Rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rust</span></a> <a href="https://chaos.social/tags/Embedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Embedded</span></a> <a href="https://chaos.social/tags/HAL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HAL</span></a> <a href="https://chaos.social/tags/RustEmbedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustEmbedded</span></a> <a href="https://chaos.social/tags/Drivers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Drivers</span></a></p>
Joel Michael<p>Hey makers, hackers, and electronics folks of the fediverse, what’s your go-to small cheap dev board that ISN’T an ATmega (too small) or ESP32 (too cursed)? I’m asking because I’m writing a gadget-device framework in Rust, and would like to port it to the most popular dev boards. </p><p><a href="https://aus.social/tags/Rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rust</span></a> <a href="https://aus.social/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a> <a href="https://aus.social/tags/RustEmbedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustEmbedded</span></a> <a href="https://aus.social/tags/Embedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Embedded</span></a> <a href="https://aus.social/tags/Maker" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Maker</span></a> <a href="https://aus.social/tags/Electronics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Electronics</span></a></p>
Joel Michael<p>Update: it has stopped whining. There is a static mut involved. </p><p><a href="https://aus.social/tags/Rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rust</span></a> <a href="https://aus.social/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a> <a href="https://aus.social/tags/RustEmbedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustEmbedded</span></a></p>
Joel Michael<p>Holy shit Rust debug builds are GIGANTIC! At first i thought it was oh this is just what Rust does I guess, but no, things go back to normal when the compiler optimisation option is changed from 0. </p><p>This poor embedded binary grows 4x in size going from -Oz to -O0 before debug symbols are added, and stack usage explodes by a similar amount. </p><p><a href="https://aus.social/tags/Rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rust</span></a> <a href="https://aus.social/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a> <a href="https://aus.social/tags/RustEmbedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustEmbedded</span></a></p>
James Logan<p>Hey, folks - last week, I published the first version of `strobe`, a library for elementwise array expressions.</p><p>It is no-std and no-alloc compatible.</p><p>For large source arrays in nontrivial expressions, it is also about 2-3x faster than the usual method for ergonomic array operations (allocating storage for each intermediate result).</p><p>Docs: <a href="https://docs.rs/strobe/0.1.3/strobe/index.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">docs.rs/strobe/0.1.3/strobe/in</span><span class="invisible">dex.html</span></a></p><p>Github: <a href="https://github.com/jlogan03/strobe" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/jlogan03/strobe</span><span class="invisible"></span></a></p><p>Full benchmark outputs: <a href="https://github.com/jlogan03/strobe/pull/6" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/jlogan03/strobe/pul</span><span class="invisible">l/6</span></a></p><p><a href="https://hachyderm.io/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> <a href="https://hachyderm.io/tags/rustembedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustembedded</span></a></p>
voided warranty<p>Got my hands on an nrf52840 development kit. Had to add ‘--erase-all` to the probe-run command for the first test with embassy-rs Blinky example. After that it worked alright. <a href="https://hachyderm.io/tags/Electronics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Electronics</span></a> <a href="https://hachyderm.io/tags/RustEmbedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustEmbedded</span></a> <a href="https://hachyderm.io/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a></p>