Hacker News with Generative AI: Embedded Systems

Minimally intrusive instrumentation of embedded system C/C++ code (github.com/RTEdbg)
The toolkit includes a library of functions for minimally intrusive code instrumentation (data logging/tracing), tools for transferring data to the host, a tool for decoding data on the host, and demo code.
Arm PC Base System Architecture 1.0 (developer.arm.com)
Making Sense of Real-Time Operating Systems in 2024 (hackaday.com)
The best part about real-time OS (RTOS) availability in 2024 is that we developers are positively spoiled for choice, but as a corollary this also makes it a complete pain to determine what the optimal choice for a project is.
Release RP2350 and ESP32-C6 support, RISC-V native emitter, common TinyUSB code (github.com/micropython)
This release of MicroPython adds support for the new RP2350 MCU, improved RISC-V support with native code generation, support for ESP32-C6 MCUs, update Zephyr version with threading support, unified TinyUSB bindings across ports, a portable UART IRQ API, and enhanced mpremote recursive copy. There are also numerous bug fixes, enhancements to the test suite and more attention to testing of the machine module and its API. Read on for more details.
Why systemd is a problem for embedded Linux (kevinboone.me)
The Internet is full of rants about systemd, and I don’t want this post to be another one. Many of the complaints people make about it don’t stand up to much scrutiny, even the technical ones; and many complaints are not even technical. My particular interest in Linux is primarily for embedded applications; and there, I suggest, systemd is creating a potential (technical) problem.
Async embedded Rust vs. FreeRTOS and C showdown (2022) (tweedegolf.nl)
It's time for another technical blog post about async Rust on embedded. This time we're going to pitch Embassy/Rust against FreeRTOS/C on an STM32F446 microcontroller.
K4 – High performance open-source transactional, durable embedded storage engine (github.com/guycipher)
High performance transactional, durable embedded storage engine. Designed to deliver low-latency, optimized read and write performance.
Why did you write a new RTOS for CHERIoT? (cheriot.org)
I’m often asked why we decided to write a new RTOS for CHERIoT instead of using something that already existed, such as ThreadX, FreeRTOS, or Zephyr. The short answer is that CHERIoT is a hardware-software co-design project and retrofitting ground-up co-design is hard. This post is for people who want the long answer.
Raspberry Pi release higher performance AI HAT+ – 13 and 26 TOPS variants (tomshardware.com)
The last issue of The Embedded Muse (#500) (ganssle.com)
This is the last Embedded Muse
YouTube: The SiFive HiFive Premier P550 [video] (youtube.com)
Performance of popular microcontroller boards running uLisp (ulisp.com)
The following table gives a summary of the performance of the different boards supported by the latest release of uLisp for each platform:
Implementing neural networks on the "3 cent" 8-bit microcontroller (wordpress.com)
Bouyed by the surprisingly good performance of neural networks with quantization aware training on the CH32V003, I wondered how far this can be pushed. How much can we compress a neural network while still achieving good test accuracy on the MNIST dataset?
Neural Networks (MNIST inference) on the "3-cent" Microcontroller (wordpress.com)
Bouyed by the surprisingly good performance of neural networks with quantization aware training on the CH32V003, I wondered how far this can be pushed. How much can we compress a neural network while still achieving good test accuracy on the MNIST dataset?
Raspberry Pi 3 fastboot in less than 2 seconds (2020) (furkantokac.com)
This post tells about my journey of fast-booting a Raspberry Pi 3 (RPI). In addition to that, some optimizations are discussed that can be applied to a Qt (QML) application. In the end, we will have a RPI that boots from power-up to Linux shell in 1.75 seconds, power-up to Qt (QML) application in 2.82 seconds.
You can run Linux on the RISC-V cores of the Raspberry Pi Pico 2's RP2350 (xda-developers.com)
Embedded Rust in Production? (lohr.dev)
When I mention that we use Rust on the embedded ESP32 platform the most common reaction is a jaw-dropping "This is possible?!". Yes, it is indeed possible! - And we at STABL Energy have used it successfully for over a year now. And because so many people seem interested in why we use Rust and how it is going for us, I decided to write this blog post.
Show HN: Chasing a Win32 Bug in SetCommState (foldl.github.io)
For those (including myself) working on embedding systems, COM port is used day to day. sscom is a cute tool used widely. It’s small sized, fast, and reliable.
A Lisp compiler to RISC-V written in Lisp (ulisp.com)
This is a simple experimental Lisp compiler, written in uLisp, that will compile a Lisp function into RISC-V machine code. You can run the compiler on the RISC-V core of a Raspberry Pi Pico 2 (or another RP2350-based board):
Seeed Studio XIAO RP2040 with NuttX(RTOS) (seeedstudio.com)
NuttX is a mature real-time operating system (RTOS) widely recognized for its standards compliance and small footprint.
Show HN: Running Game Boy ROMs on the STM32 ARM Cortex Microcontroller (github.com/jnz)
Running Game Boy ROMS on the STM32 ARM Cortex microcontroller.
Buildroot (buildroot.org)
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation.
Fixed-point arithmetic as a replacement for soft floats (pigweed.dev)
Fixed-point arithmetic is an alternative to floating-point arithmetic for representing fractional data values (0.5, -1.125, 10.75, etc.). Fixed-point types can be represented as scaled integers. The advantage here is many arithmetic operations (+, -, *, /, etc.) can be implemented as normal integral instructions. This can be useful for embedded systems or other applications where floating-point operations can be too expensive or not available. Clang has support for fixed-point types according to ISO TR 18037.
Ask HN: What do embedded engineers do? (ycombinator.com)
I would very much like to transition to doing more embedded type software that is closer to interfacing directly with hardware, but my only experience in this has been writing code for Arduino, different Raspberry Pi flavors, and sometimes the ESP8266.
Quake runs in just 276 kB RAM on the Arduino Nano Matter board (silabs.com)
Loading×Sorry to interruptCSS ErrorRefresh
Implementing Neural Networks on the tiniest "3 cent" 8-bit Microcontroller (wordpress.com)
Bouyed by the surprisingly good performance of neural networks with quantization aware training on the CH32V003, I wondered how far this can be pushed. How much can we compress a neural network while still achieving good test accuracy on the MNIST dataset?
LlamaF: An Efficient Llama2 Architecture Accelerator on Embedded FPGAs (arxiv.org)
Large language models (LLMs) have demonstrated remarkable abilities in natural language processing. However, their deployment on resource-constrained embedded devices remains difficult due to memory and computational demands.
I Booted full Linux on an Intel 4004 (dmitry.gr)
In 2012, I ran real Linux on an 8-bit microcontroller (AVR), setting a new world record for lowest-end-machine to ever run Linux.
Sipeed NanoKVM: A RISC-V stick-on (jeffgeerling.com)
This is the Sipeed NanoKVM. You stick it on your computer, plug in HDMI, USB, and the power button, and you get full remote control over the network—even if your computer locks up.
Debugging Behind the Iron Curtain (2010) (jakepoz.com)
Sergei is a veteran of the early days of the computing industry as it was developing in the Soviet Union. I had the pleasure of working and learning from him over the past year, and in that time I picked up more important lessons about both life and embedded programming than any amount of school could ever teach.