C bare-metal

Open-source C projects categorized as bare-metal

Top 18 C bare-metal Projects

  1. tilck

    A Tiny Linux-Compatible Kernel

    Project mention: Tilck: A Tiny Linux-Compatible Kernel | news.ycombinator.com | 2025-07-15
  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 - Mirror of ssh://public@git.pengutronix.de/barebox

  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

    Project mention: MAML – a new configuration language (similar to JSON, YAML, and TOML) | news.ycombinator.com | 2025-10-12

    In practice, there are still types, they are just validated by your application. I didn’t want Confetti itself to make assumptions. I wanted to give you the freedom to define your own custom types and keywords, like “on” and “off”, or even tri-states like “yes”, “no”, “maybe”.

    The problem with mandatory keywords, like “true” and “false”, is they box you into the English language. And how many data types are baked in is arbitrary, for example, TOML has data types for date and time, but JSON does not [1]. Where do you draw the line? Confetti let’s you decide.

    You might enjoy reading this take on the subject [2].

    [1] https://toml.io/en/v1.0.0#offset-date-time

    [2] https://github.com/madmurphy/libconfini/wiki/An-INI-critique...

  10. hftrx

    Embedded firmware for ham radio transceivers

  11. bareDOOM

    DOOM ported to run within the barebox bootloader

  12. riscv-os

    Build a minimal kernel for RISC-V

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

  14. computersystems

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

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

  16. FPGA_Multimedia_Player

    MSc Final Project

  17. guess-the-number

    A bare metal kernel with only Guess The Number

  18. 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: Static-allocation MLP inference in ANSI C using a 2-slot ring buffer | news.ycombinator.com | 2026-05-28
  19. 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

  • 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
  • hftrx: NEW Extended Research - star count:52.0

    1 project | /r/algoprojects | 12 Aug 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 6 Jun 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,095
2 circle 2,253
3 baremetal-arm 828
4 rv32emu 559
5 barebox 301
6 mdk 284
7 stm32samples 199
8 libconfini 181
9 hftrx 112
10 bareDOOM 78
11 riscv-os 65
12 TurboStitchGIF-HeaderOnly-Fast-ZeroAllocation-PlatformIndependent-Embedded-C-GIF-Decoder 49
13 computersystems 49
14 c2500re 31
15 FPGA_Multimedia_Player 4
16 guess-the-number 3
17 MLPico 2
18 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?