Configure CM4/CM7 (slave) core(s)
Select the CM4/CM7 core project and go to
Project > Options
:

On the dialog, select the
Debugger
category in the
Setup
tab, and then select the appropriate Driver (I-jet, CMSIS-DAP, J-Link):

Enable hex file generation.

In the
Runtime Checking > Output Converter
category, select the
Generate additional output
check box.
Ensure
Output format
is set to
Intel Extended hex
.
Click
OK
.
Repeat these steps for all CM4/CM7 projects.