SaaSHub helps you find the best software and product alternatives Learn more →
Top 15 Rust Arm Projects
“Zero setup” cross compilation and “cross testing” of Rust cratesProject mention: Is statically compiling against glibc possible? | /r/rust | 2023-11-16
To compile a program with musl on a glibc system you can use cross-rs!
A secure embedded operating system for microcontrollersProject mention: Safety vs. Performance. A case study of C, C++ and Rust sort implementations | news.ycombinator.com | 2023-10-05
I'm definitely not the best person to answer this, but honestly it's not bad. Here's an example of a moderately complex peripheral, the cortex-m MPU, and how one rust OS handles it:
Reads and writes turn into volatile reads, so everything works out under the hood. You get the benefits of everything having good names, declared sizes, and proper typing on your register accesses. You can extend that to bit accesses as well.
Rust still has a few areas it isn't competitive in, like your hyper limited or obscure chips (e.g. 8051s, XAP), mature tooling around formal methods, and a certification story for safety critical code. People are working on these latter two issues (e.g. ferrocene) and supposedly very close to public delivery, but you know how slow the industry is to adopt new things even then.
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollersProject mention: Is rust used for microchip coding? | /r/rust | 2023-06-27
There's also RTIC which is another framework that makes concurrency trivial.
A debugging toolset and library for debugging embedded ARM and RISC-V targets on a separate hostProject mention: Where my STM32 Rust compiler? | /r/ProgrammerHumor | 2023-05-11
Want debugging capabilities with anything with an am st link/jtag/other compatible probe? https://probe.rs/
A cross-platform, high-performance and asynchronous web server for static files-serving. ⚡Project mention: Best Practice For Serving Static (Frontend) Files with NGINX in K8s? | /r/kubernetes | 2023-07-09
I swapped to static-web-server for exclusively static files, it's only 4MB and its envvars are much easier than nginx's config files
Low level access to Cortex-M processorsProject mention: Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022 | news.ycombinator.com | 2023-06-27
I do not have as strong of feelings as your parent, but:
1. A lot of the APIs make use of the typestate pattern, which is nice, but also very verbose, and might turn many people off.
2. The generated API documentation for the lower level crates relies on you knowing the feel for how it generates the various APIs. It can take some time to get used to, especially if you're used to the better documentation of the broader ecosystem.
3. A bunch of the ecosystem crates assume the "I am running one program in ring0" kind of thing, and not "I have an RTOS" sort of case. See the discussion in https://github.com/rust-embedded/cortex-m/issues/233 for example.
Template to develop bare metal applications for Cortex-M microcontrollers
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
Generate Rust register maps (`struct`s) from SVD files
Unicorn Emulator Debug Server - Written in Rust, with bindings for C, Go, Java and Python
A heap allocator for embedded systemsProject mention: Embedded Rust on BBC Micro Bit: unlocking Vec and HashMap | dev.to | 2023-03-24
Luckily, the embedded-alloc crate provides us with one (there is a complete example in the associated Github repository). We also need the cortex-m crate to handle critical sections. Add them to the project's dependencies like so:
A bare metal (register level) STM32F103C8T6/STM32F103 MCU program written in pure Rust without any IDE, SDK, HAL or library, and no assembly code, the only tool required is the Rust compiler.
A Rust embedded-hal HAL for all MCUs in the STM32 F7 family
Raw system calls for Rust (by japaric)Project mention: A toy std::fs impl that does not need libc | /r/rust | 2023-05-08
I made a toy std::fs implementation that does not depend on libc, i.e., using Raw Syscall. There are some voices in the community stating that we should make the standard library opt out of libc for better performance, so I decided to give it a try and wanna know if I could impl such stuff by myself.
A safe and lightweight real-time Kernel written in Rust.
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust Arm related posts
RTIC (The hardware accelerated Rust RTOS) releases v2.0.0!
1 project | /r/rust | 1 Jun 2023
Where my STM32 Rust compiler?
1 project | /r/ProgrammerHumor | 11 May 2023
Cannot enable VT-d on Thinkcentre M700
2 projects | /r/Lenovo | 22 Apr 2023
Embedded Rust on BBC Micro Bit: unlocking Vec and HashMap
4 projects | dev.to | 24 Mar 2023
When is the right time to change jobs?
1 project | /r/embedded | 19 Feb 2023
eskarp: Custom design using ergogen, 3D printed case, RP2040 with Rust firmware
4 projects | /r/ErgoMechKeyboards | 6 Jan 2023
Question: Elegant way of getting a 'static reference?
2 projects | /r/rust | 6 Dec 2022
A note from our sponsor - #<SponsorshipServiceOld:0x00007f0f9b57d620>
www.saashub.com | 9 Dec 2023
What are some of the best open-source Arm projects in Rust? This list will help you: