Install CMSIS Device Pack
After the MDK tools are installed, Cortex® Microcontroller Software Interface Standard (CMSIS) device packs must be installed to fully support the device from a debug perspective. These packs include things such as memory map information, register definitions and flash programming algorithms. Follow these steps to install the appropriate CMSIS pack. Please use MDK-Arm Microcontroller Development Kit (Keil)® version 5.38.1 or above.
- Open the MDK IDE, which is called µVision. Inside the IDE, select the "Pack Installer" icon

- In the Pack Installer window, search for "MCXW" to bring up the MCXW71 family. Click on the MCXW7XX name, and then in the right-hand side you'll see the NXP:
MCXW71_DFP pack. Click on the "Install" button next to the pack. This process requires an internet connection to successfully complete
- After the installation finishes, close the Pack Installer window and return to the µVision IDE
Build the Example Application
The following steps will guide you through opening the hello_world application. These steps may change slightly for other example applications as some of these applications may have additional layers of folders in their path.
-
If not already done, open the desired demo application workspace in:
<install_dir>/boards/<sdk_board_name>/<example_type>/<application_name>/mdk
- Select Debug configuration

- Do right-click on the project and select the project options:

- Now, go to the Debug option and select CMSIS-DAP ARMv8-M Debugger. Click on the OK button

- To build the demo project, select the "Rebuild" button, highlighted in red

- The build will complete without errors