MCU-EHAL (Embedded Hardware Abstraction Layer) is a portable, modular collection of platform-agnostic drivers, hardware abstraction interfaces, and utility modules for microcontroller-based systems.
It separates protocol logic from platform-specific code, making it easy to reuse the same drivers across multiple platforms such as ESP-IDF, Zephyr, bare-metal, or POSIX.
- Platform-agnostic core drivers for peripherals like SPI flash.
- Hardware Abstraction Layer (HAL) interfaces for clean platform separation.
- LittleFS block device adapters for flash storage.
- Reusable filesystem helpers with no OS dependencies.
- Thin platform adapters for ESP-IDF, Zephyr, and other MCU platforms.
- Unit-testable on a PC with mock hardware interfaces.