Roadmap / Firmware
Firmware Design & Quality
Production firmware is maintained by many people for years. Working code and maintainable code are different things.
Goal Design firmware others can read, change and keep alive.
- 01Layered architecture
HAL, drivers, services, application, and the direction of dependencies.
- 02Modules and interfaces
Drawing boundaries with headers and hiding the internals.
- 03Coding rules
What MISRA C forbids, and why.
- 04Unit testing
Testing firmware logic on a PC without hardware.
- 05Static analysis
Compiler warnings and tools such as cppcheck that find bugs before running.
- 06Version control
Git branches, commit granularity and release tags for firmware history.
- 07Logging and debug output
printf debugging, ring-buffer logs, real-time trace.
- 08Firmware updates
OTA structures that update devices in the field safely.