MCUXpresso SDK is a comprehensive software enablement package designed to simplify and accelerate application development with Arm® Cortex®-M-based devices from NXP, including its general purpose, crossover and Bluetooth™-enabled MCUs. This project provides an alternative way for user to achieve the source code of MCUXpresso SDK besides SDK builder and MCUXpresso IDE.
The whole MCUXpresso SDK delivery is composed of separate project/repo deliveries. The idea we split the whole SDK delivery to separate projects/repos is inspired by Zephyr, and the projects are split following below rules:
In this way we want to benefit user from below aspects:
We also uses Zephyr west tool to do multi-repository management, it allows user to self create west.yml
to select needed projects for downstream use.
This mcux-sdk project/repo provides the fundamental support for all NXP hot parts:
The project can work solely, if you only want to get the fundamental support for SoC(s) or board(s), you just use the original Git way to clone and checkout the project.
The project is also the main repository to achieve the whole SDK delivery, it contains the west.yml which keeps description and revision for other projects in the overall MCUXpresso delivery. Not all MCUXpresso SDK middleware are available in this MCUXpresso SDK Github delivery, checking west.yml for each release you will see the available middleware included in the release. The superset of available middlewares is listed as below for your information:
You need to have both Git and West installed in order to get a new delivery of the whole SDK or update the existing SDK deliveries. Follow below guide according to your scenario:
Clone/check-out a new delivery of whole SDK
Execute below commands to achieve the whole SDK delivery at revision ${revision}
and place it in a folder named mcuxsdk
west init -m https://github.com/NXPmicro/mcux-sdk --mr ${revision} mcuxsdk
cd mcuxsdk
west update
Replace ${revision}
with any SDK revision(branch/tag/commit SHA) you wish to achieve. This can be main
if you want the latest state, or any commit SHA or tag.
Update existing west cloned SDK whole delivery
Assume you have followed previous commands to clone/check-out whole SDK delivery to the west workspace mcuxsdk, then the main repository of SDK is located in mcuxsdk/core. If you would like to update/check-out to another revision, you need to first update the main repository to the expected revision, then update the west workspace:
When you would like to update SDK full delivery in the latest branch of main repository, follow below commands:
cd mcuxsdk/core
git pull
west update
If the ${revision}
is different revision from that used in main repository, such as different branch, different tag or different commit SHA, you could follow below commands:
cd mcuxsdk/core
git fetch
git checkout ${revision}
west update
There are two types of release in the project. The MCUXpresso SDK release and GitHub Main SDK release. Below description uses MCUX release short for MCUXpresso SDK release, use Main release short for GitHub Main SDK release. Note currently we only have MCUX releases.
The MCUX release launches once a new release is available on SDK Builder. Users previously using SDK Builder could easily find the exact same code base MCUX release with same 2.x.y version of SDK archive package, software examples build/run quality are guaranteed in the release. MCUX releases will be prefixed with 'MCUX_', and every release will be merged into main branch to ensure main branch has all released boards/socs support.
The "MCUX_" releases are categorized into mainline releases and NPI release.
Each MCUX release is made on previous mainline release tag/NPI release tag, thus user could easily check the difference between two releases using git diff
command.
The Main release is a regular release made in main branch. It releases the latest code base and feature set on main branch, which is expected to include all the previous 'MCUX' release content and new enablement on main branch for NXP hot parts. **Main releases will be prefixed with 'MAIN'**.
Below figure takes 2.9.0 and 2.10.0 release as an example to show the relationship between MCUX release and Main release.
Tools
For version of the tool used, please check the release notes for each release.
Systems
See Supported development systems for the list of boards/socs currently support in this project.
See Getting Start Guide to start explore the project.
Most of software in the project is open-source and licensed under BSD-3-Clause, see COPYING_BSD-3. Whole license information for the project could be found in SW-Content-Register.txt
Contributions are greatly welcomed! For detail guideline of contribution please check Contribution Guide.