关于CCS6.1中导入MSPWARE中MSP432例程,编译中发现众多寄存器定义无法找到问题。参照http://processors.wiki.ti.com/index.php/MSP432_CMSIS_Update?DCMP=epd-mcu-msp-gen&HQS=MSP432CMSIS
导入的工程中,starup_msp432p401r_ccs.c 这个文件设置为exclude from build。 如下图所示:
修复办法如下:
Step 1: Update IDE & software packages
Code Composer Studio Desktop
To update CCS Desktop with latest header file support package. Open up CCS and using the drop down menu go to "Help -> Check for Updates".
Make sure to choose "MSP432 Emulators" version "6.2.1.1" (or above) and progress through the installation by clicking "Next". Once CCS has installed and restarted you will have the new CMSIS-Core header files.
如果使用的是IAR:
IAR Embedded Workbench
The new CMSIS-Core header files are packaged with the IAR IDE. To get the latest version of the IAR Emedded Workbench for ARM visit the IAR Website.
Keil MDK
To update Keil launch the Keil uVision IDE. Then launch the Pack Installer by using the drop down menu and navigation "Project -> Manage -> Pack Installer".
Within the Pack Installer first refresh the pack listing by clicking the refresh icon in the top left.
After the refresh is complete, choose the MSP432P401R device on the left hand side. The right hand side should filter and display available packs and versions for the device. Click "Install" next to version 2.1.0 of the TexasInstruments::MSP432P4xx_DFP pack. Once complete you will have the new CMSIS-Core header files.