Hi all,
I try to put a const array in a self-defined memory section (see
hereafter) used originally to put code but I obtained a “section type
conflict”.
I can’t understand why.
Any help will be appreciated
Fred
-----------------------------------------------------------------
Code:
#define __downloader_area__ __attribute__ ((section(".downloader")))
const Byte1_t __downloader_area__ gb1PdaMessageLength[29];
Linker:
MEMORY
{
…
downloader (rx) : ORIGIN = 0x2500, LENGTH = 0x0b00
…
}
SECTIONS
{
…
.downloader :
{
. = ALIGN(2);
PROVIDE (__downloader_start = .) ;
*(.downloader)
PROVIDE (__downloader_end = .) ;
} > downloader
…
}
-----------------------------------------------------------------
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.3 - Release Date: 5/3/2005