MCUXpresso SDK: GitHub + VS Code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCUXpresso SDK: GitHub + VS Code

MCUXpresso SDK: GitHub + VS Code

Overview

The MCUXpresso SDK 24.12.00 is fully hosted on GitHub. Users are able to clone the SDK and easily keep up to date with changes. Version control transparency allows users to review commits, tags, diffs, etc.

 

Source Control

The MCUXpresso SDK on GitHub is composed of multiple groups of software distributed among different repositories. The MCUXpresso SDK uses the popular west manifest to specify what software is included. This method of delivering software was inspired by Zephyr.

The manifests folder contains the manifest file to initialize and update the west workspace. In the mcuxsdk folder you'll find the MCUXpresso SDK source code, examples, middleware integration and script files. Both of these folders contain a .git directory that contains information to track changes, branches, and history of the project.

 

Visual Studio Code: CLI

To interact with the repo within VS Code through a CLI, open a Terminal. The Terminal can be opened from the menu in the top left of the screen. Alternatively, the Terminal and other monitors are hidden in a bar at the bottom of the screen. Navigate to the bottom of the screen, use the cursor to drag the bar and reveal the Terminal.

VSC-source-control-terminal.png

 

Once in the CLI, git commands can be run to track the status of the MCUXpresso SDK repositories.

VSC-source-control-terminal-commands.png

 

Visual Studio Code: GUI

The command line is useful for many things, however, sometimes a gui might be productive. The source control gui that VS Code provides can be accessed through the menu on the top left of the screen or in the extensions sidebar.

VSC-source-countrol-gui.png

 

The source control gui in Visual Studio Code contains three sections:

  • Source Control Repositories - These are the repositories that are currently visible to the workspace. Each repository contains a menu that allows the user to pull, push, navigate across branches, etc.

VSC-source-control-repos.png

VSC-source-control-checkout.png

 

 

  • Source Control - This tracks changes made by the user. Here, you will see staged changes, commits, etc.

*Note: Contribution to the MCUXpresso SDK is currently not open.

VSC-source-control-view.png

 

 

  • Source Control Graph - This provides a comprehensive overview of the project. The graph shows a representation of commits and their related data. The image below shows the source control graph for the MCUXpresso SDK. Hovering over a commit will show the author, commit date, documentation messages, and the commit ID.

VSC-source-control-graph.png

 

 

 

Viewing Changes to source

One of the main benefits of hosting the MCUXpresso SDK on GitHub is that enables better project management. Users now have access to the entire MCUXpresso SDK project history.

Navigate to the Source Control Graph view and select any entry. Doing so will open the diff view highlighting the changes across the modified files in the commit.

VSC-source-control-diff.png

 

 

 

 

 

%3CLINGO-SUB%20id%3D%22lingo-sub-2037409%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMCUXpresso%20SDK%3A%20GitHub%20%2B%20VS%20Code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2037409%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%0A%3CP%3E%3CSTRONG%3EOverview%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EThe%20MCUXpresso%20SDK%2024.12.00%20is%20fully%20hosted%20on%20GitHub.%20Users%20are%20able%20to%20clone%20the%20SDK%20and%20easily%20keep%20up%20to%20date%20with%20changes.%20Version%20control%20transparency%20allows%20users%20to%20review%20commits%2C%20tags%2C%20diffs%2C%20etc.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSTRONG%3ESource%20Control%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20MCUXpresso%20SDK%20on%20GitHub%20is%20composed%20of%20multiple%20groups%20of%20software%20distributed%20among%20different%20repositories.%20The%20MCUXpresso%20SDK%20uses%20the%20popular%20west%20manifest%20to%20specify%20what%20software%20is%20included.%20This%20method%20of%20delivering%20software%20was%20inspired%20by%26nbsp%3B%3C%2FSPAN%3E%3CA%20class%3D%22reference%20external%22%20href%3D%22https%3A%2F%2Fgithub.com%2Fzephyrproject-rtos%2Fzephyr%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EZephyr%3C%2FA%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20%3CSTRONG%3E%3CEM%3Emanifests%3C%2FEM%3E%3C%2FSTRONG%3E%20folder%26nbsp%3Bcontains%20the%20manifest%20file%20to%20initialize%20and%20update%20the%20west%20workspace.%20In%20the%20%3CSTRONG%3E%3CEM%3Emcuxsdk%3C%2FEM%3E%3C%2FSTRONG%3E%20folder%20you'll%20find%20the%20MCUXpresso%20SDK%20source%20code%2C%20examples%2C%20middleware%20integration%20and%20script%20files.%20Both%20of%20these%20folders%20contain%26nbsp%3Ba%20%3CEM%3E.git%3C%2FEM%3E%20directory%20that%20contains%20information%20to%20track%20changes%2C%20branches%2C%20and%20history%20of%20the%20project.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSTRONG%3EVisual%20Studio%20Code%3A%20CLI%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3ETo%20interact%20with%20the%20repo%20within%20VS%20Code%20through%20a%20CLI%2C%20open%20a%20Terminal.%20The%20Terminal%20can%20be%20opened%20from%20the%20menu%20in%20the%20top%20left%20of%20the%20screen.%20Alternatively%2C%20the%20Terminal%20and%20other%20monitors%20are%20hidden%20in%20a%20bar%20at%20the%20bottom%20of%20the%20screen.%20Navigate%20to%20the%20bottom%20of%20the%20screen%2C%20use%20the%20cursor%20to%20drag%20the%20bar%20and%20reveal%20the%20Terminal.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22VSC-source-control-terminal.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22VSC-source-control-terminal.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322347i69A51F1CC73EFC7A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22VSC-source-control-terminal.png%22%20alt%3D%22VSC-source-control-terminal.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EOnce%20in%20the%20CLI%2C%20git%20commands%20can%20be%20run%20to%20track%20the%20status%20of%20the%20MCUXpresso%20SDK%20repositories.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22VSC-source-control-terminal-commands.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22VSC-source-control-terminal-commands.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322349iCB0D4B062004C746%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22VSC-source-control-terminal-commands.png%22%20alt%3D%22VSC-source-control-terminal-commands.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSTRONG%3EVisual%20Studio%20Code%3A%20GUI%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EThe%20command%20line%20is%20useful%20for%20many%20things%2C%20however%2C%20sometimes%20a%20gui%20might%20be%20productive.%20The%20source%20control%20gui%20that%20VS%20Code%20provides%20can%20be%20accessed%20through%20the%20menu%20on%20the%20top%20left%20of%20the%20screen%20or%20in%20the%20extensions%20sidebar.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22VSC-source-countrol-gui.png%22%20style%3D%22width%3A%20827px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22VSC-source-countrol-gui.png%22%20style%3D%22width%3A%20827px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322351i8AA2EC1E461967A0%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22VSC-source-countrol-gui.png%22%20alt%3D%22VSC-source-countrol-gui.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThe%20source%20control%20gui%20in%20Visual%20Studio%20Code%20contains%20three%20sections%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3ESource%20Control%20Repositories%3C%2FSTRONG%3E%20-%20These%20are%20the%20repositories%20that%20are%20currently%20visible%20to%20the%20workspace.%20Each%20repository%20contains%20a%20menu%20that%20allows%20the%20user%20to%20pull%2C%20push%2C%20navigate%20across%20branches%2C%20etc.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-align-center%22%20style%3D%22text-align%3A%20center%3B%22%20style%3D%22text-align%3A%20center%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22VSC-source-control-repos.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22VSC-source-control-repos.png%22%20style%3D%22width%3A%20735px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322356i3A1D080CFD6D2C08%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22VSC-source-control-repos.png%22%20alt%3D%22VSC-source-control-repos.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22VSC-source-control-checkout.png%22%20style%3D%22width%3A%20630px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22VSC-source-control-checkout.png%22%20style%3D%22width%3A%20630px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322354iCCBCC72AED03FED0%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22VSC-source-control-checkout.png%22%20alt%3D%22VSC-source-control-checkout.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3ESource%20Control%3C%2FSTRONG%3E%20-%20This%20tracks%20changes%20made%20by%20the%20user.%20Here%2C%20you%20will%20see%20staged%20changes%2C%20commits%2C%20etc.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-align-center%22%20style%3D%22text-align%3A%20center%3B%22%20style%3D%22text-align%3A%20center%3B%22%3E%3CFONT%20color%3D%22%23FF0000%22%3E*Note%3CFONT%20color%3D%22%23000000%22%3E%3A%20Contribution%20to%20the%20MCUXpresso%20SDK%20is%20currently%20not%20open.%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%20style%3D%22text-align%3A%20center%3B%22%20style%3D%22text-align%3A%20center%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22VSC-source-control-view.png%22%20style%3D%22width%3A%20510px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22VSC-source-control-view.png%22%20style%3D%22width%3A%20510px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322355i944F5FFD04DDCD9D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22VSC-source-control-view.png%22%20alt%3D%22VSC-source-control-view.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%20style%3D%22text-align%3A%20center%3B%22%20style%3D%22text-align%3A%20center%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%20style%3D%22text-align%3A%20center%3B%22%20style%3D%22text-align%3A%20center%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3ESource%20Control%20Graph%26nbsp%3B%3C%2FSTRONG%3E-%20This%20provides%20a%20comprehensive%20overview%20of%20the%20project.%20The%20graph%20shows%20a%20representation%20of%20commits%20and%20their%20related%20data.%20The%20image%20below%20shows%20the%20source%20control%20graph%20for%20the%20MCUXpresso%20SDK.%20Hovering%20over%20a%20commit%20will%20show%20the%20author%2C%20commit%20date%2C%20documentation%20messages%2C%20and%20the%20commit%20ID.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-align-center%22%20style%3D%22text-align%3A%20center%3B%22%20style%3D%22text-align%3A%20center%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22VSC-source-control-graph.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22VSC-source-control-graph.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322416i98F124E94EB58D51%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22VSC-source-control-graph.png%22%20alt%3D%22VSC-source-control-graph.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSTRONG%3EViewing%20Changes%20to%20source%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EOne%20of%20the%20main%20benefits%20of%20hosting%20the%20MCUXpresso%20SDK%20on%20GitHub%20is%20that%20enables%20better%20project%20management.%20Users%20now%20have%20access%20to%20the%20entire%20MCUXpresso%20SDK%20project%20history.%3C%2FP%3E%0A%3CP%3ENavigate%20to%20the%20Source%20Control%20Graph%20view%20and%20select%20any%20entry.%20Doing%20so%20will%20open%20the%20diff%20view%20highlighting%20the%20changes%20across%20the%20modified%20files%20in%20the%20commit.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22VSC-source-control-diff.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22VSC-source-control-diff.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322417iB48E9935737EB8EE%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22VSC-source-control-diff.png%22%20alt%3D%22VSC-source-control-diff.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2037409%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EMCUXpresso%20for%20VS%20Code%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMCUXpresso%20SDK%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎02-11-2025 12:14 PM
Updated by: