Com Stack
Diagnostics
Bootloader
Watchdog
Memory Stack
LeanCfg — Configuration Workbench
#include "BswIf.h" Mcu_Init(&Mcu_Config); Gpt_Init(&Gpt_Config); Port_Init(&Port_Config);
Configure DBC / LDF / ODX / A2L / LCFGXML
LeanCfg Validate & Generate
Auto
C Source Production-ready code
Build Compile & Link
Flash to ECU Deploy via Bootloader
LeanStack Pipeline

A lightweight middleware design, enabling easy scaling across features and seamless portability across major automotive MCU platforms.

Zero-heap, statically configured architecture ensures predictable timing, reliable execution, and proven communication, diagnostics, and reprogramming workflows.

Standardized interfaces and validated building blocks significantly reduce integration time and debugging effort.

Leanstack Architecture

LeanBoot — Bootloader Architecture
Flash-resident image · ISO 14229 / ISO 15765 over CAN
SCHEDULER
Bootloader Application
Bootloader Download State Machine
Uds based
Diag Stack
Crypto
Stack
MCAL
ECU Memory Map
Reprogrammable ECU partition
Random Access
Memory
Application
and
Bootloader
Reprogrammable
Area
Application
→ LeanBSW
Protected
Area
Bootloader
← LeanBoot
LeanBSW — Application Software Architecture
Layered BSW · LeanOS-scheduled runnables · MCAL on supported platforms
Application
BswIf Layer
LEAN OS
Com
Stack
Calibration
Diag
Stack
Crypto
Stack
Mem
Stack
Wdg
Stack
HAL
CDD
MCAL