Open and migrate example
The MSDK contains examples for each microcontroller that demonstrate the usage of peripheral APIs and other supported libraries. These examples are provided as reference.
Duplicate the Example Folder
Warning
We strongly recommend copying the example projects before modifying any files to preserve the original examples.
- Open a file explorer.
- Navigate to your installation directory > SDK > MAX
- Copy the Examples folder to the desired location.
- You can now open an example project in a single folder workspace or a multi folder workspace.
Open in a single folder workspace
- Launch an instance of VS Code.
- Click on the Explorer icon in the VS Code activity bar.
- Click the Open Folder button.
- Navigate to the location where you saved the example projects.
-
Select the example project to open, and click Add.
Tip
If you receive the notification Do you trust the authors of the files in this folder?, check the box labeled Trust the authors and click Yes, I trust the authors.
-
If the project needs to be migrated to a CodeFusion Studio Project, a notification prompt will appear asking you to migrate.
- Confirm the project has been migrated by expanding the
.vscode
folder and verifying the backup folder containing MSDK settings is present.
Open in a multi folder workspace
- Launch an instance of VS Code.
- Click on the Explorer icon in the VS Code activity bar.
- Click the Open Folder button.
- Navigate to the location where you saved the examples.
-
Select two example projects to open, and click Add.
Warning
You must select two distinct projects, each containing a makefile at the highest level in their respective folder structure.
-
If the project needs to be migrated to a CodeFusion Studio Project, a notification prompt will appear asking you to migrate. Click Migrate to continue.
-
Confirm the project has been migrated by expanding the
.vscode
folder and verifying the backup folder containing MSDK settings is present.