| Config Phase | Files | Full Rebuild Needed? |
|---|---|---|
| Pre-compile | Xxx_Cfg.h — #define constants and types | Yes — any parameter change |
| Link-time | Xxx_Lcfg.c — tables with function pointer references | Yes — callback changes |
| Post-build | Xxx_PBcfg.c — data tables loadable at runtime | No — replaceable at runtime via boot loader |
💡 Post-Build Benefit
Post-build configuration enables one ECU software image to support multiple vehicle variants without reflashing. The post-build config is written to a separate flash partition and loaded during startup via a config pointer passed to Xxx_Init(ConfigPtr).