By default, most of the code examples that comes with ModusToolbox, including the 'Hello World', use the psoc6_02_cm0p_sleep.c. The secure image is only used by the PSoC 64 series.
If you want to customize the CM0+ code, you can refer to this AppNote:
Can you confirm me if i understand correctly, is need only insert these 4 line on the Makefile ?
So the core M0p execute the file main_m0p.c and the core M4 execute the file main_m4p.c , is corrects ?
Not necessary. You could define any name for the APPNAME in the CM4 makefile. Preferably, you could define the APPNAME=cy_m0p_image for the CM0+ makefile, so there is no need to customize the linker script (see section 188.8.131.52 and 4.1.3 AppNote for details).
To make easier, you can start a project from one of our dual-cpu code examples: