Why CMSIS example contains board project template component, even the pin_mux.c and clock_config.c contains example-specific code.
First let me describe, how the CMSIS projects are created manually by the user:
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.