๐จ
ebuild
Unified Build System
Unified build system orchestrating compilation of C/C++ firmware, web application packaging, and KiCad hardware design analysis from a single CLI.
Platform FoundationPython, CMakeActive Development
Key Features
Multi-Target Build โ Parallel cross-compilation
KiCad Hardware Analyzer โ BOM, netlist, DRC
Dependency Management โ Version pinning, lockfiles
Toolchain Management โ Auto-download ARM GCC, RISC-V GCC
Reproducible Builds โ SHA-256 artifacts, SBOM
CI/CD Integration โ GitHub Actions generators
Flash and Debug โ OpenOCD, J-Link integration
Architecture
ebuild CLI (Python) โโโ Build Configuration Engine (ebuild.yaml) โโโ CMake Backend โ Webpack/Vite โ KiCad Analyzer โโโ Toolchain Manager โโโ Artifact Manager and Cache
Code Example
yaml
# ebuild.yaml
project:
name: eHealth365_firmware
version: 2.1.0
targets:
smart_ring:
board: nrf52840_custom
toolchain: arm-none-eabi-gcc-13
kernel: eos@latest
bootloader: eBoot@latest
features: [ble5, sensor_hub, low_power]
dependencies:
eAI: ^1.2.0
eIPC: ^0.8.0
eDB: ^1.0.0API Highlights
| Function | Description |
|---|---|
ebuild build --all | Build all targets in parallel |
ebuild analyze --bom | Generate Bill of Materials |
ebuild flash <target> | Flash firmware to device |
ebuild test --on-target | Run tests on target hardware |