The Application Code Hub (ACH) is a repository that contains software examples, code snippets, application software packs and demos developed by NXP experts.
ACH provides filter and search options to quickly find specific applications. With the support of Git capabilities, there is an easy way to import and use applications within IDE and tool environments.
The Application Code Hub is accessible directly from MCUXpresso for Visual Studio Code and MCUXpresso IDE.
MCUXpresso for Visual Studio Code
To access the Application Code Hub, navigate to the QUICKSTART PANEL.
You can use the search bar and the filters to help you find a specific example for your application or hardware.
Once an example is selected the attached README file will open. This file will contain a description of the project as well as technical details.
To import the project, the name field will automatically populate with the example project's name. Designate a location to save the project and click the Import Project(s) button.
After, confirm the project and the toolchain at the top of the window as prompted.
If you are prompted to associate a repository, navigate to the PROJECTS section and add the device's SDK to the project.
To do this: right click on the project and select Configure > Associate Repository. A dropdown menu will appear on the screen. Select the device's SDK from there.
See the Getting Started guide if you have not yet imported the SDK.
You can now build the project. Navigate to the PROJECTS section and click the build button. The project should build successfully.
MCUXpresso IDE
To access the Application Code Hub, navigate to the QUICKSTART PANEL.
You'll notice that the UI is slightly different from MCUXpresso for VS Code. However, the search and filtering mechanisms are relatively similar.
To import an example project, simply click on GitHub Link and then the Next button. In the following window click Next to keep the default settings. After, select a destination to store the project and click Next. On the following window, select to import as an existing Eclipse project and click Next. Last verify the project and click Finish.
The project will be added to the Project Explorer view. To build simply select the project in the Project Explorer view and click build.
**Note** The build button can be found in the toolbar at the top, in the Quickstart Panel, or by right-clicking on the project.
查看全文