Skip to content
View VisualMicro's full-sized avatar

Block or report VisualMicro

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
VisualMicro/README.md

Visual Micro | Arduino development in Visual Studio

Open your Arduino sketch in Microsoft Visual Studio. Visual Micro gives the C++ editor the board and library information it needs for IntelliSense, builds your sketch with its Arduino toolchain, and uploads it to your board. You can keep working on the same .ino files in the Arduino IDE.

Get Visual Micro for Visual Studio 2022 or 2026 · Open an existing sketch · Browse the user guide

More than 1 million installs on the Visual Studio Marketplace.

Visual Micro showing the Arduino editor, board toolbar, build output and live Serial Monitor

The vMicro toolbar selects the board and port. Below the sketch, Build Output confirms the upload and the Serial Monitor shows the “Hello World” messages coming back from the board.

Write, build and upload

Start with your own sketch or a library example. Use Go to Definition to follow a call into a library, and use IntelliSense to see the functions available for the selected board. Install boards and libraries from within Visual Studio. When you build, Visual Micro uses the compiler and build recipes supplied by the selected board package.

Set up your first project · Install a board package · Manage libraries · Configure IntelliSense

See what happens on the hardware

A serial tracepoint can print a variable when a condition is met and let the sketch continue. When you need to stop the processor and step through C++, use GDB with a supported board and debug connection. Visual Studio shows the current line, the values in scope and the calls that brought execution there.

Visual Studio hardware debugger showing the current line, variable values and call stack

Execution has stopped just before ++sampleNumber. Autos shows reading is 100 and lastResult is 214. The Call Stack shows that loopTask called loop().

Set a serial breakpoint · Log values with tracepoints · Find a hardware debugger for your board · Use the Serial Monitor

Work with more than one project

Keep sketches together in a Visual Studio solution and save each project’s board, port and debugger settings. If a team needs to preserve a working build, a portable solution can keep the board packages, toolchains and libraries beside the solution file so they can be versioned with the code.

Save settings by project · Use Debug and Release configurations · Create a portable solution

Give your AI assistant the project details

When a build fails, copy the active project context from the vMicro menu. Review the selected board, toolchain, build settings and output before sharing them with GitHub Copilot, Codex or another assistant. Use AI with a Visual Micro project

Downloads · Licensing · Release notes · Support forum

Popular repositories Loading

  1. visualmicro.github.io visualmicro.github.io Public

    The Visual Micro documentation has moved. Current user guide: https://www.visualmicro.com/page/User-Guide.aspx?doc=index

    HTML 1

  2. SPIFFS SPIFFS Public

  3. openocdreleases openocdreleases Public

    Versioned OpenOCD packages for Visual Micro hardware debugging.

  4. jekyll-theme-rtd jekyll-theme-rtd Public

    Forked from carlosperate/jekyll-theme-rtd

    Port of the Read the Docs theme to Jekyll to use with GitHub Pages.

    HTML

  5. Arduino_Core_STM32 Arduino_Core_STM32 Public

    Forked from stm32duino/Arduino_Core_STM32

    STM32 core support for Arduino

    C

  6. arduino-esp32 arduino-esp32 Public

    Forked from espressif/arduino-esp32

    Arduino core for the ESP32 family of SoCs

    C++