I'm trying to import the hello_world_ns example project from the mcuxsdk repository in MCUXpresso for VSCode. In the Import Example from Repository dialog box I select the SDK (I've tried both 25.6.0 and the latest 25.9.0) the MCIMX93-EVK board, trustzone_examples/hello_world_ns, Freestanding Application, the project name and location, and the toolchain Arm GNU 14.2.1. This is running on a Windows 11 PC.
After processing for several seconds, this give the popup message "Error: Failed to create freestanding example". When I look in the output tab under the MCUXpresso for VS Code filter, I get this output:
[2025-09-23T20:10:05.391] [proc] [info] Cmd: C:\Users\BluTether-NathanWolc\.mcuxpressotools\.venv\Scripts\activate.bat && python -m west --version
[2025-09-23T20:10:05.850] [proc] [info] Cmd: C:\Users\BluTether-NathanWolc\.mcuxpressotools\.venv\Scripts\activate.bat && python -m west export_app examples/trustzone_examples/hello_world_ns -b mcimx93evk -o c:\Users\BluTether-NathanWolc\MCUXpressoVSCode\projects\mcimx93evk_hello_world_ns3
[2025-09-23T20:10:07.928] [proc] [error] C:\Users\BluTether-NathanWolc\.mcuxpressotools\.venv\Scripts\activate.bat exited with code 1
[2025-09-23T20:10:07.928] [proc] [error]
FATAL ERROR: Cannot find any app match your input, please ensure following command can get a valid output
west list_project -p C:\Zephyr\nxp\mcuxsdk\mcuxsdk\examples\trustzone_examples\hello_world_ns -b mcimx93evk
[2025-09-23T20:10:07.928] [error] Failed to create freestanding example
I poked around at the command line and found that this is failing because the example.yaml file in mcuxsdk\examples\trustzone_examples\hello_world_ns\ expects the board parameter to be specified with the core ID, like -b mcimx93evk@cm33. If I manually run the west export_app command from the output tab log with this core ID added, the project is created and I can then import it into the projects tab in MCUXpresso for VSCode. At this point, if I run the build with the build button it will fail. I can get around this by manually building at the command line and tweaking whatever was wrong and the project will build. However, if I load this project onto the M33 with my MCU-Link Pro debugger, the app will hard fault when it tries to print.
Anyway, I can give more details of these later problems but it seems like I should not have to modify the example just to get it running. Am I doing something wrong here or is this just a bug in the build settings for these projects.
This same problem exists for all of the projects in the trustzone_examples subdirectory.
I looked at the example.yml files for some of the other not trustzone example projects and they do not specify the @cm33 core ID on the end of the board string. Is this just an oversight in the formatting of these example.yml files?
Hi
I tired to reproduce this issue on my side, but I didn't see trustzone_examples . only saw hello_world_cm33
Regards
Daniel