Content originally posted in LPCWare by kcarolan on Tue Apr 01 11:08:12 MST 2014
Thanks for the lead. It took a little modification from the example but it is now working.
Located in Source Code File
__attribute__ ((section(".myBuffer"))) const uint16_t myBuffer = 1234 ;
Added to the end of the SECTION part of the Linker Script File (ProjectName.ld)
.myBuffer : ALIGN(4)
{ *(.myBuffer)
} > MyBufferFLASH
Create an new section in the Linker Script File
MEMORY
{
MyBufferFLASH (rx) : ORIGIN = 0x7FFC, LENGTH = 0x4
}
Thanks, Kevin