Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Cortex BuilderNew to Visual Studio Code? Get it now.
Cortex Builder

Cortex Builder

Semyon Ivanov

|
45,105 installs
| (0) | Free
Write, Build, Debug for ARM cortex
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cortex Builder

Front

This extension generates files for VSCode to write, build and debug code for cortex controllers with Arm GCC Toolchain and make tool. List of supported controllers, svd, include files are presented in the repo.

WARNING: Tested with Windows 10 only!

Support

If you like this extension, you could support its development

Donate

Features

  • Automatically download svd, core, include (Keil's version) files

  • Documentation for supported controllers

  • Tools: j-link, st-link

  • Debug servers: j-link, openOCD

  • Output: hex, bin, elf

  • No need external IDE

  • C/CPP project type

  • Cortex-debug configuration

  • A lot of essential settings(standard, optimization...)

  • Buttons: Build/Clean/Flash/Erase/Reset/Debug/New Project/Settings

    MenuBar

Release Notes

1.0.6

Fixes
  • Command execution
    • Forced shell to Cmd.exe with args "\C"

1.0.5

Changes
  • Cortex Builder Tree
    • Replaced names of operations with files (create new file, delete file) to corresponding icons
Fixes
  • Documentation:
    • Starts with last viewed page, when VSCode was closed and reopened

1.0.4

Features
  • Documentation
    • Added Pdf.JS
    • Controllers documentation will be automaticcaly added to the new projects
  • Busy bar for long-time operation (new project, save settings)
Changes
  • OpenOCD
    • Changed path. The new one should point to directory with folders target and interface

Usage

New Project

  1. Make sure to match all Requirements
  2. Open new VSCode window with any document(for example - Welcome page)
  3. Press New Project button
  4. Select controller
  5. Choose folder and project name
  6. Open project
  7. For the first launch: add path to the compiler (e.g.: .../bin/arm-none-eabi-gcc-9.3.1.exe) and path (if needed ) to openOCD's folders(target and interface) in the project settings.

Add Source

  1. Click Source -> New in the Cortex Builder explorer
  2. Select type of source
  3. Type a name

The new file will be saved in .../projectRootFolder/user/

Add Source

Requirements

  • VSCode extensions:
    • Cortex-debug by marus25
    • C/C++ extension
  • Arm GCC Toolchain;
  • Make tool:
    • Windows Build Tools
  • Debugger server:
    • j-link or openOCD

Add the next paths to the Windows PATH environment variable:

  1. arm gcc toolchain ...\bin
  2. make tool ...\bin
  3. debugger server: root folder for j-link or ...\bin for openOCD

Tested conditions

Extension was tested with the followings parameters:

  • OS:
    • Windows 10;
  • Arm GCC Toolchain:
    • 9.3.1;
    • 9.2
    • 8.3.1
  • Make:
    • Windows Build Tools:
      • 2.12 (GNU Make 4.2.1)
  • Debugging server:
    • j-link v.6.50a
    • openOCD 0.10.0 (2020-07-01)
  • Tool:
    • J-link(swd)
    • ST-Link V2
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft