Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CMSIS configurator MCC-LIKENew to Visual Studio Code? Get it now.
CMSIS configurator MCC-LIKE

CMSIS configurator MCC-LIKE

Rodrigo Britto

|
15 installs
| (0) | Free
PIC32CM peripheral, pin, clock and CMSIS configuration inside VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CMSIS configurator MCC-LIKE for VS Code

Configure PIC32CM peripherals, pins, clocks, and CMSIS projects in a VS Code editor tab. The extension includes its own copy of the Python 0.11.0 generator and uses the same project format as the desktop configurator.

Install and open

  1. In VS Code, choose Extensions → ⋯ → Install from VSIX… and select the package in the project's dist/ folder.
  2. Open a trusted project folder.
  3. Run MCC-LIKE: Open configurator from the Command Palette.
  4. Choose New project or use Open project to load an existing .h3.json file.

You can also open a .h3.json file from its context menu in the Explorer.

Features

  • Browse 73 PIC32CM part numbers across nine families, including PV20 beta. Filter by family or availability and see which packs and tools each device needs.
  • Create, open, save, and generate projects compatible with the desktop configurator.
  • Select and configure components in a graph that saves node positions. Browse hierarchical properties, internal symbols, and calculated values.
  • Inspect the device package and signal matrix. Configure GPIO, aliases, pull resistors, and pin multiplexing.
  • Configure clocks, interrupts, DMA, watchdogs, and other device settings.
  • Generate optional MCC compatibility code, delay_ms and delay_us, USART stdio and printf support, and interrupt callbacks.
  • Review required RTE components, select Microchip debug probes, and set the SWD clock.
  • Preview generated source files and open them in the VS Code editor.
  • Use Diagnostics to inspect setup and generation logs in the Output panel. Restore the last session after reopening VS Code.
  • Use the interface in English by default or select Portuguese from the language menu.

The package diagram follows the pin order in the device pack. Pack-supplied text uses the vendor's language. For PV20 beta Touch and CLB configuration, use the vendor tools. Some peripheral modes require initialization in user_peripherals/.

Compilers

New project → Compiler defaults to GCC (Arm GNU Toolchain). AC6 (Arm Compiler 6) is also available. To switch an existing project, choose a compiler under RTE / CMSIS → Compiler, then save or generate the project. Existing projects use their saved compiler. Legacy projects without a recorded selection use AC6.

The .h3.json file stores the selection. It determines the compiler in the CMSIS solution, the tool in vcpkg-configuration.json, the DFP startup and linker files, and the printf retargeting implementation. The directories tmp/AC6, tmp/GCC, out/AC6, and out/GCC separate build caches and outputs so you can switch compilers without a manual cleanup.

GCC uses Arm GNU Toolchain 14.3.1 with newlib-nano and routes printf through _write to the selected USART. The linker reservation bounds the heap. AC6 uses the Arm C library retargeting implementation. Regeneration protects main.c, callbacks, and manually edited startup files.

When you create, open, or generate a GCC project, or switch a project to GCC, the extension requests the exact compiler version through acquirePackages. Arm Tools Environment Manager reuses its cache or downloads the missing compiler on Windows and Linux. Its default cache is %USERPROFILE%\.vcpkg on Windows and ~/.vcpkg on Linux. Set environment-manager.vcpkgRoot to use a different location.

Open the generated solution in Arm CMSIS Solution to activate the cached compiler for the build. To retry a failed download, select GCC again. Set cmsisMcc.autoInstallDependencies to false to manage installation manually. Arm Tools Environment Manager API · CMSIS solution format · Newlib system calls

Dependencies and tools

  • Arm Tools Environment Manager (arm.environment-manager) is the VS Code extension dependency. It installs the GCC toolchain used by generated projects.
  • Python 3.10 or later runs the generator. Set cmsisMcc.pythonPath if automatic detection misses your installation. A standard Python installation is sufficient for the VS Code interface.
  • Arm CMSIS Solution provides the build, programming, debugging, and RTE commands for generated solutions. Install it separately to use those commands.

The VSIX bundles the extension and generator code. The configurator prepares missing Java, Harmony CSP, and the generator runtime when it opens in a trusted workspace. It installs missing public device packs when you create or open a project. The managed setup can run independently of MPLAB X.

Use Installation / Packs or the cmsisMcc.* settings to configure Python, packs, CSP, MCC Core, and Java. The tool fields show a configured, detected, or suggested path, and you can edit them directly.

Suggested paths

Component Windows Linux
Private tools %LOCALAPPDATA%\CMSIS-Configurator\tools $XDG_DATA_HOME/cmsis-configurator/tools or ~/.local/share/cmsis-configurator/tools
CMSIS packs %LOCALAPPDATA%\Arm\Packs ~/.cache/arm/packs
Java, relative to the tools folder java\bin\java.exe java/bin/java
CSP, relative to the tools folder csp\v3.26.0 csp/v3.26.0
Runtime, relative to the tools folder runtime\2.7.0-2.3.23 runtime/2.7.0-2.3.23

