C Embedded

Open-source C projects categorized as Embedded

Top 21 C Embedded Projects

  • GitHub repo MicroPython

    MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems

    Project mention: NASA Mars Perseverance Rover Uses Same PowerPC Chipset Found in 1998 G3 iMac | reddit.com/r/gadgets | 2021-03-02
  • GitHub repo Mongoose

    Mongoose Embedded Web Server Library - a multi-protocol embedded networking library with TCP/UDP, HTTP, WebSocket, MQTT built-in protocols, async DNS resolver, and non-blocking API. (by cesanta)

    Project mention: Extremely fast HTTP requests library | reddit.com/r/cpp | 2020-12-24

    Perhaps check out mongoose (https://github.com/cesanta/mongoose).

  • Scout

    Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo cray

    A simple and easy-to-use library to enjoy videogames programming

    Project mention: C Deep | dev.to | 2021-02-27

    raylib - Simple and easy-to-use library to learn video game programming. Zlib

  • GitHub repo lvgl

    Powerful and easy-to-use embedded GUI library with many widgets, advanced visual effects (opacity, antialiasing, animations) and low memory requirements (16K RAM, 64K Flash).

    Project mention: Electron UI on embedded linux? | reddit.com/r/embedded | 2021-02-12

    I haven't tried LVGL, but it looks interesting: https://lvgl.io

  • GitHub repo zephyr

    Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.

    Project mention: Zephyr Rtos V230 | reddit.com/r/embedded | 2021-02-19

    Wrong link? v2.5.0 was just released: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.5.0

  • GitHub repo wasm3

    🚀 The fastest WebAssembly interpreter (and the most universal wasm runtime)

    Project mention: 152kb single-file WebAssembly interpreter, that runs on six operating systems | reddit.com/r/WebAssembly | 2021-03-01
  • GitHub repo circuitpython

    CircuitPython - a Python implementation for teaching coding with microcontrollers

    Project mention: Macropad (but I designed it from the ground up!) | reddit.com/r/MechanicalKeyboards | 2021-02-21

    I'm not using MicroPython in this case, I'm using Adafruit's CircuitPython since it has USB HID support baked into it (and planning to port it to C++ when Arduino releases support for the RP2040 chip).

  • GitHub repo cleanflight

    Clean-code version of the baseflight flight controller firmware

    Project mention: Universal Radio Hacker: Investigate Wireless Protocols Like a Boss | news.ycombinator.com | 2021-02-27

    This made it really easy to figure out how to interpret the packets from my wireless barbeque thermometer. Previously i used some monstrous excel for this kind of pattern finding, e.g. https://github.com/cleanflight/cleanflight/issues/1125#issue...

    In the end the bbq temp sensor turned out to be trivial, using rtl433 on a raspberry pi I just log the packets to a dynamo table and alexa (using google charts from a lambda) plots the last 20 points on screen.

  • GitHub repo littlefs

    A little fail-safe filesystem designed for microcontrollers

    Project mention: Microsoft/Uf2: USB Flashing Format | news.ycombinator.com | 2021-01-30

    For microcontrollers, https://github.com/littlefs-project/littlefs has some mindshare (although not sure how much there is outside the mbed world).

  • GitHub repo tinyusb

    An open source cross-platform USB stack for embedded system

    Project mention: Which open-source projects to contribute? | reddit.com/r/embedded | 2020-12-31
  • GitHub repo printf

    Tiny, fast, non-dependent and fully loaded printf implementation for embedded systems. Extensive test suite passing.

    Project mention: Sprintf on STM32? | reddit.com/r/embedded | 2021-02-23

    I'm sure sprintf itself is working in their library, so try to find other issues first, BUT, as a last resort you can try another lib: https://github.com/mpaland/printf/

  • GitHub repo spiffs

    Wear-leveled SPI flash file system for embedded devices

    Project mention: Robust File System | reddit.com/r/embedded | 2020-12-22
  • GitHub repo AtomVM

    Tiny Erlang VM

    Project mention: Embedded programming for the functionally-inclined programmer? | reddit.com/r/functionalprogramming | 2021-01-25

    There’s also AtomVM a minimal erlangVM to run elixir on microcontrolers https://github.com/bettio/AtomVM and possibly the Lumen compiler to compile to byte code https://getlumen.org

  • GitHub repo pycopy

    Pycopy - a minimalist and memory-efficient Python dialect. Good for desktop, cloud, constrained systems, microcontrollers, and just everything.

    Project mention: Pycopy 3.5.2 - a minimalist and memory-efficient Python dialect | reddit.com/r/ProgrammingLanguages | 2021-02-11

    Really? Here's direct link to the closest subsection header: https://github.com/pfalcon/pycopy/#the-unix-version , and quoting it here for you:

  • GitHub repo embox

    Modular and configurable OS for embedded applications

    Project mention: The Open Source Autarkic (Eink) Laptop | reddit.com/r/eink | 2021-02-23

    Not silly at all. I was looking at some of the Dialog boards after Embox mentioned they ported to the Dialog 14695: https://github.com/embox/embox/wiki/Dialog-Semiconductor In fact, I found their CBRAM really interesting- not sure if it is too slow to run any type of actual RAM, but it seems to have some of the lowest RAM anywhere: https://www.dialog-semiconductor.com/products/memory/cbram-technology

  • GitHub repo flutter-pi

    A light-weight Flutter Engine Embedder for Raspberry Pi that runs without X.

    Project mention: Rpi 4 meets Flutter and Rust | dev.to | 2020-11-06

    First thing to do is to set up the Raspberry Pi. In the README of the flutter-pi repo it's mentioned that flutter-pi should run without Xserver. Therefore I went with a headless version of RaspberryOS. Once you've flashed the os to a ssd card, follow the instructions in the flutter-pi README and install drivers for your touch screen of choice. Be sure to clone the engine-binaries branch of flutter-pi and place the files in the correct directories aswell.

  • GitHub repo libuhttpd

    A very flexible, lightweight and fully asynchronous HTTP server library based on libev and http-parser for Embedded Linux.

    Project mention: A flexible, lightweight and fully asynchronous HTTP server library | news.ycombinator.com | 2021-01-03
  • GitHub repo libhydrogen

    A lightweight, secure, easy-to-use crypto library suitable for constrained environments.

  • GitHub repo ThrowingBagels

    ThrowingBagels is a modernization of the LEDScape software package to drive high quantities of RGB/W LEDs.

    Project mention: LED control software for large-scale installations, for running on a Beaglebone Black | reddit.com/r/embedded | 2021-01-22
  • GitHub repo FPGA_Multimedia_Player

    MSc Final Project

    Project mention: Anyone here worked on pynq-z2 board ? | reddit.com/r/FPGA | 2021-01-31

    I don't have the paper as it was a group project and we submitted our own contributions but I have a git hub for the entire project. https://github.com/berniGelectronic/FPGA_Multimedia_Player

  • GitHub repo stm32f103-example

    A tiny example project for the STM32F103

    Project mention: Converting the startup script to C? | reddit.com/r/stm32 | 2021-03-02

    The vector table can be represented as a C array, but it's a bit of a pain; an easier approach which I've used in some projects is to define the vectors using assembler macros.

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). The latest post mention was on 2021-03-02.


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

Project Stars
1 MicroPython 12,088
2 Mongoose 6,919
3 cray 5,810
4 lvgl 5,319
5 zephyr 4,275
6 wasm3 2,915
7 circuitpython 2,317
8 cleanflight 2,292
9 littlefs 2,099
10 tinyusb 1,522
11 printf 1,132
12 spiffs 1,100
13 AtomVM 824
14 pycopy 610
15 embox 573
16 flutter-pi 469
17 libuhttpd 299
18 libhydrogen 242
19 ThrowingBagels 8
20 FPGA_Multimedia_Player 1
21 stm32f103-example 1