First let me describe, how the CMSIS projects are created manually by the user:
- User creates an empty CMSIS project for the processor
- User adds board project template
- User adds all CMSIS components needed by board project template
- User adds main function
- User modify board project template (e.g. pin_mux.c and clock_config.c)
- User builds the application
When generating BSP with example projects, we are doing the same: We add board project template CMSIS component, and then we add modified pin_mux.c and clock_config.c files from the example project.
Regards,
Marek
NOTE: If you find the answer useful, kindly click on [ACCEPT AS SOLUTION] button