CMSIS_PACK_ROOT takes precedence over the default pack directory. Use an absolute XDG_DATA_HOME on Linux. Set cmsisMcc.toolsRoot to choose a different tools folder. The extension also detects and reuses managed installations from version 0.1.2 in globalStorage/tools.

Supported devices

The catalog lists all supported devices, including those that still need packs. The Ready to create filter shows devices that can be used immediately. Device names and packages come from PDSC and ATDF metadata.

PIC32CM family Part numbers Reference DFP
JH 24 PIC32CM-JH_DFP 1.7.296
LE 8 PIC32CM-LE_DFP 1.4.336
LS 11 PIC32CM-LS_DFP 1.4.351
MC 4 PIC32CM-MC_DFP 1.5.244
PL 11 PIC32CM-PL_DFP 1.5.437
GV 6 PIC32CM-GV_DFP 1.3.47
PV20 (beta) 3 PIC32CM-PV_DFP 1.0.37
GC00 3 PIC32CM-GC00_DFP 1.0.27
SG00 3 PIC32CM-SG00_DFP 1.1.56

Automatic setup

  1. Open the configurator and follow setup progress. The welcome screen shows the suggested paths. After a network failure, use Install tools now / retry in Installation / Packs. You can continue browsing the catalog.
  2. Under New project, select a part number and click Install and create. If the tools are already available, click Create project. Opening an existing project prepares its dependencies before loading. Install dependencies prepares the selected device's tools independently of project creation.
  3. Follow the progress notification or open Diagnostics. The first setup can take several minutes. If the network or proxy interrupts a download, fix the connection and retry. The installer reuses verified downloads.
  4. For PV20 beta, choose Import packs… and select the .pack or .atpack files supplied by Microchip. Import Microchip::PIC32CM-PV_DFP@1.0.37 and Microchip::CMSIS-Driver_PIC32CM-PV@1.0.3 for new projects. Existing projects can still use the previous pair (DFP 1.0.26 and driver 1.0.0). PV20 uses the pack's CMSIS/PLIB backend and works independently of CSP and Java.

For JH, LE, LS, MC, PL, GV, GC00, and SG00, setup installs missing components from these sources.

  • The family DFP and, for PL, Microchip::CMSIS-Driver_PIC32CM-PL@1.3.4 go into the selected CMSIS pack directory. Microchip pack repository
  • Harmony CSP 3.26.0 supplies the peripheral templates. Harmony CSP 3.26.0
  • Jython Standalone 2.7.0 and FreeMarker 2.3.23 from Maven Central supply the generator runtime in place of a full MCC Core installation.
  • Eclipse Temurin Java 8 is installed privately on Windows x64 or Linux x64/ARM64 with glibc. Setup selects the correct ZIP or TAR.GZ and uses standard user permissions. Eclipse Temurin archives

The installer verifies downloads with SHA-256, extracts into temporary directories, and activates the tools after validation. On Linux, extraction preserves executable permissions and copies validated internal link targets into the installation. Vendor license files are retained. Java configuration is scoped to the configurator.

Automatic setup is enabled by default. To manage tools manually, set cmsisMcc.autoInstallDependencies to false and reload the VS Code window. On other platforms, configure a compatible Java executable manually. Downloads use HTTPS and honor the proxy settings detected by Python, including HTTPS_PROXY and HTTP_PROXY.

Pack discovery checks cmsisMcc.packRoot or CMSIS_PACK_ROOT, the standard Arm pack directory, .mchp_packs, MPLAB X pack directories, and the configurator's local cache. Diagnostics reports the directories checked, the families found, and the number of devices ready to use.

Build and debug

After successful generation, VS Code opens the project folder in the current window and the configurator reloads the project automatically. Then select the generated solution in Arm CMSIS Solution. The configurator's Build, Load, Load & Run, Load & Debug, Attach Debugger, and RTE actions invoke that extension's commands for its active solution.

Project data and recovery

Closing the tab keeps the session in the extension process. Completed edits are checkpointed in the extension's storage, and reopening VS Code offers to restore them. Apply any pending form changes before closing the window.

Saving or generating writes to the project folder you chose. If another process edits the .h3.json file, reopen the project before saving or generating. The generator protects the manifest and user-owned files during regeneration.

Development

Open the repository in VS Code and press F5 to start an Extension Development Host. The extension uses JavaScript and native Node.js APIs.

python scripts/translations.py
python -m unittest discover -s tests -p "test_*.py" -v
node --test tests/bridge.test.js
python scripts/package.py

The local packaging script builds a VSIX in dist/ for private installation.

Marketplace packaging

The publisher ID is RodrigoBritto, and the extension ID is RodrigoBritto.cmsis-configurator-mcc-like. In the Marketplace publisher portal, select this publisher and the Visual Studio Code extension type.

Build Marketplace packages with the official VS Code packaging tool.

npx @vscode/vsce package --no-dependencies --allow-missing-repository --out dist/RodrigoBritto.cmsis-configurator-mcc-like-0.1.6.vsix

The author must choose a distribution license. The previous corrective package was built with --skip-license. The older cmsis-configurator-mcc-like-0.1.0.vsix uses publisher ID rfbri and is treated by VS Code as a separate extension.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft