Why CMSIS example contains board project template?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Why CMSIS example contains board project template?

850 次查看
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


NOTE: If you find the answer useful, kindly click on "ACCEPT AS SOLUTION" button
标记 (1)
0 项奖励
回复
1 回复

835 次查看
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


NOTE: If you find the answer useful, kindly click on "ACCEPT AS SOLUTION" button
0 项奖励
回复