Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 4 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.
  • Memory

    • 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.
    • 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.
    • 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.
    • FIFO

      • fifofast - A fast, generic fifo for MCUs.
  • Storage

    • Filesystems

      • lwext4 - An ext2/ext3/ext4 filesystem library for microcontrollers.
      • LevelX - Provides Flash Wear Leveling for FileX and Stand Alone purposes.
      • ufat - Low-memory feature-complete VFAT implementation.
      • fat_io_lib - Small footprint, low dependency, C code implementation of a FAT16 & FAT32 driver.
      • SdFat - Arduino FAT16/FAT32 exFAT Library.
      • fat32 - Lighweight FAT32 file system written in C with no thirdparty dependencies. It requires a small port which provide functions for initializing, reading and writing to the MSD.
      • emfat - FAT32 emulation library for stm32f4.
      • OpenFAT - FAT filesystem implementation for embedded processors.
      • uC-FS - Compact, reliable, high-performance, and thread-safe embedded file system for microprocessors, microcontrollers, and DSPs. An optional journaling component provides fail-safe operation while maintaining FAT compatibility.
      • littlefs - Little fail-safe filesystem designed for microcontrollers.
      • UFFS - Filesystem for NAND devices with wear leveling and good fault tolerance.
      • FatFS - FAT filesystem implementation.
    • Data Bases

      • FlashDB - Ultra-lightweight database that supports key-value and time series data.
      • PureDB - Portable and tiny set of libraries for creating and reading constant databases.
      • UnQLite - Embedded NoSQL, Transactional Database Engine.
      • Vedis - Embedded Implementation of Redis (an embeddable datastore C library built with over 70 commands similar in concept to Redis but without the networking layer since Vedis run in the same process of the host application).
      • microkvs - Tiny key-value store for persisting configuration data on microcontrollers.
    • Flash Memory

      • EasyFlash - Lightweight embedded flash memory library.
      • FlashAlgo - Framework for building Arm Cortex-M "FLM" style flash programming algorithms.
      • FCB - Flash Circular Buffer provides an abstraction through which you can treat flash like a FIFO.
  • 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.
    • Radio Frequency Protocols

      • RadioHead - Packet Radio library for embedded microprocessors.
      • Adafruit's RadioHead - Packet Radio library for embedded microprocessors with [docs](http://www.airspayce.com/mikem/arduino/RadioHead/).
    • Network protocols

      • 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).
      • 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.
    • Web Server

      • mongoose - Embedded Web Server and Embedded Networking Library. It implements event-driven non-blocking APIs for TCP, UDP, HTTP, WebSocket, MQTT.
      • libevhtp - Extremely-fast and secure embedded HTTP servers with ease.
      • libμhttpd - Very flexible, lightweight and fully asynchronous HTTP server library based on libev and http-parser.
      • sandbird - Tiny (800sloc) embeddable HTTP server written in C89.
    • 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.
    • Protocol Parsers

      • 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.
      • LwESP - Lightweight ESP AT commands parser library to communicate with ESP8266 or ESP32 Wi-Fi module using AT commands.
      • lwpkt - Lightweight packet protocol structure for multi-device communication focused on RS-485.
      • lwow - Lightweight onewire protocol library optimized for UART hardware on embedded systems.
      • panStamp-SWAP - Simple Wireless Abstract Protocol for any existing ISM radio.
      • panStamp-uSWAP - Micro SWAP stack for MCU's connected via UART.
      • MIN - Microcontroller Interconnect Network protocol version 2.0.
      • libCoAP - C implementation of a lightweight application-protocol for devices that are constrained their resources such as computing power, RF range, memory, bandwidth, or network packet sizes. This protocol, CoAP, is standardized by the IETF as RFC 7252.
      • gzat - Portable AT command parsing library in C++ language.
  • Data processing

    • 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.
    • DSP and Filtering

      • 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.
      • libdspl - Cross-platform digital signal processing algorithm library, written in C language.
    • Compression

      • 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).
      • 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.
    • 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.
    • CV

      • Embedded SOD - Embedded Computer Vision & Machine Learning Library (CPU Optimized & IoT Capable).
      • QR-Image-embedded - QR library fork for embedded systems.
  • Cryptography

    • General

      • 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.
      • 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.
    • Elliptic Curve Cryptography

      • 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.
      • c25519-and-ed25519 - Curve25519 and Ed25519 for low-memory systems (Curve25519 scalar multiplication uses less than half a kB of peak stack usage).
    • 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.
  • OS

    • Random Number Generation

      • 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.
      • micro-ROS - Micro-ROS puts ROS 2 onto microcontrollers.
    • RTOS

      • 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.
      • Azure RTOS ThreadX - Advanced real-time operating system (RTOS) designed specifically for deeply embedded applications.
      • eCos - Real-time operating system intended for embedded applications _(Closed source)_.
    • Event based scheduler

      • 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.
      • 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.
  • User Interface

    • CLI

      • cli - CLI (Command Line Interface) example build in pure C. Designed for MCU, support block/non-block mode input.
    • printf

      • Embedded_Printf - Embedded version of the famous "printf( )" function. The idea is create an simple and efficient library to meet some common needs in embedded systems.
      • xprintf - Complete fprintf() formatting implementation, suitable for embedded use.
    • Logging

      • embedded-log - Small and beautiful embedded log library for mcu.
      • embedded-diagnostic-logger - Lightweight logger framework for small microcontroller based projects. Multilevel log and token based string transfer.
  • GUI

    • Logging

      • TouchGFX - User-friendly graphical C++ tool integrated as a free tool in the STM32 ecosystem.
  • Hardware

    • IO

      • FastIO - Fast GPIO forked from http://os.mbed.com/users/Sissors/code/FastIO/ .
    • USB

      • CherryUSB - Tiny, beautiful and portable USB host and device stack for embedded system with USB.
  • 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)).