This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP432WARE: Cannot Build Example Project (system_msp432... issue)

Part Number: MSP432WARE
Other Parts Discussed in Thread: CC3100BOOST,

Tool/software: Code Composer Studio

Hi! I've been trying to build the CC3100BOOST_MQTT-TwitterLED_MSP432P401R example project for two days now, but it's been a crazy process, just trying to get this example to work.

I am working with CCS 6.2.0.00050, since CCS 7.0 was giving me lots of issues (and I couldn't find a lot on here with people using v7.0). I got the example project from MSPWare 2.21.00.39 because for some reason, when I downloaded the latest MSPWare, there was no "MSP-EXP432P401R" folder under "examples->boards". I was looking at this post for reference:

https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/449989/1625704#1625704

When I first tried to build, I had 1253 errors. I found this post, though:

https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/505496/1833451#1833451

And from there, I updated my MSP432 emulators (well in CCS the update said MSP430 emulators??). Still 1253 errors. Then, as the user found in the previous post, I went into "\ti\msp\MSPWare_2_21_00_39\driverlib\inc\msp432p401r.h" and copied the contents of that .h file and put it into "\ti\ccsv6\ccs_base\arm\include\msp432p401r.h". That brought it down to 66 errors. All the errors were related to "system_msp432p401r.c".

Here's some examples of the errors:

Description	Resource	Path	Location	Type
#137 struct "<unnamed>" has no field "BANK0_RDCTL"	system_msp432p401r.c	/CC3100BOOST_MQTT-TwitterLED_MSP432P401R	line 323	C/C++ Problem
#137 struct "<unnamed>" has no field "BANK1_RDCTL"	system_msp432p401r.c	/CC3100BOOST_MQTT-TwitterLED_MSP432P401R	line 324	C/C++ Problem
#137 struct "<unnamed>" has no field "CTL0"	system_msp432p401r.c	/CC3100BOOST_MQTT-TwitterLED_MSP432P401R	line 162	C/C++ Problem
#137 struct "<unnamed>" has no field "DCOIR_CONSTK_RSEL04"	system_msp432p401r.c	/CC3100BOOST_MQTT-TwitterLED_MSP432P401R	line 204	C/C++ Problem
#20 identifier "CS_CTL0_DCORSEL_0" is undefined	system_msp432p401r.c	/CC3100BOOST_MQTT-TwitterLED_MSP432P401R	line 164	C/C++ Problem
#20 identifier "CS_CTL0_DCORSEL_5" is undefined	system_msp432p401r.c	/CC3100BOOST_MQTT-TwitterLED_MSP432P401R	line 179	C/C++ Problem
#20 identifier "WDT_A_CTL_HOLD" is undefined	system_msp432p401r.c	/CC3100BOOST_MQTT-TwitterLED_MSP432P401R	line 275	C/C++ Problem
#20 identifier "WDT_A_CTL_PW" is undefined	system_msp432p401r.c	/CC3100BOOST_MQTT-TwitterLED_MSP432P401R	line 275	C/C++ Problem

Anyone have any suggestions as to what's going on? I tried to find a "system" file in the MSPWare, thinking perhaps I should copy the contents over into a CCS version, similar to what I did with the "msp432p401r.h" file, but I couldn't find a "system" file from the MSPWare/didn't know where to look.

**Attention** This is a public forum