Hi! I am getting started with multicore applications i using LPCXpresso4367. I found with MCUexpresso two examples - one is software for main M4 core, second is application for slave M0 core. I configured its according to:
but it not working - there is error " multiple definition of `main'" during build of main core project (multicore_mc_sa_blinky_m4) . Threre are two projects, so it must be two main functions. I tried to change name of main using pragma, no result.
Projects i found here:
Names of that projects are :
multicore_mc_sa_blinky_m0app
multicore_mc_sa_blinky_m4
My changes in propertis of [multicore_mc_sa_blinky_m4][ C/C++ Build][Setting][MCU Linker] - :
i selected M0APP as slave,
choosed Flash memory, and
selected file .o of slave application -blinky_m0.o
I missed something?
Hi, wojciech_pl_pl
I have reviewed the question you raised and tested it on the LPCXpresso LPC4337 evaluation board and using lpcopen_3_02_lpcxpresso_xpresso4337.
I can't repeat the programming problems you reported, so all I can do is offer some advice.
lpcopen_3_02_lpcxpresso_xpresso4337 Download link:https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/lpcopen-libr...
Xu Zhang