C Embedded

Open-source C projects categorized as Embedded

Top 23 C Embedded Projects

  • MicroPython

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

    Project mention: Show HN: MicroLua – Lua for the RP2040 Microcontroller | news.ycombinator.com | 2023-11-03

    https://github.com/raspberrypi/pico-sdk/ links to a PDF about connecting to the interwebs with a pi pico.

    micropython/micropython//ports/rp2/boards/RPI_PICO_W: https://github.com/micropython/micropython/tree/master/ports...

    raspberrypi/pico-sdk /lib: btstack, cyw43-driver, lwip, mbedtls, tinyusb https://github.com/raspberrypi/pico-sdk/tree/master/lib



    There's an iperf opkg pkg, or is it just netperf (which works with fluent)?


  • raylib

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

    Project mention: Advice for managing a group of beginner C programmers, myself included | /r/C_Programming | 2023-11-21
  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • lvgl

    Embedded graphics library to create beautiful UIs for any MCU, MPU and display type. It's boosted by a professional yet affordable drag and drop UI editor, called SquareLine Studio.

    Project mention: imgui VS lvgl - a user suggested alternative | libhunt.com/r/imgui | 2023-11-03

    Popular embedded UI library

  • Mongoose

    Embedded Web Server (by cesanta)

    Project mention: Experience using crow as web server | /r/cpp | 2023-11-06

    Alternatives at the low to medium level of abstraction include civetweb and mongoose, which have a common ancestor. Both of these appear to be C rather than C++, but seem to be production quality and well-documented. Another C library is cpp-httplib, which is probably too low-level for me.

  • zephyr

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

    Project mention: VisionFive 2 ROM addresses for Zephyr RTOS | /r/RISCV | 2023-12-05

    I am working on adding support for VisionFive 2 in Zephyr RTOS. I have created a device tree by referencing the starfive linux, patches of hifive_unmatched FU740 SoC and patches of BeagleV Starlight.

  • wasm3

    🚀 A fast WebAssembly interpreter and the most universal WASM runtime

    Project mention: DeviceScript: TypeScript for Tiny IoT Devices | news.ycombinator.com | 2023-05-24

    It can, wasm3 is a wasm interpretor ported to a lot of bare metal microcontrollers: https://github.com/wasm3/wasm3

  • littlefs

    A little fail-safe filesystem designed for microcontrollers

    Project mention: I made a tachometer/hour meter for my outboard engine using the PIO | /r/raspberrypipico | 2023-04-28

    Also, it looks like you're writing to the flash every second the engine is running. Do you have an idea of what the endurance of that might be? I'm not too familiar with this but supposedly the flash on the Pico is good for at least 100K program/erase cycles and Micropython uses LittleFS on RP2040 which does wear leveling. I looked for more official info and the rp2 port code backs that up with a note: "the flash requires the programming size to be aligned to 256 bytes". And the littlefs readme does say it does wear leveling and other good stuff.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • tinyusb

    An open source cross-platform USB stack for embedded system

    Project mention: Bluetooth to USB Audio bridge | /r/raspberrypipico | 2023-05-05

    Implementing the required USB host interface is another hurdle, but tinyusb seems to have sorted most of that out, except that UAC2 is implemented as a device while you need a host.

  • wasm-micro-runtime

    WebAssembly Micro Runtime (WAMR)

    Project mention: Build your own WebAssembly Compiler | news.ycombinator.com | 2023-12-03

    Here is what you are looking for: https://github.com/bytecodealliance/wasm-micro-runtime

  • nanopb

    Protocol Buffers with small code size

    Project mention: Nanopb – Protocol Buffers for Embedded Systems | news.ycombinator.com | 2023-09-06
  • circuitpython

    CircuitPython - a Python implementation for teaching coding with microcontrollers

    Project mention: ALT.CTRL.GameCraft Workshop @ Beta Festival Write-up | dev.to | 2023-11-07

    The Pico runs CircuitPython and uses Adafruit's HID library to emulate a keyboard. It's also possible to emulate a mouse and a gamepad (there are some experiments for gamepad emulation in experiments).

  • cleanflight

    Clean-code version of the baseflight flight controller firmware

  • InfiniTime

    Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS

    Project mention: Awesome release! Pinetime now lasts for over 2 weeks without needing a charge! | /r/pinetime | 2023-10-12
  • printf

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

    Project mention: Nanoprintf – The smallest public printf implementation for its feature set | news.ycombinator.com | 2023-03-27
  • threadx

    Azure RTOS ThreadX is an advanced real-time operating system (RTOS) designed specifically for deeply embedded applications.

    Project mention: Microsoft opens sources ThreadX RTOS used in Raspberry Pis | news.ycombinator.com | 2023-11-28

    It is not open source. The source code is open but with an evaluation, i.e. proprietary license:


  • nuttx

    Apache NuttX is a mature, real-time embedded operating system (RTOS)

    Project mention: Xiaomi Vela IoT Platform is Being Open-Sourced Based on NuttX Real-time OS | /r/embedded | 2023-11-19
  • mjs

    Embedded JavaScript engine for C/C++

  • sod

    An Embedded Computer Vision & Machine Learning Library (CPU Optimized & IoT Capable)

    Project mention: Ask HN: Who is hiring? (September 2023) | news.ycombinator.com | 2023-09-01

    PixLab (https://pixlab.io) & FACEIO (https://faceio.net) | Full-or-part-time | Remote | Computer Vision / Full stack Engineers |

    PixLab, a leading provider of Machine Vision, Face Recognition & Media Processing APIs is looking for:

    * Embedded C & Computer Vision engineer(s) to work on the SOD (https://sod.pixlab.io), embedded computer vision library.

    * Senior Python engineer with proficiency in PyTorch to work on FACEIO (https://faceio.net), our facial authentication web framework for web sites & apps.

    * C++ developer with ML expertise to work on the port of Tiny-Dream (https://pixlab.io/tiny-dream), our embedded Stable Diffusion C++ library from ncnn to ggml.

    * React/Vue JS Web developer(s) with expertise in fabric.js to work on a brand new, web based photo editing software backed by generative AI.

    Reach out to Vincent via contact AT pixlab.io with your resume if interested.

  • elk

    A low footprint JavaScript engine for embedded systems (by cesanta)

    Project mention: It’s JavaScript all the way down | /r/ProgrammerHumor | 2023-04-03

    about 20KB on flash/disk, about 100 bytes RAM for core VM ELK JS Engine

  • tio

    A simple serial device I/O tool

    Project mention: IT Pro Tuesday #276 - Cert Automation, Packet Analysis, Vim Cheatsheet & More | /r/ITProTuesday | 2023-11-08

    Tio is a user-friendly CLI tool for straightforward serial device management. Allows you to connect to serial TTY devices and perform basic input/output operations through a configuration file or via direct commands. bh0 adds, "I use tio for serial/console on my Mac. Tio is awesome."

  • FlashDB

    An ultra-lightweight database that supports key-value and time series data | 一款支持 KV 数据和时序数据的超轻量级数据库

    Project mention: FlashDB: NEW Data - star count:1406.0 | /r/algoprojects | 2023-10-20
  • SaaSHub

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

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 2023-12-05.

C Embedded related posts


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

Project Stars
1 MicroPython 17,544
2 raylib 16,382
3 lvgl 13,756
4 Mongoose 10,058
5 zephyr 8,787
6 wasm3 6,447
7 littlefs 4,322
8 tinyusb 4,170
9 wasm-micro-runtime 4,166
10 stlink 3,983
11 nanopb 3,819
12 circuitpython 3,722
13 cleanflight 2,533
14 InfiniTime 2,425
15 printf 2,238
16 threadx 2,023
17 DAPLink 2,023
18 nuttx 1,986
19 mjs 1,762
20 sod 1,689
21 elk 1,534
22 tio 1,526
23 FlashDB 1,455
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives