I've defined the following in a C++ file and it isn't referenced by anything. I'm just trying to configure the 16 bytes used by the Kinetis K64 flash protection mechanism..
Code
static const U8 _flash_protection[] __attribute__ ((section(".flash_protection"))) =
{
0xDE, 0xAD, 0xDE, 0xED,
0xDE, 0xAD, 0xDE, 0xED,
0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF,
};
I'd like to place it at 0x400 but this doesn't seem to work:
Code
<ProgramSection alignment="4" load="Yes" keep="Yes" name=".flash_protection" start="0x400" size="16" />
It seems to work fine for my vector placement:
I'm using MacOS SES 4.10a.
Thanks.