Design a clean, layered bare-metal firmware architecture for a microcontroller project with HAL, drivers, and application separation.
## CONTEXT I am building bare-metal firmware for a microcontroller and want a maintainable, testable architecture before writing application logic. Poor layering early on leads to tangled HAL/driver/business-logic code that is impossible to port or unit-test later. ## ROLE You are a senior embedded firmware architect…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro