As the support for MCUXpresso IDE as GUI and toolchain will be stopped and will be replaced by MCUXpresso for Visual Studio Code, I am sharing here some essential steps to start development on Visual Studio Code and MCUXpresso plugin.
Preparation:
- MCUXpresso for VS Code is installed as an extension inside Microsoft VS Code - see https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools...
- The rest of the toolchain including ARMGCC, west and other tools which work with MCUX for VS Code installation is available via MCUXpresso SDK option of the MCUXpresso Installer: https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools...
- See also generic Getting Started Guide for MCUX SDK with MCUX for VS Code at: https://mcuxpresso.nxp.com/mcuxsdk/latest/html/gsd/run_a_demo_using_mcuxvsc.html
Here I will provide the procedure to import the loc_reader example from the repository.
Import the repository:
The recommended approach is to import REMOTE ARCHIVE which has a similar environment as the legacy MCUXpresso IDE. Here I will provide the procedure to import the loc_reader example from the repository
- From the MCUXpresso plugin, select "Import Repository", then in the "REMOTE ARCHIVE" tab, select the board, the SDK version and the location:

- Wait for the repository to be imported, this procedure can take several minutes.
- Once the import is succeed, it will appear here:

Import demo projects and run:
- Once the repository is successfully imported, you can then import demo examples from the repo by selecting "Import Example from Repository":
then select the demo example from "Template".
- "AppType" should be "Freestanding application" if you want a standalone project.
- "Location" is where the project will be located.
- "Toolchain" should be the Arm GNU one that you installed in preparation steps
- Build and run the imported project:
