Rust bare-metal

Open-source Rust projects categorized as bare-metal

Top 12 Rust bare-metal Projects

  • rust-raspberrypi-OS-tutorials

    :books: Learn to write an embedded OS in Rust :crab:

  • Project mention: Operating System Development Tutorials in Rust on the Raspberry Pi | news.ycombinator.com | 2024-02-07
  • rtic

    Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers

  • Project mention: Is rust used for microchip coding? | /r/rust | 2023-06-27

    There's also RTIC which is another framework that makes concurrency trivial.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • xargo

    The sysroot manager that lets you build and customize `std`

  • rustsbi

    RISC-V Supervisor Binary Interface (RISC-V SBI) library in Rust; runs on M or HS mode; good support for embedded Rust ecosystem. For binary download see https://github.com/rustsbi/standalone.

  • cortex-m-quickstart

    Template to develop bare metal applications for Cortex-M microcontrollers

  • crossbus

    A Platform-less, Runtime-less Actor Computing Model

  • practice-mcu-bare-metal-rust

    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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • no_std-training

    Getting-started guide on using the Rust with Espressif SoCs using no_std.

  • Project mention: no_std with ESP32: "rustc --print target-list" changes result depending on directory it's run from | /r/learnrust | 2023-11-10

    The first Book example is here: https://github.com/esp-rs/no_std-training/tree/main/intro/hello-world

  • esp32-spooky-maze-game

    Rust Bare Metal implementation of maze game for ESP32

  • esp-storage

    implementation of embedded-storage traits to access unencrypted ESP32 flash

  • Project mention: The Embedded Rust ESP Development Ecosystem | dev.to | 2023-09-15

    Among these several abstractions, we can program a microcontroller device at any level we like. Additionally, we can develop code with a mix of low-level and high-level abstractions. Obviously, to make code more portable it's better to stick to higher-level abstractions. Also in addition to the above, there exists other crates supporting other functions in no-std development. These include wifi services in the esp-wifi repository, heap allocators in the esp-alloc repository, logging features in the esp-println repository, exception handlers in the esp-backtrace repository, and finally embedded storage traits in the esp-storage repository.

  • harsark.rs

    A safe and lightweight real-time Kernel written in Rust.

  • pulau-rs

    #![no_std], allocation-free union-find library for bare metal environments

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust bare-metal related posts

Index

What are some of the best open-source bare-metal projects in Rust? This list will help you:

Project Stars
1 rust-raspberrypi-OS-tutorials 12,954
2 rtic 1,609
3 xargo 1,078
4 rustsbi 924
5 cortex-m-quickstart 712
6 crossbus 120
7 practice-mcu-bare-metal-rust 113
8 no_std-training 42
9 esp32-spooky-maze-game 28
10 esp-storage 23
11 harsark.rs 12
12 pulau-rs 8

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com