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.
MCUXpresso enables map file creation by default.
Useful in many instances.
Hi bamdadslr
We couldn't reproduce
Which demo code do you use? How to reproduce your issue?
Thanks,
Jun Zhang
Dear ZhangJenni,
It is not a demo example case, I am using my own code. Let me know if you need more details to help me out.