I have to put a variable (4 byte) on a specific place in flash e.g. 0x21000.
So I learned so far, that I have to create a seperate section in flash_placement.xml and use the __Attribute(section"....").
So far, so good.
The problem is, that I want to use the whole flash. So is it possible to define sections around which will fill seamlessly the space around the placed section?
Is it possible that the linker uses automatically 2 sections for code, e.g. .text .text2 without defining the functions placed in each section manually?
The other option I saw in the linker description is the following:
but this does not seem to work
The third option could be writing an own linker script with:
2.5.1 Placement by linker script
place at address 0x400 { symbol aConfig };
But how can I use a custom linker script with SES?
Can anyone help me?
So I learned so far, that I have to create a seperate section in flash_placement.xml and use the __Attribute(section"....").
So far, so good.
The problem is, that I want to use the whole flash. So is it possible to define sections around which will fill seamlessly the space around the placed section?
Is it possible that the linker uses automatically 2 sections for code, e.g. .text .text2 without defining the functions placed in each section manually?
The other option I saw in the linker description is the following:
but this does not seem to work
The third option could be writing an own linker script with:
2.5.1 Placement by linker script
place at address 0x400 { symbol aConfig };
But how can I use a custom linker script with SES?
Can anyone help me?