I am troubleshooting a problem exceeding RAM size. Using Keil and the ARM compiler, I receive a L6220E RM_IRAM exceeds limit error. The size jumps from 14.5k to 35k when I add one line of code. Below is ARM documentation on error code and screenshots. I am using Texas Instruments TIVA C Series LP with CC3100 Booster.
ARM documentation:
L6220E
<type> region <regionname> size (<size> bytes) exceeds limit (<limit> bytes).
Example:
Execution region ROM_EXEC size (4208184 bytes) exceeds limit (4194304 bytes).
This can occur where a region has been given an (optional) maximum length in the scatter file, but this size of the code/data being placed in that region has exceeded the given limit. This error is suppressible with --diag_suppress 6220.
--diag_suppress 6220
For example, this might occur when using .ANYnum selectors with the ALIGN directive in a scatter file to force the linker to insert padding. You might be able to fix this using the --any_contingency option.
.ANYnum
num
ALIGN
--any_contingency
Fixed, it was a coding error. Variable declaration and initialization issues.
Glad you got it fixed, thanks for the update.