energia / msp432-core

MSP432 Core and Framework
14 stars 10 forks source link

MSP432: "Compile DriverLib from source" preference causes failed compile. #34

Closed robertinant closed 8 years ago

robertinant commented 8 years ago

From @WestfW on March 29, 2015 20:38

The MSP432 support ni 0101E0015 includes a new preference item "Compile DriverLib from Source" item, but checking it results in a failed compile:

/Applications/arduino/Energia-e15.app/Contents/Resources/Java/tools/common/bin/make --no-print-directory -C /var/folders/jz/5yb8f2hr8xjcpf0059bsfz4r0000gn/T/build6157934834490470798.tmp/ -f /Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common/Makefile 
CCROOT /Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/tools/lm4f
SDKROOT /Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/CC3200SDK_1.0.0.patch
CLOSURE /Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common
MAINSKETCH Blink.cpp
armcl Blink.cpp
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-gcc -c -Os @"/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/compiler.opt" -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/configPkg/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/src/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ti/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/cores/msp432/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/cores/msp432/avr/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/cores/msp432/driverlib/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/cores/msp432/inc/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/cores/msp432/lib/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common/configPkg/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common/gnu/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common/src/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common/ti/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common/xdc/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/AIR430BoostUSAFCC/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/AIR430BoostUSAFCC/utility/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/Adafruit_TMP006/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/CogLCD/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/EduBPMKII_Screen/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/M2XStreamClient/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/MQTTClient/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/OPT3001/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/PubNub/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/PubSubClient/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/Temboo/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/Temboo/utility/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/WiFi/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/WiFi/utility/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/aJson/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/aJson/utility/ -DF_CPU=48000000L -D__MSP432P401R__ -DTARGET_IS_MSP432P4XX -Dxdc__nolocalstring=1 -ffunction-sections -fdata-sections -DARDUINO=101 -DENERGIA=14 -D__MSP432P401R__ -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant  -fno-exceptions -fno-rtti -I "/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/tools/lm4f/include" -I "/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common" -I "/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common" -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/cores/msp432/inc/CMSIS Blink.cpp -o Blink.obj
armcl main.cpp
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-gcc -c -Os @"/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/compiler.opt" -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/configPkg/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/src/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ti/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/cores/msp432/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/cores/msp432/avr/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/cores/msp432/driverlib/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/cores/msp432/inc/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/cores/msp432/lib/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common/configPkg/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common/gnu/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common/src/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common/ti/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common/xdc/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/AIR430BoostUSAFCC/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/AIR430BoostUSAFCC/utility/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/Adafruit_TMP006/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/CogLCD/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/EduBPMKII_Screen/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/M2XStreamClient/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/MQTTClient/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/OPT3001/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/PubNub/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/PubSubClient/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/Temboo/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/Temboo/utility/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/WiFi/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/WiFi/utility/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/aJson/ -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/libraries/aJson/utility/ -DF_CPU=48000000L -D__MSP432P401R__ -DTARGET_IS_MSP432P4XX -Dxdc__nolocalstring=1 -ffunction-sections -fdata-sections -DARDUINO=101 -DENERGIA=14 -D__MSP432P401R__ -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant  -fno-exceptions -fno-rtti -I "/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/tools/lm4f/include" -I "/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common" -I "/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common" -I/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/cores/msp432/inc/CMSIS main.cpp -o main.obj
armlink Blink.obj main.obj
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-gcc -Os @"/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/compiler.opt" -nostartfiles -Wl,--no-wchar-size-warning -Wl,-static -Wl,--gc-sections -L"/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common" -L"/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/tools/lm4f/lib"  Blink.obj  main.obj    -Wl,-T"/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/linker.cmd" -L/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R -L/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/common/libs   -lstdc++ -lgcc -lc -lm -lnosys -Wl,-Map=Blink.cpp.map -o Blink.cpp.elf
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ti/runtime/wiring/msp432/lib/ti.runtime.wiring.msp432.lib(wiring_analog.om4fg): In function `analogWrite':
/db/ztree/library/trees/emt/emt-a28/src/ti/runtime/wiring/msp432/wiring_analog.c:259: undefined reference to `GPIO_setAsPeripheralModuleFunctionOutputPin'
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ti/runtime/wiring/msp432/lib/ti.runtime.wiring.msp432.lib(wiring_analog.om4fg): In function `stopAnalogRead':
/db/ztree/library/trees/emt/emt-a28/src/ti/runtime/wiring/msp432/wiring_analog.c:561: undefined reference to `GPIO_setAsPeripheralModuleFunctionOutputPin'
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ti/drivers/lib/drivers_MSP432P401R.am4fg(GPIOMSP432.om4fg): In function `GPIO_hwiIntFxn':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:244: undefined reference to `GPIO_getEnabledInterruptStatus'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:247: undefined reference to `GPIO_clearInterruptFlag'
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ti/drivers/lib/drivers_MSP432P401R.am4fg(GPIOMSP432.om4fg): In function `GPIO_setConfig':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:446: undefined reference to `GPIO_interruptEdgeSelect'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:448: undefined reference to `GPIO_clearInterruptFlag'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:386: undefined reference to `GPIO_setAsInputPinWithPullDownResistor'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:383: undefined reference to `GPIO_setAsInputPinWithPullUpResistor'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:394: undefined reference to `GPIO_setAsOutputPin'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:401: undefined reference to `GPIO_setDriveStrengthHigh'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:404: undefined reference to `GPIO_setOutputHighOnPin'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:389: undefined reference to `GPIO_setAsInputPin'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:397: undefined reference to `GPIO_setDriveStrengthLow'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:407: undefined reference to `GPIO_setOutputLowOnPin'
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ti/drivers/lib/drivers_MSP432P401R.am4fg(GPIOMSP432.om4fg): In function `GPIO_write':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:505: undefined reference to `GPIO_setOutputLowOnPin'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/gpio/GPIOMSP432.c:499: undefined reference to `GPIO_setOutputHighOnPin'
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ti/drivers/lib/drivers_MSP432P401R.am4fg(PWMTimerMSP432.om4fg): In function `PWMTimerMSP432_close':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/pwm/PWMTimerMSP432.c:109: undefined reference to `Timer_A_setCompareValue'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/pwm/PWMTimerMSP432.c:110: undefined reference to `Timer_A_stopTimer'
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ti/drivers/lib/drivers_MSP432P401R.am4fg(PWMTimerMSP432.om4fg): In function `PWMTimerMSP432_control':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/pwm/PWMTimerMSP432.c:182: undefined reference to `Timer_A_setCompareValue'
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ti/drivers/lib/drivers_MSP432P401R.am4fg(PWMTimerMSP432.om4fg): In function `PWMTimerMSP432_getPeriodCounts':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/pwm/PWMTimerMSP432.c:209: undefined reference to `Timer_A_getCaptureCompareCount'
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ti/drivers/lib/drivers_MSP432P401R.am4fg(PWMTimerMSP432.om4fg): In function `PWMTimerMSP432_setDuty':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/pwm/PWMTimerMSP432.c:368: undefined reference to `Timer_A_getCaptureCompareCount'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/pwm/PWMTimerMSP432.c:414: undefined reference to `Timer_A_setCompareValue'
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ti/drivers/lib/drivers_MSP432P401R.am4fg(PWMTimerMSP432.om4fg): In function `PWMTimerMSP432_open':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/pwm/PWMTimerMSP432.c:343: undefined reference to `Timer_A_generatePWM'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/pwm/PWMTimerMSP432.c:344: undefined reference to `Timer_A_startCounter'
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ti/drivers/lib/drivers_MSP432P401R.am4fg(PowerMSP432.om4fg): In function `initPerfControl':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:759: undefined reference to `CS_setDCOCenteredFrequency'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:760: undefined reference to `CS_initClockSignal'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:761: undefined reference to `CS_initClockSignal'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:762: undefined reference to `CS_initClockSignal'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:765: undefined reference to `PCM_setPowerState'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:771: undefined reference to `FlashCtl_setWaitState'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:773: undefined reference to `FlashCtl_setWaitState'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:778: undefined reference to `FlashCtl_enableReadBuffering'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:779: undefined reference to `FlashCtl_enableReadBuffering'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:781: undefined reference to `FlashCtl_enableReadBuffering'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:782: undefined reference to `FlashCtl_enableReadBuffering'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:795: undefined reference to `CS_setDCOCenteredFrequency'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:797: undefined reference to `CS_initClockSignal'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:800: undefined reference to `CS_initClockSignal'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:803: undefined reference to `CS_initClockSignal'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:786: undefined reference to `FlashCtl_disableReadBuffering'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:787: undefined reference to `FlashCtl_disableReadBuffering'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:789: undefined reference to `FlashCtl_disableReadBuffering'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:790: undefined reference to `FlashCtl_disableReadBuffering'
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ti/drivers/lib/drivers_MSP432P401R.am4fg(PowerMSP432.om4fg): In function `Power_sleep':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:630: undefined reference to `PCM_getPowerMode'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:675: undefined reference to `PCM_setPowerState'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:630: undefined reference to `PCM_getPowerMode'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:667: undefined reference to `PCM_setPowerState'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:673: undefined reference to `RTC_C_holdClock'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432.c:674: undefined reference to `WDT_A_holdTimer'
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/hardware/msp432/targets/MSP-EXP432P401R/ti/drivers/lib/drivers_MSP432P401R.am4fg(PowerMSP432_tirtos.om4fg): In function `PowerMSP432_policyFxn':
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432_tirtos.c:62: undefined reference to `CPU_cpsid'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432_tirtos.c:110: undefined reference to `CPU_cpsie'
/db/vtree/library/trees/zumaapps/zumaapps-f28/products/drivers-next/packages/ti/drivers/power/PowerMSP432_tirtos.c:110: undefined reference to `CPU_cpsie'
collect2: error: ld returned 1 exit status
make: *** [Blink.cpp.elf] Error 1
/Applications/arduino/Energia-e15.app/Contents/Resources/Java/tools/common/bin/make returned 2

Copied from original issue: energia/Energia#591

robertinant commented 8 years ago

Thanks for opening this issue! Will look into it this week!

robertinant commented 8 years ago

From @d-c-d on October 30, 2015 23:42

What's the status of this? I just encountered an issue with building the libraries on the msp432 also.

robertinant commented 8 years ago

With the new structure of Energia 18 (inherited from Arduino 1.6 IDE and arduino-builder) I no longer have the option to compile the driverlib from source. For this reason, I unfortunately have to close this ticket.

As an alternative, you can still recompile driverlib from source using either CCS or GCC commandline. Then replace the binary in Energia with the one produced.