awesome-embedded-software
:stars: List of software (HW interfaces, libs, protocols, etc) specifically suitable for resource-constrained Embedded Systems (low-memory and low-power) like 8-bit, 16-bit and 32-bit microcontrollers.
https://github.com/iDoka/awesome-embedded-software
Last synced: 11 days ago
JSON representation
-
Common
- wiselib - Generic algorithms library for heterogeneous, distributed, embedded systems.
- util.embedded - Useful support code for embedded development.
- embxx - Embedded C++ Library.
- embedded-libs - Libraries for embedded software (mainly for STM32).
- ETLCPP - Embedded Template Library where the user can declare the size, or maximum size of any object upfront.
- eFLL - Embedded Fuzzy Logic Library is a standard library for Embedded Systems.
- Collection of miscellaneous portable C snippets - Collection of miscellaneous portable C snippets.
- sc - Portable, stand-alone C libraries and data structures (C99).
- MicroTBX - Open source Microcontroller ToolBoX consisting of software components commonly needed in embedded software applications. MicroTBX is written in the C programming language (C99) with MISRA compliance in mind.
- umlibc - A bare-bones libc for memory constrained systems.
- µClibc-ng - Embedded C Library.
- Embedded Artistry's libc - A stripped-down C standard library implementation targeted for microcontroller-based embedded systems. Reduced set of functionality (due to embedded nature). Chosen for portability and quick bringup.
- HWlib - C++ OO micro-controller library for close-to-the-hardware programming.
- ctl - C Container Template Library. There is a fast compiling, type safe, header only, template-like container library for ISO C99/C11.
- FSMLang - State machine description language with C language generator. Supports flat and hierarchical machines and event subsystem.
- eFLL - Embedded Fuzzy Logic Library is a standard library for Embedded Systems.
- umlibc - A bare-bones libc for memory constrained systems.
-
Compilers
-
Embeddable Scripts and Languages
- SDCC - Small Device C Compiler (that targets the Intel MCS51 based microprocessors (8031, 8032, 8051, 8052, etc.), Maxim (formerly Dallas) DS80C390 variants, Freescale (formerly Motorola) HC08 based (hc08, s08), Zilog Z80 based MCUs (Z80, Z180, SM83, Rabbit 2000, 2000A, 3000A, TLCS-90), Padauk (pdk14, pdk15) and STMicroelectronics STM8).
- tcc - Tiny C Compiler (~ 100KB for x86 TCC executable, including C preprocessor, C compiler, assembler and linker).
- pcc - Portable C Compiler ([mirror](https://github.com/IanHarvey/pcc)).
- lcc - Retargetable ANSI C Compiler (fork for [ULP in ESP32](https://github.com/jasonful/lcc)).
- TinyGo - Go compiler for small things: Microcontrollers, WebAssembly (WASM/WASI), and command-line tools (Based on LLVM).
- chibicc - Yet another small C compiler that implements most C11 features.
- rvcc - Bootstrapped C compiler for 32-bit RISC-V and ARM ISAs (generates executable Linux ELF binaries for RV32IM and ARMv7).
-
-
Cryptography
-
Elliptic Curve Cryptography
- c25519-and-ed25519 - Curve25519 and Ed25519 for low-memory systems (Curve25519 scalar multiplication uses less than half a kB of peak stack usage).
- salty - Ed25519 signatures with assembly optimizations for Cortex-M4 and Cortex-M33.
- micro-ecc - ECDH and ECDSA for 8-bit, 32-bit, and 64-bit processors.
- libuecc - Very small generic-purpose Elliptic Curve Cryptography library compatible with Ed25519.
- libuecc - Very small generic-purpose Elliptic Curve Cryptography library compatible with Ed25519.
-
General
- wolfSSH - Lightweight SSHv2 client and server library written in ANSI C and targeted for embedded, RTOS, and resource-constrained environments - primarily because of its small size, speed, and feature set.
- trezor-crypto - Heavily optimized cryptography algorithms for embedded Devices.
- trussed - Minimal, modular way to write cryptographic applications on microcontroller platforms (Rust).
- LibHydrogen - Lightweight, secure, easy-to-use crypto library suitable for constrained environments.
- krypton - Embedded TLS/DTLS library, source and binary compatible OpenSSL subset.
- wolfTPM - Highly portable TPM 2.0 library, designed for embedded use.
- mbedTLS - Open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API.
- liblithium - Lightweight cryptography library that is portable by design. It requires only standard C99 and does not assume 8-bit addressability, making it suitable for use on some DSP architectures as well as mainstream architectures.
- poly1305-donna - Implementations of a fast Message-Authentication Code (8 bit, 16 bit, 32 bit and 64 bit multiplies versions).
- arduinolibs - Arduino Cryptography Library.
- tlse - Single C file TLS 1.2/1.3 implementation, using tomcrypt as crypto library.
- LibTomCrypt - Fairly comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines.
- Monocypher - Easy to use, easy to deploy, auditable crypto library written in portable C.
- minicrypt - Library of crypto primitives for embedded systems.
- tinycrypt - Library of cryptographic algorithms provides an implementation for constrained devices of a minimal set of standard cryptography primitives.
- tiny-AES-c - Small portable AES128/192/256 in C.
- µAES - Lightweight, highly flexible, portable and ANSI-C compatible implementation of the AES encryption and block cipher modes.
- CycloneCRYPTO - A cryptographic toolkit designed for use in embedded systems. It provides a comprehensive set of cryptographic primitives (hash functions, stream and block ciphers, public key cryptography) that can be used to add security features to your embedded application.
- trezor-crypto - Heavily optimized cryptography algorithms for embedded Devices.
-
Random Number Generation
- pcg-c-basic - Code provides a minimal implementation of one member of the PCG family of random number generators, which are fast, statistically excellent, and offer a number of useful features.
- pcg-c - Code provides an implementation of the PCG family of random number generators, which are fast, statistically excellent, and offer a number of useful features.
-
-
Data processing
-
AI ML
- Cranium - Portable, header-only, feedforward artificial neural network library written in vanilla C99.
- μTensor - TinyML AI inference library.
- Fido - Lightweight C++ machine learning library for embedded electronics and robotics.
- nnom - Neural Network on Microcontroller (NNoM) is a high-level inference Neural Network library specifically for microcontrollers.
- caffepresso - Optimized Library for Deep Learning on Embedded Accelerator-based platforms.
- libonnx - Lightweight, portable pure C99 onnx inference engine for embedded devices with hardware acceleration support.
- TinyMaix - A tiny inference Neural Network library specifically for microcontrollers (TinyML). Designed to follow the rule: Easy-to-Use > Portable > Speed > Space.
-
Compression
- ECL - Embedded Compression Library is not only for embedded, it is mostly oriented for small data and has special optimized low-memory modes for restricted environments.
- heatshrink - Data compression library for embedded/real-time systems.
- shoco - C library to compress and decompress short strings. It is very fast and easy to use. The default compression model is optimized for english words, but you can generate your own compression model.
- Unishox2 - Hybrid encoder for Short Unicode Strings (Unishox provides the best compression for short text and not to be compared with general purpose compression algorithm like lz4, snappy, lzma, brottli and zstd).
- SMAZ - Compression for very small strings.
- TCOBS - Short messages compression with COBS framing using implicit run-length-encoding, optimized for data containing statistically a bit more 0 and FF bytes in a row, as data often carry 16, 32 or 64 bit numbers with small values.
-
CV
- Embedded SOD - Embedded Computer Vision & Machine Learning Library (CPU Optimized & IoT Capable).
- QR-Image-embedded - QR library fork for embedded systems.
-
DSP and Filtering
- libdspl - Cross-platform digital signal processing algorithm library, written in C language.
- liquid-dsp - Digital signal processing library for software-defined radios.
- minfft - Small and fast Discrete Fourier Transform library.
- iir1 - DSP IIR realtime filter library written in C++.
- kalman-clib - Microcontroller targeted naive Kalman filter implementation in pure C.
- pocketfft - Heavily modified implementation of FFTPack.
- KISS FFT - Mixed-radix Fast Fourier Transform based up on the principle, "Keep It Simple, Stupid".
- CMSIS-DSP - Embedded compute library for Cortex-M and Cortex-A.
- SigLib - Digital Signal Processing and Machine Learning Library (x86, Cortex-A and Cortex-M, RISC-V, DSPs from TI, ADI etc).
- lsp-dsp-lib - DSP library for digital signal processing provides set of functions that perform SIMD-optimized computing on several hardware architectures. All functions currently operate on IEEE-754 single-precision floating-point numbers.
-
Math
- liquid-fpm - Software-Defined Radio Fixed-Point Math Library for embedded signal processing.
- FPM - C++ header-only fixed-point math library.
- Eigen - C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
-
-
GUI
-
Font utils
- bitmap-OSD-font - A 'C' bitmap font for on screen display.
- ttf2mesh - Library for TrueType font tessellation. Allows to convert font glyphs to mesh objects without rasterization.
- sfam_generator - Simple scripts for generating bit fonts for STM32, AVR, Arduino or other MCU.
- mcufont - A font rendering library for microcontrollers.
- picon - Pico-icon set with Hackable Ligature (Designed on a 8-grid: to be readable at 8px 16px 24px 32px 48px).
-
GUI editors
- lv_gui_designer - Drag-and-drop, simple GUI designer built with LittlevGL.
- walv - Online, WYSIWYG GUI designer for LittlevGL. Cross-platform supported(Even Android and IOS).
-
Logging
- TouchGFX - User-friendly graphical C++ tool integrated as a free tool in the STM32 ecosystem.
- lvgl - Powerful and easy-to-use embedded GUI with many widgets, advanced visual effects (opacity, antialiasing, animations) and low memory requirements (16K RAM, 64K Flash).
- EasyGUI - EasyGUI for embedded systems (highly optimized for STM32).
- eGUI - An eGUI embedded graphic library.
- ESLowGraphics - Low level software graphics library by ErrorSoft (ESLGL).
- ftk - GUI library for embedded system.
- u8glib - Universal Graphics Library for 8 Bit Embedded Systems.
- u8g2 - U8glib library for monochrome displays, version 2.
- SGFX - Lightweight embedded library for displays and touchscreens providing everything required to build a fully featured embedded GUI.
- GUIX - Provides a complete, embedded graphical user interface (GUI) library and design environment, facilitating the creation and maintenance of all graphical elements needed by your device.
- GUILib - GUI library for embedded systems.
- HMI_Library - Human Machine Interface suitable for embedded system.
- AFGUI - Embedded GUI Library.
- MakiseGUI - Graphics and GUI library for embed systems.
- emGUI - Simple C UI Library for embedded platforms.
- HAGL - Lightweight Hardware Agnostic Graphics Library for embedded devices. It supports basic geometric primitives, bitmaps, blitting, fixed width fonts. Library tries to stay lightweight but targets reasonably powerful microchips such as ESP32. There is no dynamic allocation.
- Embedded-graphics - 2D graphics library that is focused on memory constrained embedded devices to draw graphics without using any buffers (Rust).
- LovyanGFX - Display (LCD / OLED / EPD) graphics library (for ESP32 SPI, I2C, 8bitParallel / ESP8266 SPI, I2C / RP2040 SPI / ATSAMD51 SPI and more).
- UGUI (µGUI) - A graphic library. It supports color, grayscale, monochrome and multiple displays, touch screen, windows and objects, basic geometric primitives, fonts, console. There is no required dynamic allocation and memory for screen buffer. Documentation available on [developer's website](https://embeddedlightning.com/download/%c2%b5gui-v0-3/).
-
Picture manupulation tools
- lcd-image-converter - Tool to create bitmaps and fonts for embedded applications; allows you to create bitmaps and fonts, and transform them to "C" source format for embedded applications.
-
-
Hardware
-
CAN bus
- libcanard - Compact implementation of the UAVCAN/CAN protocol in C for high-integrity real-time embedded systems.
- Canbus-Message - CAN message assembly and disassembly library for teensy & stm32.
- CanBoot - Can Bootloader for MCUs (Currently lpc176x, stm32 and rp2040 MCUs are supported).
-
Flash
- SFUD - Serial Flash Universal Driver (using JEDEC's SFDP standard serial (SPI) flash universal driver library).
-
IO
- FastIO - Fast GPIO forked from http://os.mbed.com/users/Sissors/code/FastIO/ .
-
Picture manupulation tools
- embedded-driver - Embedded driver library for various peripheral.
-
USB
- CherryUSB - Tiny, beautiful and portable USB host and device stack for embedded system with USB.
- tinyusb - Cross-platform USB stack for embedded system.
- libusb_stm32 - Lightweight USB device Stack for STM32 microcontrollers.
-
-
Memory
-
Buffers
- EmbeddedProto - C++ Protocol Buffers implementation specifically suitable for ARM Cortex-M microcontrollers. It is small, reliable and easy to use.
- protobuf-embedded-c - Protocol buffers generator for resource constrained embedded applications written in the C programming language.
-
FIFO
- fifofast - A fast, generic fifo for MCUs.
-
Memory management
- libmemory - Memory management library with implementations for malloc(), free(), and other useful memory management functions.
- lwmem - Lightweight dynamic memory manager library for embedded systems with memory constraints. It implements malloc, calloc, realloc and free functions.
- umm_malloc - Memory Manager For Small(ish) Microprocessors.
- o1heap - A highly deterministic constant-complexity memory allocator designed for hard real-time high-integrity embedded systems.
-
Ring Buffer
- LwRB - Lightweight generic ring buffer manager library.
- RingBuffer - Simple Interrupt Safe Ring (Circular) Buffer Queuing Library for Embedded platforms.
- lfbb - Lock-free bipartite buffer, a variant of the ring buffer which can always provide contigous space inside the buffer for reading, writing or modifying the data in-place.
-
-
OS
-
Event based scheduler
- Protothreads - Provide linear code execution for event-driven systems implemented in C designed for severely memory constrained systems, such as small embedded systems or wireless sensor network nodes.
- uevloop - Fast and lightweight event loop for embedded platforms.
- lwevt - Lightweight event management system for embedded systems.
- async - Asynchronous framework in C for systems where low memory usage is important.
- EventOS - Event based system designed for Arduino Framework.
- vsf - Versaloon Software Framework - a tiny preemptive-capable event-driven incremental software framework for Embedded Systems.
-
Random Number Generation
- micro-ROS - Micro-ROS puts ROS 2 onto microcontrollers.
- citrus - Bare metal ARM® Cortex®-A5 operating system.
- vanilla - Bare metal ARM® Cortex®-M7 operating system.
- chaos - Bare metal multicore ARM® Cortex®-A operating system based on a microkernel architecture.
- LK kernel - The Little Kernel Embedded Operating System is SMP-aware kernel designed for small systems ported to a variety of platforms and cpu architectures.
- QuarkTS - OS for embedded applications that supports prioritized cooperative scheduling, time control, inter-task communications primitives, hierarchical state machines and CoRoutines.
- citrus - Bare metal ARM® Cortex®-A5 operating system.
- vanilla - Bare metal ARM® Cortex®-M7 operating system.
-
RTOS
- eCos - Real-time operating system intended for embedded applications _(Closed source)_.
- FreeRTOS™ - FreeRTOS.
- Zephyr - New generation, scalable, optimized, secure RTOS for multiple hardware architectures.
- Apache NuttX - Apache NuttX is a mature, real-time embedded operating system (RTOS).
- scmRTOS - Tiny Real-Time Preemptive Operating System intended for use with Single-Chip Microcontrollers. scmRTOS is capable to run on tiny uCs with as small amount of RAM as 512 bytes. The RTOS is written on C++ and supports various platforms.
- ChibiOS/RT - Compact and fast real-time operating system supporting multiple architectures designed for embedded applications on microcontrollers of 8-, 16-, and 32-bits.
- embox - Configurable RTOS designed for resource constrained and embedded systems. Embox main idea is using Linux software without Linux.
- RIOT - Real-time multi-threading operating system that supports a range of devices that are typically found in the Internet of Things (IoT): 8-bit, 16-bit and 32-bit microcontrollers. RIOT is based on the following design principles: energy-efficiency, real-time capabilities, small memory footprint, modularity, and uniform API access, independent of the underlying hardware (this API offers partial POSIX compliance).
- Arm Mbed OS - Platform operating system designed for the Internet of Things. It includes all the features you need to develop a connected product based on an Arm Cortex-M microcontroller, including security, connectivity, an RTOS and drivers for sensors and I/O devices.
- RT-Thread - RT-Thread was born in 2006, it is an open source, neutral, and community-based real-time operating system (RTOS). RT-Thread has Standard version and Nano version. For resource-constrained microcontroller (MCU) systems, the NANO kernel version that requires only 3KB Flash and 1.2KB RAM memory resources can be tailored with easy-to-use tools; And for resource-rich IoT devices, RT-Thread can use the on-line software package management tool, together with system configuration tools, to achieve intuitive and rapid modular cutting, seamlessly import rich software packages, thus achieving complex functions like Android's graphical interface and touch sliding effects, smart voice interaction effects, and so on.
- distortos - Object-oriented C++ RTOS for microcontrollers.
- R3-OS - Experimental static (μITRON-esque) RTOS for deeply embedded systems, testing the limit of Rust's const eval and generics _(Rust)_.
- Tock Embedded OS - Embedded operating system designed for running multiple concurrent, mutually distrustful applications on low-memory and low-power microcontrollers _(Rust)_.
- dandelion - Microkernel Real-Time Operating System in Rust.
- MuditaOS - Mobile operating system based on FreeRTOS optimized for E Ink displays - developed for Mudita Pure minimalist phone.
- µC/OS-II - Preemptive, highly portable, and scalable real-time kernels. Designed for ease of use on a huge number of CPU architectures.
- µC/OS-III - Preemptive, highly portable, and scalable real-time kernel. Designed for ease of use on a huge number of CPU architectures.
- QP/C - Real-time embedded framework/RTOS for embedded systems based on active objects (actors) and hierarchical state machines (FuSa, MISRA-C 2023 compliance).
- Quite Ok RTOS - Tickless, minimal, 500 lines of code, 7 functions.
- Apache NuttX - Apache NuttX is a mature, real-time embedded operating system (RTOS).
- Azure RTOS ThreadX - Advanced real-time operating system (RTOS) designed specifically for deeply embedded applications.
-
-
Others
-
Bootloaders
- mcuboot - Secure boot for 32-bit Microcontrollers.
- OpenBLT - Open source bootloader for STM32, XMC, HCS12 and other microcontroller targets. It supports communication interfaces such as: RS232, CAN, USB, TCP/IP and it ships with the easy-to-use [MicroBoot](https://www.feaser.com/openblt/doku.php?id=manual:microboot) PC tool for initiating and monitoring the firmware update. Performing firmware updates directly from an SD-card is also supported.
- TinyUF2 - Bootloader based on TinyUSB for embedded devices such as ESP32, STM32 and iMX RT10xx.
- wolfBoot - Portable, OS-agnostic, secure bootloader for microcontrollers, supporting firmware authentication and firmware update mechanisms.
-
Embeddable Scripts and Languages
- little - A small, fast, easily embeddable language implemented in a single .c file.
-
Firmware updates
- UF2 - USB Flashing Format specification for flashing microcontrollers over MSC (Mass Storage Class; aka removable flash drive).
- SWupdate - Software Update for Embedded Linux Devices to update system in field. SWUpdate supports local and OTA updates, multiple update strategies and it is designed with security in mind.
-
Thread management
- C-Thread-Pool - Minimal but powerful thread pool in ANSI C.
-
Time Management Libs
-
Touch Screen
- tslib - Touchscreen access library.
-
-
Protocols
-
Flash Memory
- nanoPB - Small code-size Protocol Buffers implementation in ANSI C. It is especially suitable for use in microcontrollers, but fits any memory restricted system.
- interchange - Request/response mechanism for embedded development, using atomics.
- xmodem - XMODEM Library for embedded, mobile, iot, and desktop systems.
- TinyFrame - Simple library for building and parsing data frames for serial interfaces (like UART / RS232).
- nanoMODBUS - A compact MODBUS RTU/TCP C library for embedded/microcontrollers.
- rcobs - Reverse-COBS encoding (rCOBS) is a variant of [COBS encoding](https://en.wikipedia.org/wiki/Consistent_Overhead_Byte_Stuffing) designed to allow encoding with zero lookahead.
-
MQTT
- libemqtt 1 - Embedded C client library for the MQTT protocol.
- libumqtt 2 - Lightweight and fully asynchronous MQTT client C library based on libev.
- Paho MQTT - C client library for embedded systems.
-
Network protocols
- LwIP - Small independent implementation of the TCP/IP protocol suite that has been initially developed by Adam Dunkels. lwIP suitable for use in embedded systems with tens of kilobytes of free RAM and room for around 40 kilobytes of code ROM.
- uIP - Very small implementation of the TCP/IP stack that is written by Adam Dunkels.
- HttpClient - Http Client Library.
- httpio - Stand-Alone Cross Platform request parser and response generator for the HTTP protocol.
- PicoTCP - Small-footprint, modular TCP/IP stack designed for embedded systems and the Internet of Things.
- RawTCP_Lib - C library for creating and using TCP/IP packets with raw network sockets.
- LRNDIS - Ethernet over USB (rndis + lwip).
- CycloneTCP - A dual IPv4/IPv6 stack dedicated to embedded applications. The stack is distributed as a full ANSI C and highly maintainable source code ([examples](https://www.oryx-embedded.com/download/CycloneTCP_SSL_SSH_CRYPTO_Open_2_2_4.zip) not included in GitHub's sources).
- StaticNet - C++ TCP/IP and SSH stack with all-static allocations designed for bare metal (no operating system) embedded applications with minimal footprint.
- LiveKit - ESP32 SDK for LiveKit: real-time audio, video, and data streaming.
-
Protocol Parsers
- gzat - Portable AT command parsing library in C++ language.
- RegExp - Regular expressions library for embedded systems.
- LwGSM - Library for SIMCOM GSM modules to communicate with AT commands and RTOS from host device.
- GSM_Engine - Generic AT parser for AT command based modules.
- TinyGSM - Small Arduino library for GSM modules, that just works.
- LwGPS - Lightweight GPS NMEA parser for embedded systems.
- minmea - Lightweight GPS NMEA 0183 parser library in pure C.
- atat - Lib for AT-like custom commands processing.
- cAT - Plain C library for parsing AT commands for use in host devices.
- ATParser - An mbed-os compatible AT command parser.
- atcommander - Portable C++ library for sending AT commands and parsing their responses.
-
Programming Languages
Categories
Sub Categories
Logging
25
RTOS
21
Protocol Parsers
19
General
19
Filesystems
14
Embeddable Scripts and Languages
13
printf
12
Network protocols
10
DSP and Filtering
10
Random Number Generation
10
CLI
9
Flash Memory
9
AI ML
7
Event based scheduler
6
Compression
6
Data Bases
5
Web Server
5
Elliptic Curve Cryptography
5
Font utils
5
Memory management
4
Bootloaders
4
CAN bus
3
Ring Buffer
3
MQTT
3
USB
3
Menu
3
Math
3
scanf
2
GUI editors
2
Radio Frequency Protocols
2
Time Management Libs
2
Firmware updates
2
Picture manupulation tools
2
Buffers
2
CV
2
Flash
1
Touch Screen
1
IO
1
Thread management
1
FIFO
1
Keywords
embedded
56
c
34
embedded-systems
21
microcontroller
21
rtos
19
iot
17
library
11
arduino
10
arm
10
cortex-m
10
stm32
10
real-time
10
cpp
8
mcu
7
embedded-c
7
cryptography
6
avr
6
esp32
6
os
6
kernel
6
printf
5
microcontrollers
5
lightweight
5
filesystem
5
machine-learning
5
rust
5
portable
4
linux
4
algorithms
4
c-plus-plus
4
operating-system
4
database
4
header-only
4
log
4
risc-v
4
http
4
compression
4
libc
4
neural-network
3
protocol
3
heap
3
esp8266
3
framework
3
logging
3
malloc
3
logger
3
fft
3
deep-learning
3
firmware
3
fifo
3