Secure CM33 project
Open the Options dialog. Go to the Target tab and select "Secure Mode" for Software model.

Switch to the User tab, enable the Run #1 check box located under After Build/Rebuild. Then, paste the following command as single line (edit paths as needed).
ide_postbuild.bat \"#L\"
Select Project > Build Target to build the project.
This will generate an object file that needs to be referenced in the non-secure project in the next set of steps.
The postbuild will fail with a message like:
: E : ERROR : File not found: "C:\examples\edge-uvision\PSOC_Edge_Hello_World\build\project_hex\proj_cm33_ns.hex". Check the log for details
Proceed to the next step to configure the cm33_ns project.