Part Number: CC1310
Tool/software: TI-RTOS
Hi,
I have a problem. I developed an application based on the routines(rfWsnConcentrator) in the CC1310 LAUNCHXL development board, I wanted to increase the size of the System stack ,but a compilation error occurred.
I increased the stack size by setting parameters in CCS under Project->Properties->C/C++ Build->Linker->Basic Options, --stack_size from the default 4096 to 4240 and a task stack from 1024 to 1120.
CCS hints below:
<Linking>
"../CC1310_LAUNCHXL_TIRTOS.cmd", line 95: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".stack" size 0x428 . Available memory ranges:
SRAM size: 0x5000 unused: 0x706 max hole: 0x3ed
error #10010: errors encountered during linking; "rfWsnConcentrator_MODBUS_V1.2.out" not built
Before modification, the memory usage during normal compilation is as follows:
******************************************************************************
TI ARM Linker PC v18.1.4
******************************************************************************
>> Linked Fri Jan 25 11:39:13 2019
OUTPUT FILE NAME: <rfWsnConcentrator_MODBUS_V1.2.out>
ENTRY POINT SYMBOL: "ResetISR" address: 0000a911
MEMORY CONFIGURATION
name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
FLASH 00000000 00020000 00013e96 0000c16a R X
SRAM 20000000 00005000 00004cc2 0000033e RW X
I feel the size of system stack has not been modified. And then I add a statement("Program.stack =4240;") to the "cc1310_lanunchxl_tirtos.cmd" file or "release.cfg" file, It also doesn't work.
How to solve this problem?
Best,
Stone
