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.

CCS/CC2640R2F: Error #10099-D, ble5 simple_peripheral

Part Number: CC2640R2F


Tool/software: Code Composer Studio

Hello, I might apologize for my writing.

I´m using the ble5 simple_peripheral example and following the ble 4.2 Simple Link Academy tutorial for develop a custom application with SPI interface.

I successfully created a custom GATT profile (26 atributes) and modify the code that Example service generator gives me for the write callbacks. I create a new Task for add the SPI interface, following the "Bluetooth Low Energy + TI Drivers" tutorial from the Academy.

When I compile only with GPIO_init() all is right, but when add a SPI_init() the compiler gives me Error #10099-D: 

"C:/ti/simplelink_cc2640r2_sdk_2_30_00_28/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd", line 259: error #10099-D: program will not fit into available memory.  placement with alignment fails for section ".cinit" size 0x1736 .  Available memory ranges:
   FLASH        size: 0x1f000      unused: 0x1ad6       max hole: 0x1000   
   FLASH_LAST_PAGE   size: 0x1000       unused: 0xfa8        max hole: 0xfa8    
error #10010: errors encountered during linking; "ble5_simple_peripheral_cc2640r2lp_app.out" not built

I don´t know if that is because the tutorials for ble 4.2 don´t apply for ble5 simple_peripheral example or maybe because my profile had a lot of attributes.

If someone knows how to fix this please tell me.  Thanks for the attention.