Part Number: MSP432P401R
Tool/software: Code Composer Studio
Hi All
In my efforts to learn the MSP432 I bought one of the books listing in the suggested reading, Programmable Micro controllers by Cem Unsalan.
I am trying to type in and run the program in Listing 6.7. the first line is:
#include <ti/devices/msp432p4xx/driverlib/driverlib.h>
and I got this error:
>> Compilation failure
subdir_rules.mk:9: recipe for target 'Listing_6p7_A_main.obj' failed
"../Listing_6p7_A_main.c", line 2: fatal error #1965: cannot open source file "ti/devices/msp432p4xx/driverlib/driverlib.h"
So I looked around and found this:
C:\ti\simplelink_msp432p4_sdk_2_30_00_14\source\ti\devices\msp432p4xx\driverlib/driverlib.h
which looked like what the the compiler was looking for.
When I modified the include to:
#include <C:\ti\simplelink_msp432p4_sdk_2_30_00_14\source\ti\devices\msp432p4xx\driverlib/driverlib.h>
I just got more if the same could not find *****.h. So I looked in Project > Properties > Include Files> and found this:
${CCS_BASE_ROOT}/arm/include
${CCS_BASE_ROOT}/arm/include/CMSIS
${PROJECT_ROOT}
${CG_TOOL_ROOT}/include
I am thinking there might be some expected format like:
$(MYSTERY_SIMPLELINK_DIRECTORY)/source
that would be used to add another line to where the compiler looks for include files?
Or maybe when I create the project there is a place to select SimpleLink. I have not found that yet?
Thanks
Chris





