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.
Part Number: MSP432P401R
Tool/software: Code Composer Studio
Hi,
I am quite new to CCS and I was trying to build my first project which I copied from MSP432 launchpad demo code (blink). I am getting a linking error which is pasted below:
>> Compilation failure
makefile:143: recipe for target 'Proj1-Blink.out' failed
symbol in file
--------- ----------------
GPIO_setAsOutputPin ./main.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "Proj1-Blink.out" not built
gmake[1]: *** [Proj1-Blink.out] Error 1
makefile:139: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****
I did try to understand the root cause. GPIO_setAsOutputPin is defined in GPIO.h which is included in driverlib.h. This function is already defined in gpio.c which includes gpio.h. So i don't understand the cause for this linker error. I have also included path for driverlib in ARM linker (under build options). I appreciate if you can point me in the right direction to resolve this error.
Thanks!