C embedded-c

Open-source C projects categorized as embedded-c

Top 23 C embedded-c Projects

  1. zephyr

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

    Project mention: What Makes Code Hard to Read: Visual Patterns of Complexity (2023) | news.ycombinator.com | 2025-03-11

    > I meant the goal of your function needs to be grasped within a reasonable amount of time. This works for every codebase.

    It really doesn't though. Here's a function of mine. It's maybe 40 lines of logic, so medium-scale. It's part of an intrusive red/black tree implementation for Zephyr. I'm fairly proud of how it turned out, and think that this code is awfully readable given its constraints.

    No human being is going to understand fix_extra_red() without having already read and understood the rest of the file, and coming to it with an understanding of the underlying algorithm. Certainly I can't. I can't even get started on maintaining this code that I originally wrote within a five minute time frame, it's an hour at least every time, just to remind myself how it works:

    https://github.com/zephyrproject-rtos/zephyr/blob/main/lib/u...

    Now maybe this is "bad code", and "good code" could exist for this problem that still meets your requirements. But... if so that's an awfully celestial definition if it's so hard to find.

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. nanopb

    Protocol Buffers with small code size

    Project mention: Go Protobuf: The New Opaque API | news.ycombinator.com | 2024-12-16

    Perhaps surprisingly, I think microcontrollers may be a place where Protobufs are not a bad fit. Using something like Nanopb [1] gives you the size/speed/flexibility advantages of protocol buffers without being too heavyweight. It’ll be a bit slower than your custom binary protocol, but it comes with quite a few advantages, depending on the context.

    [1] https://github.com/nanopb/nanopb

  4. qpc

    QP/C Real-Time Event Framework/RTOS is a lightweight implementation of the asynchronous, event-driven Active Object (Actor) model combined with Hierarchical State Machines.

  5. modern-embedded-programming-course

    Companion repository to the "Modern Embedded Systems Programming" video course.

  6. MuditaOS

    Mobile operating system based on FreeRTOS™ optimized for E Ink displays - developed for Mudita Pure minimalist phone

  7. nanoMODBUS

    A compact MODBUS RTU/TCP C library for embedded/microcontrollers

  8. Super-Simple-Tasker

    Event-driven, preemptive, priority-based, hardware RTOS for ARM Cortex-M.

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. jim

    Immediate Mode JSON Serialization Library in C (by tsoding)

    Project mention: Jim: Immediate Mode JSON Serialization Library in C | news.ycombinator.com | 2025-06-28
  11. sha-2

    SHA-2 algorithm implementations (by amosnier)

  12. riscv_em

    Simple risc-v emulator, able to run linux, written in C.

  13. FreeACT

    FreeACT is a minimal Active Object (Actor) framework for FreeRTOS

  14. MiROS

    MiROS (Minimal Real-Time Operating System) for ARM Cortex-M

  15. PIF-Image-Format

    Image format, tools & librares for limited embedded systems

  16. electricui-embedded

    Add communications functionality to connect your hardware to a local user interface.

  17. c-embed

    Naturally embed read-only filesystems into C99-C++20 w. a single header, zero dependencies and zero modifications to your code

  18. Raspberry-PICO2040-Flash-Storage

    The Following C Coded Library is used to perform Flash Write, Read and Erase functions on Raspberry Pico 2040.

  19. firmware

    Firmware projects, shared libraries, and code generation for PER car (by PurdueElectricRacing)

  20. rulos

    Ravenna Ultra-Low-Altitude Operating System: An embedded OS for AVR and ARM CPUs

  21. stm32f1-baremetal

    Program STM32 Arm Cortex M3 micro-controller using bare metal embedded c

  22. CoreMark-RP2040

    This is the COREMARK® embedded benchmark ported by me to the RP2040 chip from the folks over at Raspberry Pi.

  23. SPString

    A C string library that's designed with embedded development in mind.

  24. app_timer

    Friendly, lightweight, hardware-agnostic timer abstraction layer in C. Use a single timer/counter source to drive many timed events.

  25. FPGA_Multimedia_Player

    MSc Final Project

  26. SaaSHub

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

    SaaSHub logo
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 embedded-c discussion

Log in or Post with

C embedded-c related posts

  • A Web based Broadcast Assistant

    2 projects | dev.to | 5 Mar 2025
  • A simple Broadcast Audio Source

    4 projects | dev.to | 3 Mar 2025
  • Nanopb – Protocol Buffers for Embedded Systems

    1 project | news.ycombinator.com | 6 Sep 2023
  • Looking for a data serialization/deserialization library for use in an embedded system

    1 project | /r/SoftwareEngineering | 31 May 2023
  • Exporting Arduino output as .csv file

    1 project | /r/esp32 | 10 May 2023
  • Show HN: Homemade rocketship treehouse – hardware to custom OS

    1 project | /r/patient_hackernews | 24 Apr 2023
  • Show HN: Homemade rocketship treehouse – hardware to custom OS

    1 project | /r/hackernews | 24 Apr 2023
  • A note from our sponsor - Stream
    getstream.io | 11 Jul 2025
    Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more →

Index

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

# Project Stars
1 zephyr 12,430
2 nanopb 4,754
3 qpc 1,115
4 modern-embedded-programming-course 1,092
5 MuditaOS 714
6 nanoMODBUS 556
7 Super-Simple-Tasker 195
8 jim 191
9 sha-2 189
10 riscv_em 142
11 FreeACT 118
12 MiROS 98
13 PIF-Image-Format 86
14 electricui-embedded 66
15 c-embed 42
16 Raspberry-PICO2040-Flash-Storage 30
17 firmware 19
18 rulos 19
19 stm32f1-baremetal 14
20 CoreMark-RP2040 13
21 SPString 9
22 app_timer 7
23 FPGA_Multimedia_Player 4

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

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