Hi,
How do I add data values to a section in the linker file? In gcc based linker files this is solved by LONG and BYTE etc but I have not been able to get it work with TI toolchain. I hope to avoid having to put the static data in .c files in specific segment and then link the output to the target section.
I was hoping that a syntax like this would be possible:
SECTIONS
{
.example_section: ALIGN(4), START(section_start), END(section_end), FILL=0x1234ABCD > FLASH
{
BYTE(0x23)
LONG(section_start)
LONG(section_end)
. += EXAMPLE_SECTION_FILL_LEN;
}
}
So how do I do this with TI toolchain? So far I have looked in TI_ARM_AssemblerManual.pdf, is there any better documentation please let me know.
BR,
/Johannes