Top 14 Rust Arm Projects
-
Project mention: RTOS for an embedded system with dynamically loading modules/components | reddit.com/r/embedded | 2022-05-12
I’ve seen a few attempts at this sort of thing for microcontrollers, the one that jumps to mind first being TockOS (https://www.tockos.org). I’m not sure whether Zephyr has something similar, but I wouldn’t be surprised if it did.
-
Project mention: How to add targets to Rust for cross-compiling *offline* | reddit.com/r/rust | 2022-08-12
For that I can reccommend cross. It basically uses docker containers with the toolchain of the target platform inside to compile your code. To get the relevant image on your server you can docker save the image on your machine and docker load it on your server.
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
cortex-m-rtic
Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers
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 which is a concurrency framework for real-time systems using interrupts. IIRC the car industry is interested in it.
-
probe-rs
A debugging toolset and library for debugging embedded ARM and RISC-V targets on a separate host
There is a command to list supported chips for *flashing* in all our CLI tools. Furthermore https://github.com/probe-rs/probe-rs/tree/master/probe-rs/targets contains all targets for which we support *flashing*.
-
Project mention: Any frameworks in Rust for developing on SiFive / ST / NXP boards? | reddit.com/r/embedded | 2021-12-11
For cortex-m support, check out the cortex-m crate
-
Project mention: Weird Autocomplete Behavior with rust-embedded Template | reddit.com/r/rust | 2022-03-03
This paragraph is to just give context that everything else has been setup correctly. I have installed all prerequisites and can successfully run cargo generate --git https://github.com/rust-embedded/cortex-m-quickstart. I have edited memory.x as mentioned, and .cargo/config.toml to specify my MCU. I then run cargo build, change my debug configuration to Debug (OpenOCD), hit F5 and successfully reach the first breakpoint.
-
https://github.com/rust-embedded/svd2rust
Additionally, I use vanilla VS Code and rust analyser so no need to use manufacturer supplied lock-in IDEs. There are many compiler targets to choose from for cross compilation and tools like probe-run to flash chips.
One major issue is lack of manufacturer provided code examples written in Rust. For that I rely on the Rust community. A typical example being nrf-hal for Nordic Bluetooth chips.
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
-
Project mention: Hosting Hugo site with docker and reverse proxing it with nginx | reddit.com/r/selfhosted | 2022-03-09
I use static web server to host the image.
-
Project mention: C Is Not a Low-level Language: Your computer is not a fast PDP-11. | reddit.com/r/rust | 2022-01-22
cargo embed (this handles building, probe detection, uploading/flashing, resetting, RTT, and GDB)
-
Project mention: C Is Not a Low-level Language: Your computer is not a fast PDP-11. | reddit.com/r/rust | 2022-01-22
cargo flash (higher level than cargo embed making it easier to use in specific use cases)
-
It looks like you can. I have no experience with this but you can also check out the rust channel of the embedded engineers discord for help if you hit a snag.
-
-
-
Rust Arm related posts
- Thinking of making a POWER9 build, in 2022. Am I crazy?
- probe-rs 0.13.0 is out! 🎉
- Help with alloc_cortex_m build
- What use cases does Rust cover better than Go?
- Oxide on My Wrist: Hubris on PineTime was the best worst idea
- Rust on M1 What experience?
- Async Rust vs RTOS showdown! - Spoiler: Rust is faster!
Index
What are some of the best open-source Arm projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | tock | 3,646 |
2 | cross | 3,404 |
3 | cortex-m-rtic | 926 |
4 | probe-rs | 823 |
5 | cortex-m | 539 |
6 | cortex-m-quickstart | 528 |
7 | svd2rust | 477 |
8 | static-web-server | 351 |
9 | cargo-embed | 247 |
10 | cargo-flash | 219 |
11 | cortex-a | 117 |
12 | alloc-cortex-m | 116 |
13 | stm32f7xx-hal | 71 |
14 | harsark.rs | 9 |
Are you hiring? Post a new remote job listing for free.