well, i just discovered a small bug in the code i uploaded ... as long as it's only tested with the mcuxpresso project debug upload, everything is fine ... as soon as it's power cycled, the slave code is lost, it never made it into flash
my m0 slave project only produces an *.axf file and no axf.o file which would be needed for the master
googling for hours, the only thing i could come up with on my own was the following :
1) create a new empty m0 slave C++ project, as empty as can be, un-check everything, and filling in the pre-processor directives as described will compensate for it
2) write down the pre-processor directives, includes from the C+ and C compiler, as well as the linker library settings from my org project and create the same settings in the newly created empty project
3) create the missing directories from my org project in the new one with new->source-folder and copy my files into them
4) delete the files in the new "source" folder and copy the ones from my org project into it as well as copy my startup files into the new startup folder
5) this should do it for the m0 slave part and an *.axf.o file should now be created after "project-build" in the debug folder
the m4 master part has a similar issue, that it doesn't copy the *.axf.o file into the project ... changing the property->settings->linker->multicore multicore-slaves is supposed to do it, but it didn't
therefore, repeat of the actions from above, and creating a new empty m4 master C++ project and continuing with the above mentioned steps should work ... yes when creating the new project, don't hit "final", go for the "next" choice and specify the location of the m0 slave project
this did it for me ...
since i couldn't find a way in mcuxpresso to create a working new C++ project (the startup files are missing), the above method of creating it and later copying my startup files into the startup folder does the trick
basically the startup files are identical to a newly created "C" project and can be used in a new "C++" project, which also enables the C++ compiles settings ... do not forget to rename the startup_xxx.c file to *.cpp, otherwise the C++ constructors and more will not work
sorry for me being lazy and not providing a corrected example, but the description above might be better for people to do some hands on work and understand some of the mechanics behind it ... again, sorry for me being lazy
cheers, Klaus