Posts tagged section

Allocate Code and Data to Specific Memory Sections

There was a question in our support channel about the memory sections from an external library. The colleague was trying to understand how the different sections were defined for the library and how they were placed in memory. When checking the linker configuration file (*.lsl) the observation was that the memory sections for:

all the objects for our code, the section pattern was .<type>.<filename>.<symbol>. For example, select .text.component.main or select .data.component.my_var.

Read more ...