#rustembedded — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #rustembedded, aggregated by home.social.
-
InterpN is getting B-splines, and a 3x speedup at the same time!
Implementing B-splines exposed some opportunities for optimizations in the existing cubic Hermite methods, especially for larger data. Now, all InterpN cubic methods, both Hermite and B-spline, are at least 3x faster than scipy even asymptotically for large data, and >10x faster for latency-dominated small samples.
-
emailed waveshare for a datasheet. got excel spreadsheet with register definitions. #RustLang #RustEmbedded #electronics
-
yet again i managed to get a display with touch on an embedded device without checking if there were any rust drivers. this time i can't even find a datasheet
-
Wow, someone's successfully targeted my embedded Rust USB host stack to *EHCI*. That's, like, a *real* host controller... https://github.com/imxrt-rs/imxrt-usbh #rustlang #embeddedrust #rustembedded
-
I may have to maintain a set of forks of a bunch of crates for my IPv6 crimes to work #RustEmbedded
Especially smoltcp, embassy, esp-hal and all their related crates are not properly aligned feature wise and wrt releases being somewhat up to date
-
Of course IPv6 multicast in rust embedded is a proper challenge
-
I'm now trying to wrap my head around the esp-idf implementation for the lcd rgb panel so that I can implement what they do in Rust. #RustEmbedded #embedded #esp32.
here's the main bulk of the c implementation: https://github.com/espressif/esp-idf/blob/master/components/esp_lcd/rgb/esp_lcd_panel_rgb.c
-
No, just bad documentation. Had to find an env var to add to .cargo/config.toml #RustLang #espressif #RustEmbedded #embedded
-
I think I found a bug in esp-hal in rust … trying to use PSRAM at 120MHz with cpu clock at 240MHz, which should be supported, the init fails at initialisation of the syscall table #RustLang #espressif #RustEmbedded #embedded
-
I’m implementing the weird three wire spi thing straight from a c implementation. Borrow checker cries. Refactor time. #RustEmbedded #embedded
-
I tried fixing the timing calculations. That don’t help. Maybe the spi comms are setup wrong? #RustEmbedded #embedded
-
The esp rust hal for the lcd is under documented and doesn’t line up exactly with what the c implementation uses for config values so it’s really hard to know where I’m going wrong #RustEmbedded #RustLang
-
I'm very perplexed why my display code is working but not working #RustEmbedded #embedded #ParallelRGB
-
Got distracted and made sure the touch driver would work (the crate I found didn’t quite work so I fixed it) #RustLang #embedded #RustEmbedded
-
Listening to soma.fm and coding a driver for the st7701s lcd chip in rust #RustLang #embedded #RustEmbedded
-
Hello, Rat 👋🐁
🦀 New embedded Rust + @ratatui_rs tutorial dropped!
🔥 Learn how to build embedded TUIs on ESP32!
➡️ Read on impl Rust book: https://esp32.implrust.com/ratatui/hello-rust/mousefood.html
#rustlang #ratatui #embedded #esp32 #tutorial #tui #rustembedded #opensource
-
Const-unrolling lower-dimensional methods in interpn has now pushed it well past parity with existing N-dimensional methods. It even matches the performance of specialized 1D and 2D methods - without specifically addressing the 1D or 2D case separately from the N-dimensional case!
On top of that, the new flattened evaluation approach remains heapless and no longer uses recursion, which makes it friendly to rigorous call stack analysis for embedded.
-
3rd time I soldered V1 of the board, and it's now working OK. I realized the problems with the RGB LEDs were not caused by faulty hardware, but rather wonky DMA transfer timing. In the process, I did find some hardware issues which were not breaking things (yet), such as missing caps next to each LED and wrong logic voltage being applied on the inputs. The MIDI optocoupler was also pumping 5V into the MCU, which is not supposed to be safe. Fixed all of that, and I will hopefully come up with a second version of the PCB in the coming weeks. I will also most likely replace the buttons with something a little bit more reliable. These E-Switches are really not great. But before ordering any boards from China, I will work on making the software better. The OS support for the microsd card is also still quite broken. #synthdiy #eurorack #rustembedded
-
Ran a rust LoRa example on the two boards and then tested their range for a bit. With their little dinky antennas and through buildings we got roughly 350m distance before I got bored and walked back #rustEmbedded #LoRa
-
Running Ratatui on RP2040! https://blog.mjolner.tech/ratatui-pi/
With the help of @9names, ratatui is now useable on the RP2040 and RP2350!
I’ve created an example that uses a round lcd touch display to implement a simple counter app.
-
TIL you cannot do a TLS request in embedded rust or no_std that checks the server certificate. And that the raspberry pi pico wifi HAL does not support setting a source MAC address. One of those two is an easy fix =)
#RustEmbedded #RustLang #TIL #embassy #RaspberryPiPico #cyw43 #EmbeddedTLS #reqwless
-
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.
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!).
-
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.
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!).
-
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.
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!).
-
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.
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!).
-
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.
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!).
-
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. #embededrust #RustEmbedded #embassyrs #rustlang
-
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. #embededrust #RustEmbedded #embassyrs #rustlang
-
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. #embededrust #RustEmbedded #embassyrs #rustlang
-
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. #embededrust #RustEmbedded #embassyrs #rustlang
-
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. #embededrust #RustEmbedded #embassyrs #rustlang
-
has anyone coaxed the #rp2350 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! #rust #embeddedrust #rustembedded #pico2
-
#rustEmbedded 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
-
It was great to see so many people interested in embedded rust and some companies in Melbourne seem to be developing some stuff too! #RustLang #rustEmbedded
-
An Leute mit Interesse bzgl. #InternetOfThings: Wir (#GardenaDigitalHub, #Embedded #Software #Meetup #Zürich) haben noch viele Plätze frei am 27. Februar: https://www.meetup.com/embedded-software/events/305485014/
#Matter #MatterIoT #IoT #Schweiz #OpenSource #Linux #RustEmbedded #Rust #Yocto
-
I’ve managed to get an example esp32c6 running code on the low power co-processor. It was definitely not straightforward but it builds now. Ext step is flashing with probe-rs #RustEmbedded #rust #RustLang #esp32
-
Okay, I found a cable that works! And I flashed the test made with esp-generate and defmt prints nicely to my terminal using probe-rs. Crisis over! #espressif #esp32 #RustLang #RustEmbedded
-
This is the device in question. As you can see they forgot to route out any debug ports https://www.waveshare.com/wiki/RP2040-Touch-LCD-1.28 #BusPirate #RustEmbedded
-
I wonder if I can hook something dodgy up with the bus pirate v5 I have and this touch display device. Debugging by reflashing gets old very quickly and my example code needs to be finished up so my blog post on embedded driver development can be published. #BusPirate #RustEmbedded maybe postcard?
-
I really wish I could use rust with the nrf7002 DK #RustEmbedded #Rust #NordicSemi
-
Best way to learn a language is have a book, but actually start writing code.. this week, I started learning rust. Coming from a C and assembly background, I guess I will keep ranting about various topics here as I move on the journey. So far the language has been a bit irritating - not so much that I dump it.. it has it's own idiocyncrazies.
Chapter 1: https://youtu.be/I6m5nFq6lk0
Chapter 2: https://youtu.be/_KfAP7rGqqs