This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ## Sections in RAM */ | |
/* ### Veneer code */ | |
/* Our real interrupts are here now */ | |
/* This only neeeds to start at 0x2000 000C, but that complicates linking */ | |
/* And the space isn't that useful, so we just fill it up in asm */ | |
.veneer : ALIGN(4) { | |
. = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ | |
KEEP(*(.__XmcVeneerCode)); | |
. = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ | |
} > RAM AT > FLASH | |
/* ### .data */ | |
.data : ALIGN(4) | |
{ | |
*(.data .data.*); | |
. = ALIGN(4); /* 4-byte align the end (VMA) of this section */ | |
} > RAM AT > FLASH | |
/* VMA of .data */ | |
__sdata = ADDR(.veneer); | |
__edata = ADDR(.data) + SIZEOF(.data); | |
/* LMA of .data */ | |
__sidata = LOADADDR(.veneer); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment