Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>MbedNew to Visual Studio Code? Get it now.
Mbed

Mbed

Arm Mbed

|
2 installs
| (0) | Free
Mbed Development Environment
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VS Code Mbed

VS Code Extension for Mbed OS Projects.

Overview

Mbed for VS Code enables you to work with Mbed OS projects, handling library dependencies, target connection, build, debug and serial output.

Usage

  • Install the extension from within VS Code (search for 'mbed') or from the VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=mbed.mbed

  • This will also install the following extensions:

    • arm.armls - For working with assembly code.
    • arm.device-manager - For detecting and managing connected devices.
    • arm.embedded-debug - For deploying to your device and debugging programs.
    • arm.environment-manager - For setting up a compiler.
  • Open an existing Mbed OS project or use the user interface to clone an existing example using git.

  • The user interface will help you recursively clone any dependant libraries (hydration) and install the Arm GNU toolchain (GCC) or Arm Compiler for Embedded toolchains.

  • You can then select your target and profile, build, deploy and debug your application.

Contribution

This extension is intended to serve as a permissive, open-source reference for working with Mbed after the July 2026 end-of-life, offering an alternative to the standalone Mbed Studio application.

Pull requests may be accepted, but this primarily serves as a reference application for developing your own tools.

Development

Prerequisites

A working Node.js environment.

Clone

git clone https://github.com/ARMmbed/vscode-mbed

Build

In the vscode-mbed folder:

## Install node dependencies
npm install
## Build the extension
npm run build
## Package the extension
npm run package

Watch

Start the default build task in VS Code.

Debug

Launch the default debug task in VS Code.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft