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.
Hi,
I just added BUZZER SERVICE with 3 Characteristics to Project Zero and I am getting the error "program will not fit into available memory" error. I have read at other posts that I should modify the .opt file at stack project to remove features that I do not need. However every entry is commented out except -DGAP_BOND_MGR. So there is not much I can do at .opt file to fix the problem
Do I increase the value of these predefined symbols below, since I added another service to project zero? How do I fix this problem?
ICALL_MAX_NUM_ENTITIES=6
ICALL_MAX_NUM_TASKS=3
Error Message:
program will not fit into available memory. placement with alignment fails for section ".const" size 0x1e14 .
Available memory ranges: cc26xx_app.cmd /project_zero_app_cc2650launchxl/TOOLS line 121 C/C++ Problem
- kel
JXS said:Have you tried to remove debugging related code? Also, are you using an OAD configuration? These configurations will result in less available flash memory.
I imported a fresh copy of Project Zero to my CCS workspace. I used Bluetooth Developer Studio and opened Project Zero.bds file. At Project Zero.bds there are 3 BLE Services, the LED SERVICE, BUTTON SERVICE and DATA SERVICE. I add another BLE Service, the BUZZER SERVICE, with 3 characteristics.
I generated code using TI Plugin, then I copied the files to Project Zero CCS Project as instructed at the Simplelink Academy BDS module. I get the error program will not fit in available memory.
I will try to remove debugging related code and see if the error will be resolved.
For now I am abandoning this approach for product development and use the sensortag_cc2650lp_app example program instead. I will port sensortag_cc2650lp_app example program to CC2640R2 Launchpad.
- kel