Hi,
I am trying to run a code on MCUXpresso with a LPC4088 board. After enabling the "Enable Link-time optimization" option, I am getting this error: 'menuLine' causes a section type conflict with 'Colori'.
This is how I have these two defined:
GUI_RECT menuLine __attribute__((section(".SPIFI")))=
{
0,
25,
480,
25,
};
const GUI_COLOR Colori[MAX_SFONDI][9] __attribute__((section(".SPIFI")))={{...},{...},{...}}
I would appreciate if someone can help me solving this issue.
> After enabling the "Enable Link-time optimization" option, I am getting this error: 'menuLine' causes a section type conflict with 'Colori'.
Perhaps the SPIFI section is too small in this case, for whatever reason.
I would compare the map files for both cases (with optimization and without), especially the symbols in question.