I have an LPC54102 dual core project the I have been developing for quite some time now.
The M4 is executing its code from FLASH but the M0 slave has been copying its code to SRAM and executing from there. The M0 code base is getting large and I am running out of RAM. I would like to re-configure to executing both M4 and M0 processors from FLASH.
I see that in MCUxpresso linker Multi-core options I can change this. (In the attached image, I changed the "Master memory region" to "Flash"). However, if I change this option, I then get a compiler error:
c:/nxp/mcuxpressoide_11.6.1_8255/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.6.1.202207200623/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ./startup/boot_multicore_slave.o: in function `boot_multicore_slave':
C:\Git_Repos\Sonic\lpc-detector\R225_CM4_MASTER\Release/../startup/boot_multicore_slave.c:98: undefined reference to `__core_m0slave_START__'
M
What else do I need to need to change to make this work?
Thank you for your help.