Why CMSIS example contains board project template?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why CMSIS example contains board project template?

298 Views
marek-trmac
NXP Employee
NXP Employee

Why CMSIS example contains board project template component, even the pin_mux.c and clock_config.c contains example-specific code.

Regards,
Marek
Tags (1)
0 Kudos
1 Reply

283 Views
marek-trmac
NXP Employee
NXP Employee

First let me describe, how the CMSIS projects are created manually by the user:

  1. User creates an empty CMSIS project for the processor
  2. User adds board project template
  3. User adds all CMSIS components needed by board project template
  4. User adds main function
  5. User modify board project template (e.g. pin_mux.c and clock_config.c)
  6. 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
0 Kudos