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 TI ARM Linker Allocating Too Much SRAM

Other Parts Discussed in Thread: TM4C123GH6PM

I'm building a CSS project for a TM4C123GH6PM microcontroller using FreeRTOS and am currently trying to figure out why the linker is allocating nearly 30kB for the .bss heap when I've explicitly specified a flag that sets the heap size to 0. Has anyone encountered this issue or found a way for explicitly setting the size of this section of SRAM?

I have attached my linker map file to this post. I appreciate any help that can be provided!

Chris

  • ... CCS TI ARM Linker Allocating Too Much SRAM

    It does so on behalf of the source code - in this case, your FreeRTOS code. Check your "FreeRTOSConfig.h" file somewhere in your project, which usually enables/disables the features included in your build. To make founded changes, you probably need to consult the FreeRTOS documentation, and your requirements.

    And to view the results, generate a map file and check the sizes of your sections.