I need to implement a mechanism by which I should be able to update the configuration data of some of the modules in a post-build fashion. To describe, consider I have the following files:
All of these are built together and flashed initially. But at a later point, I want to modify only the
Cfg.h and flash them separately (in a dedicated configuration memory area) without flashing the actual application from module.c. I already tried something like creating a separate project just to compile the Cfg files, but it doesn't work because the
main() function etc. is missing. What is the best method to achieve this?
The project is in the automotive area, which has the AUTOSAR standard already defining mechanisms to do this, but it is heavily tool dependent and not easy to understand. I am looking forward to a simple and straight forward solution.