ebuild — Developer Workflow
One Tool for the
Entire EoS Lifecycle
ebuild is the EmbeddedOS build tool. It handles everything from project creation to CAD analysis, simulation, static analysis, flashing, and OTA updates — with a single CLI and zero configuration files to maintain manually.
$ pip install embeddedos-ebuild $ ebuild --version ebuild v2.1.0 (EmbeddedOS Build Tool) $ ebuild platforms list | wc -l 63
- 158 platformssupported targets
- Zero configtoolchain bundled
- One commandbuild → flash → monitor
The Complete Developer Workflow
- 1
Design your schematic in KiCad
Place your MCU, sensors, power regulators, and connectors. Assign net names that match EoS HAL conventions (UART_TX, SPI_CLK, etc.).
- 2
Run CAD analysis
ebuild cad analyze my-board.kicad_sch — ebuild identifies the MCU, maps all peripheral pins, and checks EoS compatibility.
ebuild cad analyze my-board.kicad_sch # [CAD] MCU: STM32H743ZIT6 # [CAD] 14 peripherals mapped # [CAD] EoS compatibility: FULL - 3
Generate the BSP
ebuild cad generate produces pins.h, clocks.c, peripherals.c, and linker.ld — all derived from your schematic.
ebuild cad generate my-board.kicad_sch --output bsp/ --name my-board
Command Reference
ebuild init <name>--template rtos|bare|app --target <board> --bsp <path>Create a new EoS project. Generates CMakeLists.txt, linker scripts, startup code, and ebuild.toml for the specified target board.
$ ebuild init my-sensor --template rtos --target esp32ebuild clean--allRemove all build artifacts. --all also removes the CMake cache.
$ ebuild clean --allebuild infoPrint project metadata: target board, EoS version, enabled features, memory layout.
$ ebuild info
ebuild.toml Reference
[project] name = "my-sensor-node" version = "1.0.0" eos_version = "2.5.0" [target] board = "stm32h743" cpu = "cortex-m7" fpu = "fpv5-d16" clock_hz = 480_000_000 [memory] flash_size = "2MB" ram_size = "1MB" flash_origin = "0x08000000" ram_origin = "0x20000000" [features] rtos = true wifi = false bluetooth = false eai = false eboot = true [dependencies] bme280 = "1.2.0" w25q = "0.9.1" [build] optimization = "Os" # Os = size, O2 = speed, Og = debug lto = true stack_size = 4096 [analysis] misra = "advisory" # required | advisory | off stack_check = true coverage = false
CAD → Firmware Pipeline
- KiCad Schematic.kicad_sch
- ebuild cad analyzeMCU + pin map
- ebuild cad generateBSP files
- ebuild initproject scaffold
- ebuild buildfirmware.elf
- ebuild simvirtual board
- ebuild analyzestatic analysis
- ebuild flashreal hardware
Start Building
Install ebuild and create your first EoS project in under 5 minutes.