Hello,
I would recommend o this case to create a project on the CM4 core as a "slave" project this can be configured on the MCUXpresso and the CM7 project as a "master" (see image attached).
Also on the MCUXpresso User Guide on the chapter 20. Multi core Projects is explain how to link this project in order to make them work.
nxf77486_0-1702931371847.png
Please let me know if you have any question.