This is an alpha version of the Arduino plugin for Visual Studio Pro with additional support for Teensy.
To gain Teensy functionality install the Teensyduino IDE from pjrc.com and set the Visual Studio "Tools>Options>Visual Micro>Locations>Arduino" to the Teensduino IDE folder.
For Arduino 0023,1.0.x without Teensy, set "Tools>Options>Visual Micro>Locations>Arduino" to the location of the Arduino IDE.
If you have registered as a debug beta tester you will also need v3.4 of the debug upgrade to debug Teensy boards.
To compile for a Teensy board in this release you need to manually set three Teensy defines. These defines reflect the additional Tools menu options in the Teensyduino IDE (such as cpu speed, keyboard language).
These standard Teensy defines can be found in the boards.txt under the TeensyDuino IDE folder/Hardware/Teensy/. See the tags "build.definen" and "build.f_cpu"
Teensy Standard Defines - Examples
To compile a sketch for Teensy 3.0 set the project property called "Defines - Project" as follows:-
FCPU=96000000;USBSERIAL;LAYOUTUSENGLISH
To compile a sketch for Teensy 2.0 set the project property called "Defines - Project" as follows:-
FCPU=16000000L;USBSERIAL;LAYOUTUSENGLISH
- Register for the Visual Micro Forum to join the debugger beta team *
- Important compiler optimization changes are documented here *
To gain Teensy functionality install the Teensyduino IDE from pjrc.com and set the Visual Studio "Tools>Options>Visual Micro>Locations>Arduino" to the Teensduino IDE folder.
For Arduino 0023,1.0.x without Teensy, set "Tools>Options>Visual Micro>Locations>Arduino" to the location of the Arduino IDE.
If you have registered as a debug beta tester you will also need v3.4 of the debug upgrade to debug Teensy boards.
To compile for a Teensy board in this release you need to manually set three Teensy defines. These defines reflect the additional Tools menu options in the Teensyduino IDE (such as cpu speed, keyboard language).
These standard Teensy defines can be found in the boards.txt under the TeensyDuino IDE folder/Hardware/Teensy/. See the tags "build.definen" and "build.f_cpu"
Teensy Standard Defines - Examples
To compile a sketch for Teensy 3.0 set the project property called "Defines - Project" as follows:-
FCPU=96000000;USBSERIAL;LAYOUTUSENGLISH
To compile a sketch for Teensy 2.0 set the project property called "Defines - Project" as follows:-
FCPU=16000000L;USBSERIAL;LAYOUTUSENGLISH