Hi to you all,
I'm developing on a LPC4370 using LPC-Link2 as evaluation board.
I have a problem with the flash memory, as for my understanding it should be 1MB, but I can only use 19.80% of it.
Here's my memory configuration:

To specifically use the SPIFI section I allocate data this way:
__DATA(SPIFI) int32_t buffer1[BUFF_SIZE] = {0};
__DATA(SPIFI) int32_t buffer2[2*BUFF_SIZE] = {0};
The problem is that when the dimension exceeds roughly the 20% of the memory capacity, the linker start to put stuff in the much smaller RAM (RamLoc128), which easily overflows giving me the following error:
/usr/local/mcuxpressoide-11.1.1_3241/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.1.0.202001081728/tools/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld: s2d_single_core.axf section `.data' will not fit in region `RamLoc128'
/usr/local/mcuxpressoide-11.1.1_3241/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.1.0.202001081728/tools/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld: region `RamLoc128' overflowed by 19212 bytes

Any guess why I am unable to fully use the memory?
Thanks,
Andrea