VS2015 € Arduino IDE For Visual Studio 2015  VisualMicro

23/11 0 By bronell

VS2015 € Arduino IDE For Visual Studio 2015  VisualMicro


VS2015 € Arduino IDE For Visual Studio 2015  VisualMicro

the following error message occurred when i compile the sketch: “unable to locate freertos.h file. please ensure it is in the correct path, and add the library using the library manager. if you are using the arduino 1.5.5 or later, make sure you have downloaded the official freertos zip file from http://www.arduino.cc/windows/..”

i tried to download the library from the arduino website and have added it via the library manager. but the library is not added in visual micro. i have the same problem as described in the first question.

then we have the ide that runs better. a lot faster than the visualstudio2015 arduino ide. i have less problems with compile or load errors than before. if i am about to upload my code, i’ve got a feeling that it is going to work.

everything is here and the others provided are of great value. the exception is the versions of the compiler. i tested the visualstudio2015 arduino ide with versions 1.0 to 1.8.3. support for 1.9 currently on beta. i’ve tested all three versions in the current extension for arduino. but i have a desire to test more and i will..

* due to the limitations in visual studio 2015, the extension is not compatible with older versions of visual studio, nor linux versions of the arduino ide. if you currently own the 2010 or 2011 version of visual micro, it will continue to work with this release but you will only be able to use the extension with the latest version of visual studio that supports the extension.

* due to the limitations in visual studio 2015, the extension is not compatible with gdb 14.0 (or later) which is the default visual studio debugger with visual micro 6.0 and visual studio 2013.* to see all available “debuggers” for arduino related projects, you need to right click on the project in question and select properties. under debuggers you will find “gdb 14.0 (or later)” and “raspberry pi”.

2. Add reference to “C:\Program Files (x86)\Arduino15\packages\arduino\libraries\Board\Arduino\hardware\tools\avr\3.6.11\deps\inc” and “C:\Program Files (x86)\Arduino15\packages\arduino\libraries\Board\Arduino\hardware\tools\avr\3.6.11\deps\stk500v1\inc”
3. Add reference to “C:\Program Files (x86)\Arduino15\packages\arduino\libraries\Wiring\hardware\tools\avr\3.6.11\inc” and “C:\Program Files (x86)\Arduino15\packages\arduino\libraries\Wiring\hardware\tools\avr\3.6.11\extras\STK500v2”
This means you can compile C++ code easily and debug the Arduino sketch. But if you’re using Arduino make sure you have it installed on the same system as the project. Visual Studio will prompt you to install it when you try to use VS to debug the Arduino code.
The Arduino IDE cannot be used in the Arduino environment, therefore it cannot be used to debug the Arduino sketch from Visual Studio. This is a really useful tool for anyone working with microcontrollers, and is great for testing before sending it to the development board. But currently this means you can use the Arduino IDE to compile the Arduino code, but not to debug it.
I’ve been following two projects that were building on the Arduino Huzzah board. I found out a few interesting things. Firstly it can be quite hard to get the Arduino HUZZAH right, this could be because the default firmwares for the Huzzah itself isnt reliable. So be sure to follow the guides on the Adafruit website.
It turns out that the USB port is pin 1, so make sure you dont put your own code out there when you are debugging. It’s far easier to debug the Arduino code from the HUZZAH than to debug your own code from an Arduino. Another thing that caught my eye was that the smart switch was mapped to the analog pin 0. As smart switches are generally digital I found it odd that they where connected as analogs, but perhaps this is useful for people who want to “talk to” a smart switch to get information from the chips.