OVT Explorer for VS Code — Embedded Development for VS Code
A VS Code extension that brings an integrated embedded development environment into the editor. Manage CMSIS-Pack based projects, configure ARM GCC toolchains, set up debug probes, and build/flash/debug your embedded targets — all without leaving VS Code.
Mainly update list:
version 0.0.8
- Documentation Page — New Documentation entry in the Quick Panel (right after "Manage project") opens a documentation page in the editor with chapter navigation, scroll-spy, keyword search and click-to-zoom screenshots; merges the original user manual with operation walkthroughs for every feature.
- Fix: Rename Project — Renaming a project no longer reloads the whole extension, no longer fails with
EBUSY on a second rename, keeps its file watcher, and remembers the new name after a window reload.
- Fix: Add PACK Modules EPERM — Removing or overwriting module folders now falls back to a shell delete, so locked directories no longer abort the update with
EPERM: Permission denied.
- Use an Existing JLink Install — When no JLink is registered yet, the Debug Probes view lists every install detected (read-only, newest first) under
C:\Program Files\SEGGER\* and C:\Program Files (x86)\SEGGER\*, with its version and an inline check action to adopt it in one click.
- Device Database Read from the Central Folder — The Flash Configuration device dropdown now merges the install directory with
%APPDATA%\SEGGER\JLinkDevices (J-Link V7.62+, recursive up to 4 levels, any file name), with the central folder winning on a name clash.
- Install Path Is Always Yours to Choose — Both install flows (
+ and Install Online) ask for a target directory instead of pre-filling C:\DebugTool\SEGGER, and remember the directory you picked last; a tool pointing at an external folder now has Reset Install Path on the row itself.
- Manage Project Is Now Tabbed — The separate Compiler Options and Include Directories windows are now tabs of one Manage Project panel (Basic / Compiler Options / Include Directories), Keil-style, so all project settings live in one place; Build / Clean / Debug / Flash moved out and stay on the Project Explorer.
- Clearer Names — The Quick Panel entry Import Repository is now Import Pack, and the toolchain view Properties is now ToolChain; only the labels changed.
- Fix: Settings Survive a Project Rename — The toolchain selection, debug probe selection and compiler options are remembered per project path, so renaming a project used to orphan them and silently fall back to defaults. The rename now carries all three over to the new path; renaming or moving the folder outside VS Code still needs them re-picked.
- Global Settings Page — A new Global Settings entry in the Quick Panel (right after "Manage project") opens one page with three tabs — ToolChain, Debug & Flash and Packs — holding the defaults every project starts from: the default toolchain plus compiler defaults (optimization level, warning level, C language standard, extra flags and defines), the default debug tool plus the flash download defaults, and the pack directory with the active pack versions. The values live in a real file,
<globalStorage>/global.json, instead of the extension's opaque global state, so they can be inspected and backed up; the configuration an older build kept in global state is copied into it on first run, and the old values are left in place. Projects follow the globals field by field until they override a value — Manage Project → Configuration shows where each value came from with per-field Override for this project / Use global, and Lock global configuration into this project snapshots the current values so later global edits no longer reach that project. The New Project wizard now preselects the global defaults as well.
- Debug & Flash Defaults Use the Real Device List — The old Debug Tool and Flash Defaults tabs are now a single Debug & Flash tab, and its Device and Probe fields draw on the same J-Link device database and detected serial numbers as the FLASH Configuration page instead of a free-text box, so the two pages can no longer disagree. Picking a device fills in its own flash base address, and a device that is no longer in the database stays selectable rather than being silently rewritten.
version 0.0.7
- Fix: Add PACK Modules Opened With Nothing Pre-Checked — The dialog now opens with the modules already in the project correctly pre-checked (
createQuickPick() ignores an item's picked flag, so the marking never applied and it always showed "0 selected"). This also restores the Select All / Deselect All buttons and keeps your choices across Refresh.
version 0.0.6
- Manage Project Dashboard — Redesigned "Manage Project" page with project info, statistics, and one-click access to Build/Clean/Debug/Flash/Include Dirs/Compiler Options/Add PACK Modules.
- Compiler Options Editor — New webview to customize optimization level, warning level, extra compiler flags, include paths, and preprocessor defines per project.
- Import Pack from Local Folder — Import installed packs from any folder; auto-scans all .pdsc files, supports multi-version and multi-pack directories.
- Import Toolchain from Local Folder — Right-click a toolchain entry to import from an existing folder; auto-detects ARM GCC installations.
- Custom Installation Directory — Toolchain and Debug Tool installation now prompts for a target directory instead of forcing C:\ToolChain or C:\DebugTool.
- Batch Remove Packs — Right-click a vendor::name group in Pack Manager to remove all versions at once.
- Fix: Build Output Auto-Scroll — Output window now correctly follows the latest compile line during builds.
- Fix: Debug Requires Second Click — Workspace and launch.json handoff timing improved so Cortex-Debug starts on first attempt.
- Fix: Close Project Button — Close Project now works reliably from tree item or current selection.
- Fix: Installed Packs Display — Pack Manager webview now correctly reflects installed packs.
- Fix: Memory Usage >100% — Flash/RAM percentage calculation now caps at >100% and filters out spurious small region matches.
- Fix: EPERM on Project Delete — Multi-level delete (Node fs + Windows shell fallback) prevents permission errors on locked files.
- Fix: Add PACK Modules TMU — Expanded driver directory detection to include TMU, peripheral, and module directories; added refresh button.
- Fix: Flash Erase Duplicate Button — Removed redundant Cancel button in erase confirmation dialog.
- New Project Device Search — Target device dropdown in New Project wizard now supports keyword filtering.
- Toolchain Duplicate Entry — Fixed duplicate display when importing from folder then installing to same directory; shallow root scan + binDir dedup.
version 0.0.5
- Import toolchain from an installed folder — "Import Toolchain from Folder" is now a dedicated toolbar button in the Properties view
- New Project device selection reaches variant (GVT) granularity — per-variant SVD, clock, and flash/RAM maps are honored
- Friendly toolchain names — folder-imported toolchains show a readable name (e.g. "Arm GNU Toolchain") instead of
bin / truncated folder names
- Build output automatically follows the latest compile line
- Add PACK Modules — "Select All" / "Deselect All" update checkboxes live and are mutually exclusive
Features
Project Explorer
- Create & Import Projects — Start a new embedded project from scratch or import an existing one, with a chip-aware project wizard that auto-discovers devices from installed CMSIS-Packs.
- File Operations — New file/folder, rename, delete, copy, cut, paste directly in the project tree.
- Build Exclusion — Toggle files or folders in/out of the build with a single click.
- Include Folder & Subfolders — Right-click a folder to recursively include it and everything beneath it, clearing all nested excludes in one step. A folder whose every child is included is automatically promoted to "included".
- Show in File Explorer — Right-click any file or folder to reveal it in the system file manager (Windows Explorer, macOS Finder, Linux file manager).
- Build Configurations — Switch between Debug/Release (or custom) build configurations with per-config exclude lists.
- Multi-Project Support — Manage multiple projects side-by-side in the Project Explorer view.
Project Configuration
- Manage Project — a single Keil-style panel with tabs: Basic (project info, source/header statistics, Target switcher, Add PACK Modules), Compiler Options, and Include Directories. It replaces the separate settings windows, so all project settings live in one place.
- Per-Project Settings — every option is written inside the project folder (
.ovt, .ovtinclude, Makefile), so projects stay independent of each other.
- Build & Deploy on the Explorer — Build, Clean, Debug, and Run stay on the Project Explorer toolbar; the Manage Project page is configuration only.
CMSIS-Pack Manager
- Import Packs — Import
.pack files (the ARM CMSIS standard format) to discover devices, boards, components, and middleware.
- Import from Local Folder — Select a folder containing pre-extracted CMSIS-Packs; auto-detects all
.pdsc files across multiple vendors and versions.
- Batch Removal — Remove all versions of a vendor::name pack in one action.
- Version Management — Install multiple versions of a pack, set an active version per vendor::pack, and switch between them.
- Pack Explorer — Browse installed packs, their families, sub-families, devices, and components in a dedicated tree view.
- Device Discovery — Automatically extract chip memory layouts, processor cores, debug algorithms, linker scripts, startup files, and SVD files from packs.
- Component Matching — Smart matching of pack components (startup, linker, drivers, CMSIS-DSP, FreeRTOS, TMU) to the selected target device.
- Module Refresh — Refresh button in the Add PACK Modules dialog to re-scan after installing new packs.
- ARM GCC Installation — Download and install the official ARM GNU Toolchain directly from developer.arm.com.
- Custom Directory — Choose any installation directory; not limited to C:\ToolChain.
- Local Install — Install a toolchain from a local ZIP file with user-selected target directory.
- Import from Local Folder — Right-click a toolchain entry to import from a pre-existing folder; auto-detects ARM GCC installations via
bin/arm-none-eabi-gcc.
- Version Detection — Auto-detects installed toolchain versions (arm-none-eabi-gcc, etc.) in custom directories.
- Duplicate Prevention — Shallow root scanning and binDir dedup prevents the same toolchain from appearing twice.
- Per-Project Selection — Assign a specific toolchain installation to each project.
- Compiler Configuration — Configure build/clean scripts, output directory, parallel jobs, verbose mode, extra paths, and environment variables.
- Compiler Options Editor — Per-project override of optimization level, warning level, extra compiler flags, include paths, and preprocessor defines.
Debug Probe Support
- SEGGER JLink — Download from segger.com and install it into a directory you pick; the extension auto-detects the version and connected probe serials.
- Use an Existing Install — when no JLink is registered yet, the Debug Probes view lists (read-only, newest first) every copy it finds under
C:\Program Files\SEGGER\* and C:\Program Files (x86)\SEGGER\*, each with its version and an inline check action. One click on Use This Install makes it the active install; nothing is registered until you click.
- NXP LinkServer — Install and manage NXP debug probes.
- PEmicro — Install and manage PEmicro debug probes.
- Flash Configuration — Configure interface (SWD/JTAG), speed, target device, base address, erase/verify/reset options, and JLink serial number.
- Erase FLASH — Erase device flash with single-click confirmation (deduplicated buttons).
- Device List — Merges the device descriptions of the JLink installation in use with the central per-user device folder, for available target devices.
Where the device list comes from. The Flash Configuration device dropdown merges two sources, in this order:
JLinkDevices.xml inside the install directory — the pre-V7.62 location, still readable so installs patched by hand keep working.
%APPDATA%\SEGGER\JLinkDevices — the official location since J-Link V7.62. Every *.xml below it is read, recursively, up to 4 levels deep (file names are free-form, so subfolders per vendor/family are fine). Versions older than V7.62 know nothing about this folder, so it is only read from V7.62 on.
A device defined in both places resolves to the central folder, matching J-Link's own behaviour — since V7.62 SEGGER no longer ships device files inside the install directory, so an XML left there is a manual-patch leftover. When neither location yields anything, the extension falls back to its bundled device list.
Device still missing? Different JLink packages ship different device databases, so an older installation may not know newer parts (e.g. ALPS, OMX144L). To point the extension at another installation on your machine:
- In the Debug Probes view, if the install is already listed by auto-detection, click its check action (Use This Install) — that is all it takes.
- Otherwise right-click SEGGER JLink → Import from Folder… and select the folder containing
JLink.exe (for example C:\Program Files (x86)\SEGGER\JLink). The extension validates that JLink.exe is inside the folder and makes it the install path.
- Re-open Flash Configuration (right-click SEGGER JLink → Flash Configuration). The device dropdown now lists the devices from that installation — the panel re-reads the device database every time it is opened.
To go back to the extension-managed default path (C:\DebugTool\SEGGER), use Reset Install Path — available both on the row itself and in the right-click menu. Note that a tool pointing at a folder you own offers no Remove action: the extension will not delete files it did not install, so reset the path first.
Build, Debug & Run
- Build — Compile your embedded project with the selected ARM GCC toolchain.
- Clean — Remove all build artifacts (
build/ directory).
- Debug — Launch a GDB debug session using the configured probe.
- Run / Download — Flash (download) the firmware to the target device and run it.
Quick Panel
A convenient toolbar for one-click access to common operations: New Project, Import Project, and more.
Launch bundled or system-level tools (e.g. AutoGenerator, EBRT Tool, FK SE Config Tool) with double-click detection to prevent accidental duplicate launches.
Requirements
- VS Code
^1.87.0
- Windows — This extension is designed for Windows-based embedded development workflows.
- CMSIS-Pack files (
.pack) for your target MCU family.
Extension Views
The extension adds an "OVT Explorer for VS Code" icon to the Activity Bar containing these views:
| View |
Purpose |
| Quick Panel |
Quick-launch buttons for common tasks (New Project, Import Pack, Manage project, Documentation, …) |
| Project Explorer |
Browse and manage embedded project files |
| CMSIS-Pack Explorer |
Browse installed CMSIS-Packs and their contents |
| Current Project |
View active project details |
| Debug Probes |
Install and manage debug probes (JLink, LinkServer, PEmicro) |
| ToolChain |
Manage ARM GCC toolchains and compiler settings |
Getting Started
- Set up Toolchain — In the ToolChain view, install ARM GCC Toolchain (download or from ZIP).
- Import a CMSIS-Pack — In the CMSIS-Pack Explorer, import the
.pack file for your target MCU.
- Create a New Project — Click "New Project" in the Quick Panel, select your chip from the wizard, and configure project options.
- Install Debug Probe — In the Debug Probes view, install JLink (or another supported probe). If you already have JLink installed system-wide, the view lists it automatically — click the inline check action instead of installing again.
- Build & Debug — Use the Project Explorer toolbar buttons to Build, Clean, Debug, or Run your project.
Commands
| Command |
Description |
extension.NewProjectWebview |
Create a new embedded project |
extension.ImportProjectWebview |
Import an existing project |
extension.showManageProjectWebview |
Open the Manage Project configuration page (Basic / Compiler Options / Include Directories tabs) |
extension.showDocumentation |
Open the Documentation page |
extension.closeProject |
Close a project |
projectExplorer.build |
Build the selected project |
projectExplorer.clean |
Clean build artifacts |
projectExplorer.debug |
Start a debug session |
projectExplorer.run |
Flash & run on target |
projectExplorer.addModules |
Add PACK driver modules to project |
projectExplorer.editIncludeDirs |
Configure include directories |
projectExplorer.editCompilerOptions |
Configure compiler options (opt level, warnings, flags, defines) |
projectExplorer.toggleExclude |
Exclude / include a file or folder from the build |
projectExplorer.includeRecursive |
Include a folder & all its subfolders |
projectExplorer.revealInExplorer |
Show a file or folder in the system file manager |
packManager.importPack |
Import a CMSIS-Pack file |
packManager.importPacksFromFolder |
Import packs from a local folder (auto-scan .pdsc) |
packManager.showManager |
Open the Pack Manager webview |
packManager.setPacksDir |
Set the pack storage directory |
packManager.removePack |
Remove an installed pack |
packManager.removeAllInGroup |
Batch-remove all versions of a vendor::name pack |
packManager.setActiveVersion |
Set the active version of a pack |
packManager.refreshExplorer |
Refresh the Pack Explorer view |
toolchain.installFromPlugin |
Download & install ARM GCC Toolchain |
toolchain.importFromFile |
Install toolchain from a local ZIP file |
toolchain.importFromFolder |
Import toolchain from an existing local folder |
toolchain.configure |
Configure compiler settings |
toolchain.selectForProject |
Assign a toolchain to the current project |
toolchain.remove |
Remove an installed toolchain |
debug.installOnline |
Download & install a debug tool (asks for the install directory) |
debug.installToolFromFile |
Install a debug tool from a local ZIP (asks for the install directory) |
debug.useDetectedInstall |
Adopt a JLink install auto-detected in C:\Program Files[(x86)]\SEGGER |
debug.importFromFolder |
Point a debug tool at an existing install folder |
debug.resetInstallPath |
Drop that pointer and return to the default folder |
debug.showFlashConfig |
Open Flash Configuration settings |
debug.removeTool |
Remove an installed debug tool |
debug.refreshProbes |
Refresh probe detection |
extension.saveState |
Save extension state |
Dependencies
- adm-zip — ZIP extraction for packs, toolchains, and debug tools.
- xml2js — PDSC and JLinkDevices XML parsing.
- 7-Zip (optional, system level) — Fallback extractor for SFX/InnoSetup/NSIS debug-tool installers.
Known Limitations
- Windows-only at this time.
- Debug probes are installed wherever you point the install dialog;
C:\DebugTool\ is only the fallback used when a tool has no path set.
- The Flash Configuration device dropdown shows what the JLink installation in use and the central
%APPDATA%\SEGGER\JLinkDevices folder provide — nothing else. Point the extension at another installation, or drop the device patch into the central folder, to change the list (see Debug Probe Support).
- Toolchains are managed under
C:\ToolChain\ by default.
License
MIT
Publisher: ovt-chris | Author: Chris Song chris.song@ovt.com | Version: 0.0.7
| |