Jump to content
abecedarian

Energia 15 available for download.

Recommended Posts

Can you compile msp432 code without ti-rtos?

I was sorta expecting two separate board types...

("blink" for th 432 is 45k! (though I suppose I shouldn't care.))

Share this post


Link to post
Share on other sites

Can you compile msp432 code without ti-rtos?

I was sorta expecting two separate board types...

("blink" for th 432 is 45k! (though I suppose I shouldn't care.))

ARM has more overhead....

... but you got farther than I if you managed to compile the basic "BLINK" sketch.

It won't compile for MSP432 here... maybe an update to Energia was pushed after I downloaded it?

 

Energia output:

CCROOT E:\energia-0101E0015\hardware\tools\lm4f
SDKROOT E:\energia-0101E0015\hardware\msp432/CC3200SDK_1.0.0.patch
CLOSURE E:\energia-0101E0015\hardware\common
MAINSKETCH Blink.cpp
armcl main.cpp
E:\energia-0101E0015\hardware\tools\lm4f/bin/arm-none-eabi-gcc -c -Os @"E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/compiler.opt" -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/configPkg/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/src/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/ti/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/avr/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/driverlib/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/inc/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/lib/ -IE:\energia-0101E0015/hardware/common/ -IE:\energia-0101E0015/hardware/common/configPkg/ -IE:\energia-0101E0015/hardware/common/gnu/ -IE:\energia-0101E0015/hardware/common/src/ -IE:\energia-0101E0015/hardware/common/ti/ -IE:\energia-0101E0015/hardware/common/xdc/ -IE:\energia-0101E0015/hardware/msp432/libraries/AIR430BoostUSAFCC/ -IE:\energia-0101E0015/hardware/msp432/libraries/AIR430BoostUSAFCC/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/Adafruit_TMP006/ -IE:\energia-0101E0015/hardware/msp432/libraries/CogLCD/ -IE:\energia-0101E0015/hardware/msp432/libraries/EduBPMKII_Screen/ -IE:\energia-0101E0015/hardware/msp432/libraries/M2XStreamClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/MQTTClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/OPT3001/ -IE:\energia-0101E0015/hardware/msp432/libraries/PubNub/ -IE:\energia-0101E0015/hardware/msp432/libraries/PubSubClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/SHT2x/ -IE:\energia-0101E0015/hardware/msp432/libraries/Temboo/ -IE:\energia-0101E0015/hardware/msp432/libraries/Temboo/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/WiFi/ -IE:\energia-0101E0015/hardware/msp432/libraries/WiFi/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/aJson/ -IE:\energia-0101E0015/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 "E:\energia-0101E0015\hardware\tools\lm4f/include" -I "E:\energia-0101E0015\hardware\common" -I "E:\energia-0101E0015\hardware\common" -IE:\energia-0101E0015/hardware/msp432/cores/msp432/inc/CMSIS main.cpp -o main.obj
armcl Blink.cpp
E:\energia-0101E0015\hardware\tools\lm4f/bin/arm-none-eabi-gcc -c -Os @"E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/compiler.opt" -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/configPkg/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/src/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/ti/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/avr/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/driverlib/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/inc/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/lib/ -IE:\energia-0101E0015/hardware/common/ -IE:\energia-0101E0015/hardware/common/configPkg/ -IE:\energia-0101E0015/hardware/common/gnu/ -IE:\energia-0101E0015/hardware/common/src/ -IE:\energia-0101E0015/hardware/common/ti/ -IE:\energia-0101E0015/hardware/common/xdc/ -IE:\energia-0101E0015/hardware/msp432/libraries/AIR430BoostUSAFCC/ -IE:\energia-0101E0015/hardware/msp432/libraries/AIR430BoostUSAFCC/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/Adafruit_TMP006/ -IE:\energia-0101E0015/hardware/msp432/libraries/CogLCD/ -IE:\energia-0101E0015/hardware/msp432/libraries/EduBPMKII_Screen/ -IE:\energia-0101E0015/hardware/msp432/libraries/M2XStreamClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/MQTTClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/OPT3001/ -IE:\energia-0101E0015/hardware/msp432/libraries/PubNub/ -IE:\energia-0101E0015/hardware/msp432/libraries/PubSubClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/SHT2x/ -IE:\energia-0101E0015/hardware/msp432/libraries/Temboo/ -IE:\energia-0101E0015/hardware/msp432/libraries/Temboo/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/WiFi/ -IE:\energia-0101E0015/hardware/msp432/libraries/WiFi/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/aJson/ -IE:\energia-0101E0015/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 "E:\energia-0101E0015\hardware\tools\lm4f/include" -I "E:\energia-0101E0015\hardware\common" -I "E:\energia-0101E0015\hardware\common" -IE:\energia-0101E0015/hardware/msp432/cores/msp432/inc/CMSIS Blink.cpp -o Blink.obj
armlink  main.obj  Blink.obj   
E:\energia-0101E0015\hardware\tools\lm4f/bin/arm-none-eabi-gcc -Os @"E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/compiler.opt" -nostartfiles -Wl,--no-wchar-size-warning -Wl,-static -Wl,--gc-sections -L"E:\energia-0101E0015\hardware\common" -L"E:\energia-0101E0015\hardware\tools\lm4f/lib"  main.obj  Blink.obj    -Wl,-T"E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/linker.cmd" -LE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R -LE:\energia-0101E0015/hardware/common/libs   -lstdc++ -lgcc -lc -lm -lnosys -Wl,-Map=Blink.cpp.map -o Blink.cpp.elf
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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.exe: error: ld returned 1 exit status
make: *** [Blink.cpp.elf] Error 1
E:\energia-0101E0015\tools\common\bin\make returned 2

Share this post


Link to post
Share on other sites

Trying to compile the "MultiBlink" example:

CCROOT E:\energia-0101E0015\hardware\tools\lm4f
SDKROOT E:\energia-0101E0015\hardware\msp432/CC3200SDK_1.0.0.patch
CLOSURE E:\energia-0101E0015\hardware\common
MAINSKETCH MultiBlink.cpp
armcl main.cpp
E:\energia-0101E0015\hardware\tools\lm4f/bin/arm-none-eabi-gcc -c -Os @"E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/compiler.opt" -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/configPkg/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/src/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/ti/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/avr/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/driverlib/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/inc/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/lib/ -IE:\energia-0101E0015/hardware/common/ -IE:\energia-0101E0015/hardware/common/configPkg/ -IE:\energia-0101E0015/hardware/common/gnu/ -IE:\energia-0101E0015/hardware/common/src/ -IE:\energia-0101E0015/hardware/common/ti/ -IE:\energia-0101E0015/hardware/common/xdc/ -IE:\energia-0101E0015/hardware/msp432/libraries/AIR430BoostUSAFCC/ -IE:\energia-0101E0015/hardware/msp432/libraries/AIR430BoostUSAFCC/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/Adafruit_TMP006/ -IE:\energia-0101E0015/hardware/msp432/libraries/CogLCD/ -IE:\energia-0101E0015/hardware/msp432/libraries/EduBPMKII_Screen/ -IE:\energia-0101E0015/hardware/msp432/libraries/M2XStreamClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/MQTTClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/OPT3001/ -IE:\energia-0101E0015/hardware/msp432/libraries/PubNub/ -IE:\energia-0101E0015/hardware/msp432/libraries/PubSubClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/SHT2x/ -IE:\energia-0101E0015/hardware/msp432/libraries/Temboo/ -IE:\energia-0101E0015/hardware/msp432/libraries/Temboo/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/WiFi/ -IE:\energia-0101E0015/hardware/msp432/libraries/WiFi/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/aJson/ -IE:\energia-0101E0015/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 "E:\energia-0101E0015\hardware\tools\lm4f/include" -I "E:\energia-0101E0015\hardware\common" -I "E:\energia-0101E0015\hardware\common" -IE:\energia-0101E0015/hardware/msp432/cores/msp432/inc/CMSIS main.cpp -o main.obj
armcl MultiBlink.cpp
E:\energia-0101E0015\hardware\tools\lm4f/bin/arm-none-eabi-gcc -c -Os @"E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/compiler.opt" -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/configPkg/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/src/ -IE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/ti/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/avr/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/driverlib/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/inc/ -IE:\energia-0101E0015/hardware/msp432/cores/msp432/lib/ -IE:\energia-0101E0015/hardware/common/ -IE:\energia-0101E0015/hardware/common/configPkg/ -IE:\energia-0101E0015/hardware/common/gnu/ -IE:\energia-0101E0015/hardware/common/src/ -IE:\energia-0101E0015/hardware/common/ti/ -IE:\energia-0101E0015/hardware/common/xdc/ -IE:\energia-0101E0015/hardware/msp432/libraries/AIR430BoostUSAFCC/ -IE:\energia-0101E0015/hardware/msp432/libraries/AIR430BoostUSAFCC/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/Adafruit_TMP006/ -IE:\energia-0101E0015/hardware/msp432/libraries/CogLCD/ -IE:\energia-0101E0015/hardware/msp432/libraries/EduBPMKII_Screen/ -IE:\energia-0101E0015/hardware/msp432/libraries/M2XStreamClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/MQTTClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/OPT3001/ -IE:\energia-0101E0015/hardware/msp432/libraries/PubNub/ -IE:\energia-0101E0015/hardware/msp432/libraries/PubSubClient/ -IE:\energia-0101E0015/hardware/msp432/libraries/SHT2x/ -IE:\energia-0101E0015/hardware/msp432/libraries/Temboo/ -IE:\energia-0101E0015/hardware/msp432/libraries/Temboo/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/WiFi/ -IE:\energia-0101E0015/hardware/msp432/libraries/WiFi/utility/ -IE:\energia-0101E0015/hardware/msp432/libraries/aJson/ -IE:\energia-0101E0015/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 "E:\energia-0101E0015\hardware\tools\lm4f/include" -I "E:\energia-0101E0015\hardware\common" -I "E:\energia-0101E0015\hardware\common" -IE:\energia-0101E0015/hardware/msp432/cores/msp432/inc/CMSIS MultiBlink.cpp -o MultiBlink.obj
GreenLed.ino:1:0: warning: "LED" redefined [enabled by default]
BlueLed.ino:1:0: note: this is the location of the previous definition
RedLed.ino:1:0: warning: "LED" redefined [enabled by default]
GreenLed.ino:1:0: note: this is the location of the previous definition
armlink  main.obj  MultiBlink.obj   
E:\energia-0101E0015\hardware\tools\lm4f/bin/arm-none-eabi-gcc -Os @"E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/compiler.opt" -nostartfiles -Wl,--no-wchar-size-warning -Wl,-static -Wl,--gc-sections -L"E:\energia-0101E0015\hardware\common" -L"E:\energia-0101E0015\hardware\tools\lm4f/lib"  main.obj  MultiBlink.obj    -Wl,-T"E:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/linker.cmd" -LE:\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R -LE:\energia-0101E0015/hardware/common/libs   -lstdc++ -lgcc -lc -lm -lnosys -Wl,-Map=MultiBlink.cpp.map -o MultiBlink.cpp.elf
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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'
E:\energia-0101E0015/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.exe: error: ld returned 1 exit status
make: *** [MultiBlink.cpp.elf] Error 1
E:\energia-0101E0015\tools\common\bin\make returned 2

Share this post


Link to post
Share on other sites
ARM has more overhead....

 

Sure.  But I'm comparing the other (non-multitasking) Stellaris/Tiva boards (2400-3800 bytes) with the 432 board (45000+ bytes.)

 

... but you got farther than I if you managed to compile the basic "BLINK" sketch.

 

I am using the Mac version...  OTOH, check out that .bin file size!

-rw-r--r--   1 staff        950 Mar 26 01:16 Blink.cpp
-rwxr-xr-x   1 staff  536879208 Mar 26 01:16 Blink.cpp.bin*
-rwxr-xr-x   1 staff    1271459 Mar 26 01:16 Blink.cpp.elf*
-rw-r--r--   1 staff     986539 Mar 26 01:16 Blink.cpp.map
-rw-r--r--   1 staff      15956 Mar 26 01:16 Blink.obj
-rw-r--r--   1 staff        594 Mar 26 01:16 Variables.mk
-rw-r--r--   1 staff       3831 Mar 26 01:16 main.cpp
-rw-r--r--   1 staff      20340 Mar 26 01:16 main.obj

Share this post


Link to post
Share on other sites

Also, the 432 build seems to be using "make" to build stuff for the 432, but I don't see a way to do the equiv of "make clean" to force library recompilation...

 

and I can't figure out where it's putting the .o (or .obj) files (from the core) to clean manually either.

Perhaps it's not building what I think it's building at all?

Share this post


Link to post
Share on other sites

A lot of the TI-RTOS core is distributed in binary form from what I recall. Source should be available soon but keep in mind this is a brand new product, so Robert's work has been done in the context of a "prerelease" of the RTOS port.

 

Sent from my Galaxy Note II with Tapatalk 4

Share this post


Link to post
Share on other sites

Well, it looks like the "release" has some problems...

 

The 500+MB .bin files seem to be because the .elf file contains initialized data at RAM addresses (0x2000000+), rather than "copy my initialized data from flash to RAM in the startup code" that should be there.  That seems like a real problem even beyond the silly file sizes...

000091b4 R ti_sysbios_family_arm_m3_Hwi_E_noIsr__C
000091b8 R xdc_runtime_Text_charCnt__C
000091bc R ti_sysbios_family_arm_m3_Hwi_E_busFault__C
000091c0 R ti_sysbios_knl_Swi_Object__count__C
000091c4 R ti_runtime_heaps_HeapRem_Object__PARAMS__C
000091dc A __data_load__
00009db8 R __exidx_start
  :
20000000 D ti_sysbios_family_arm_m3_Hwi_ramVectors
20000140 D __data_start__
20000140 D func_ptr
20000148 D taskNames
2000014c D ti_sysbios_family_arm_m3_Timer_Object__table__V
2000017c D ti_sysbios_knl_Swi_Object__table__V
200001ac D ti_sysbios_knl_Swi_Module__state__V
200001c8 D ti_sysbios_knl_Semaphore_Object__table__V
200001dc D ti_sysbios_family_arm_m3_Timer_Module__root__V

I did install a windows version, and once I moved Energia out of "\Program Files\" (it didn't like the blanks in the directory names), I was able to compile Blink OK.  I guess the MT-core is entirely provided as libraries, which is a little scary ("I can't fix the core any more?"), but likely to make builds much faster.

 

(Should I start submitting github issues, or just wait for 0102E0015 ?)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...