Virtual Board extension to build and debug Arduino sketches with Visual C++
Use the Visual Studio IDE to develop, build, run and debug your Arduino sketches as an executable directly at your Windows computer. Use network and serial connections of your computer directly from ...
Build and debug Arduino sketches with Visual C++ (MSVC) and Visual Studio 2022.
Overview
Use the Visual Studio integrated development environment (IDE) to develop, build, run and debug your Arduino sketches as an executable directly at your Windows computer. Use network and serial connections of your computer directly from your Arduino sketch. Connect to I/O, SPI and I2C pins via IO-Warrior hardware, connected via USB.
Advantages
Get a project template to obtain all required MSVC settings preconfigured for your sketch,
Use the Arduino compatible VirtualBoard NuGet package, which provides the standard Arduino functions and libraries for your Windows sketch executable,
Make up use of the super fast MSVC compiler and comprehensive Visual Studio debug features to speed up your sketch code development,
Keep your sketch folder compatible with Arduino IDE or Arduino CLI and upload your sketches to real Arduino compatible boards,
Add and use MSVC compatible Arduino libraries to your sketches or use special MSVC compatible library versions,
Connect your running sketch simulation at your Windows computer with real I/O, SPI and I2C pins via IO-Warrior hardware.
Limitations
MSVC, used by Visual Studio differs in some C++ language features from GCC compiler, used by the Arduino IDE,
The Windows executable uses the 32bit features of your computer CPU which differs e.g. from the 8bit Arduino Uno,
The Windows executable also uses huge memory resources of your computer, compared to the 2K RAM size of an Arduino Uno,
Windows is not a real time OS, so no interrupts or time critical response time is supported.