C bare-metal

Open-source C projects categorized as bare-metal

Top 23 C bare-metal Projects

  1. tilck

    A Tiny Linux-Compatible Kernel

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. circle

    A C++ bare metal environment for Raspberry Pi with USB (32 and 64 bit) (by rsta2)

  4. baremetal-arm

    An ebook about bare-metal programming for ARM

  5. rv32emu

    Compact and Efficient RISC-V RV32I[MAFC] emulator

  6. barebox

    The barebox bootloader - Official Github Mirror

  7. mdk

    A bare metal SDK for the ESP32 & ESP32C3

  8. stm32samples

    Code samples and ready projects based on bare-metal STM32

  9. libconfini

    Yet another INI parser

  10. embedmq

    A minimalist, zero-dependency inter-thread messaging API for ANY embedded project | 极简、零依赖,适用于任何嵌入式项目的跨线程通信API

    Project mention: I got tired of hand-rolling message queues in FreeRTOS. So I built embedmq. | dev.to | 2026-06-16

    GitHub: https://github.com/w4ysonch/embedmq

  11. hftrx

    Embedded firmware for ham radio transceivers

  12. bareDOOM

    DOOM ported to run within the barebox bootloader

  13. riscv-os

    Build a minimal kernel for RISC-V

  14. TurboStitchGIF-HeaderOnly-Fast-ZeroAllocation-PlatformIndependent-Embedded-C-GIF-Decoder

    TurboStitchGIF: A fast, header-only C GIF decoder without dynamic allocations, ideal for embedded systems and cross-platform projects.

    Project mention: Show HN: TurboStitchGIF GIF decoder that lets you choose: safety or speed | news.ycombinator.com | 2026-02-22

    Version 1.2 introduces two LZW backends (safe bounds-checked vs unsafe turbo), micro-cache for 30-40% faster decoding, three output formats (RGB888/RGB565LE/RGBA8888), span-based turbo blit, optional 256KB RGB565 map2 for 2-pixel-at-once rendering, proper disposal method 3 support, renderer API for indexed output, safety toggles to disable checks when you need raw speed, and prefix mode to avoid symbol conflicts — all while staying 100% malloc-free on a user-provided scratch buffer.

    Repo: https://github.com/Ferki-git-creator/TurboStitchGIF-HeaderOn...

  15. computersystems

    Incremental system software for Raspberry Pi. From a blinking LED to a video game.

  16. easy_memory

    A strictly typed, platform-agnostic, and safe memory management system for C. Features arbitrary alignment, triple-key LLRB tree, and zero-dependency bare-metal support.

  17. c2500re

    Documentation of an effort to reverse engineer a Cisco 2501 router, with the end goal to run my own code on it (in particular FreeRTOS)

  18. NexsOS1

    A graphical OperatingSystem, OpenSource, based on a hybrid-kernel

    Project mention: Ask HN: What are you working on? (June 2026) | news.ycombinator.com | 2026-06-14

    I'm working on an OpenSorce operating system, it's been 6 months now, the system runs on aarch64 and amd64 in graphical mode, it has separate kernel and userland (loaded via elf), it's a proprietary api on here in turn I'm rebuilding a libc and posix compatibility, I've already brought some applications between here a shell, a 3d demo, a text editor (kilo), and doom, I'm currently working on sandboxing, on moving drivers to userland services and to disconnect when I get exhausted on the compositor (I just introduced support for multiple resolutions, themes and variable styles), actually I hope that more people will get passionate and become part of this project that I hope will not be just mine: https://github.com/olmox001/NexsOS1

  19. FPGA_Multimedia_Player

    MSc Final Project

  20. boltossource

    A 64-bit OS built from scratch in C and x86-64 assembly: custom BIOS/UEFI boot, kernel, GUI, userland, networking, browser/JS, and DOOM.

    Project mention: I Built a 64-Bit OS from Scratch: BIOS/UEFI, GUI, Networking, a Browser, and DOOM | dev.to | 2026-09-09

    The first source release is available at BoltOS v0.1.0 — Initial Public Preview.

  21. Can-It-Run-Minecraft

    Minecraft's very first version rebuilt, so it plays in a terminal, over telnet, in a browser, inside a PDF, on a bare 486 PC, and anything else you can think of.

    Project mention: Show HN: Minecraft as one C file that runs inside a PDF, a terminal and a Kindle | news.ycombinator.com | 2026-10-27
  22. BooleOS

    A bare-metal x86 hobby OS built from scratch in C99 and NASM, with its own graphics API (Cathode, WIP). No Linux/BSD fork underneath.

    Project mention: BooleOS: building a bare-metal x86 OS without writing a single line of it myself | dev.to | 2026-09-25

    BooleOS is a hobby operating system for x86 (32-bit), written in C99 and NASM, no Linux or BSD underneath, no libc. It boots via Multiboot2, has its own heap manager (no raw malloc), a FAT16/VFS layer, and a cooperative scheduler so far. Repo: https://github.com/BooleSystems/BooleOS

  23. MLPico

    Static-allocation MLP inference in ANSI C using 2-slot circular buffer with fixed stride indexing. An easy to use, minimal MLP alternative to GiorgosXou/NeuralNetworks enhanced with PROGMEM, int-quantization etc.

    Project mention: Show HN: MLP inference in ANSI C using a 2-slot ring buffer | news.ycombinator.com | 2026-06-11
  24. OpenDOS

    This is the simplest test OS (by BrightCat14)

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).

C bare-metal discussion

Log in or Post with

C bare-metal related posts

  • I Built a 64-Bit OS from Scratch: BIOS/UEFI, GUI, Networking, a Browser, and DOOM

    1 project | dev.to | 9 Sep 2026
  • Show HN: TurboStitchGIF GIF decoder that lets you choose: safety or speed

    1 project | news.ycombinator.com | 22 Feb 2026
  • Virtualizing Nvidia HGX B200 GPUs with Open Source

    3 projects | news.ycombinator.com | 18 Dec 2025
  • Circle – C++ bare metal environment for Raspberry Pi with USB (32 and 64 bit)

    1 project | news.ycombinator.com | 26 Mar 2025
  • Baking Pi – Operating Systems Development

    4 projects | news.ycombinator.com | 1 Aug 2024
  • MiniScript on a bare-metal Raspberry Pi

    4 projects | dev.to | 2 Mar 2024
  • Bare Metal Emulation on the Raspberry Pi – Commodore 64

    6 projects | news.ycombinator.com | 15 Nov 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 12 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 tilck 3,140
2 circle 2,346
3 baremetal-arm 860
4 rv32emu 597
5 barebox 321
6 mdk 298
7 stm32samples 208
8 libconfini 180
9 embedmq 121
10 hftrx 118
11 bareDOOM 82
12 riscv-os 67
13 TurboStitchGIF-HeaderOnly-Fast-ZeroAllocation-PlatformIndependent-Embedded-C-GIF-Decoder 50
14 computersystems 49
15 easy_memory 44
16 c2500re 31
17 NexsOS1 8
18 FPGA_Multimedia_Player 5
19 boltossource 4
20 Can-It-Run-Minecraft 4
21 BooleOS 3
22 MLPico 2
23 OpenDOS 1

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

Did you know that C is
the 6th most popular programming language
based on number of references?