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/TMS570LS3137: Program Will Not Fit Into Available Memory .kernelHEAP

Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN,

Tool/software: Code Composer Studio

SECTIONS
{
    .intvecs : {} > VECTORS
    /* FreeRTOS Kernel in protected region of Flash */
    .kernelTEXT  align(32) : {} > KERNEL
    .cinit       align(32) : {} > KERNEL
    .pinit       align(32) : {} > KERNEL
    /* Rest of code to user mode flash region */
    .text        align(32) : {} > FLASH0 | FLASH1
    .const       align(32) : {} > FLASH0 | FLASH1
    /* FreeRTOS Kernel data in protected region of RAM */
    .kernelBSS    : {} > KRAM
    .kernelHEAP   : {} > RAM
    .bss          : {} > RAM
    .data         : {} > RAM    

/* USER CODE BEGIN (4) */
/* USER CODE END */
}

Hi I am getting program memory fit into available memory error for .kernelHEAP. I solved issue by changing below line.

.kernelHEAP : {} > RAM -----------> .kernelHEAP : {} > RAM | SDRAM   [ Also I do some changes on length and origin attributes in code in the part of Memory scope. ]

Is there an official solution or document that I can follow to approach differently to the issue? Also, I am curious how it can be optimized in professional level? Could you give a recommendation?

Thanks and Regards,