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.

Bluetooth demo exceeds code size limit

Other Parts Discussed in Thread: CC3200AUDBOOST

Hello,

I have an issue compiling the SPP demo from current Bluetopia stack with CCS 6.2.

I took the demo as it is with compiler settings and MCU selection, bit the linker finishes with a "exceeds code size limit" error. I didn't get any hint how many bytes are missinf or what is the root cause.

Is there some thing wrong in the toolchain?

'Building target: SPPDemo.out'
'Invoking: MSP432 Linker'
"C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O4 --opt_for_speed=0 --preinclude="msp432p401r.h" --advice:power=all --gcc --define=__MSP432P401R__ --define=TARGET_IS_MSP432P4XX --define=ccs --diag_wrap=off --diag_warning=225 --display_error_number -z -m"SPPDemo.map" --heap_size=0 --stack_size=4000 -i"C:/ti/ccsv6/ccs_base/arm/include" -i"C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/lib" -i"C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" -i"C:/ti/Connectivity/CC256X BT/CC256x MSP432 Bluetopia SDK/4.0.3.0/Bluetopia/lib/ccs" --reread_libs --display_error_number --diag_wrap=off --warn_sections --xml_link_info="SPPDemo_linkInfo.xml" --rom_model -o "SPPDemo.out" "./system_msp432p401r.obj" "./Application/Main.obj" "./Application/SPPDemo.obj" "./Bluetopia/btpskrnl/BTPSKRNL.obj" "./Bluetopia/btpsvend/BTPSVEND.obj" "./Bluetopia/btvs/BTVS.obj" "./Bluetopia/hcitrans/HCITRANS.obj" "./Platforms/MSP-EXP432P401R/CC3200AUDBOOST.obj" "./Platforms/MSP-EXP432P401R/HAL.obj" "./Platforms/MSP-EXP432P401R/ccs/msp432_startup_ccs.obj" "./Platforms/driverlib/cpu.obj" "./Platforms/driverlib/cs.obj" "./Platforms/driverlib/flash.obj" "./Platforms/driverlib/gpio.obj" "./Platforms/driverlib/i2c.obj" "./Platforms/driverlib/interrupt.obj" "./Platforms/driverlib/pcm.obj" "./Platforms/driverlib/rtc_c.obj" "./Platforms/driverlib/sysctl.obj" "./Platforms/driverlib/systick.obj" "./Platforms/driverlib/uart.obj" "./Platforms/driverlib/wdt_a.obj" "C:/ti/Connectivity/CC256X BT/CC256x MSP432 Bluetopia SDK/4.0.3.0/Platforms/MSP-EXP432P401R/ccs/msp432p401r.cmd"  -llibc.a -lBluetopia_BR_EDR.lib
<Linking>
remark #10371-D: (ULP 1.1) Detected no uses of low power mode state changing instructions
remark #10372-D: (ULP 4.1) Detected uninitialized Port 1 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
remark #10372-D: (ULP 4.1) Detected uninitialized Port 2 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
remark #10372-D: (ULP 4.1) Detected uninitialized Port 3 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
remark #10372-D: (ULP 4.1) Detected uninitialized Port 4 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
remark #10372-D: (ULP 4.1) Detected uninitialized Port 5 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
remark #10372-D: (ULP 4.1) Detected uninitialized Port 6 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
remark #10372-D: (ULP 4.1) Detected uninitialized Port 7 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
remark #10372-D: (ULP 4.1) Detected uninitialized Port 8 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
remark #10372-D: (ULP 4.1) Detected uninitialized Port 9 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
remark #10372-D: (ULP 4.1) Detected uninitialized Port 10 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.

>> Compilation failure
makefile:178: recipe for target 'SPPDemo.out' failed
error #10269: output file "SPPDemo.out" exceeds code size limit
error #10010: errors encountered during linking; "SPPDemo.out" not built
gmake: *** [SPPDemo.out] Error 1
gmake: Target 'all' not remade because of errors.

Compiler Settings:

Thanks & Br,

Matthias