A few weeks ago the new version of the free Visual Micro addin for Visual Studio was released. The addin provides full featured, 100% compatible, arduino development inside all Visual Studio 2008 and 2010 versions (except for express). This release means that we can code, compile, upload and burn bootloaders to any Arduino microprocessor using Visual Studio. Arduino for Visual Studio can be downloaded from here
Click to see more example images of arduino visual studio
The addin provides complete compatibility with all arduino libraries and cores, in addition to intellisense, goto compiler errors and many other useful features. One useful example is the "Auto Pause" and "Auto Resume" of serial before and after upload (unless using ISP).
Multiple ground station and/or uav projects can be organised in a single Visual Studio solution
Compiler #defines are shown clearly in all source code. A high speed compiler uses file modification times to optimise the work required. Below you can see that an arducopter compile was completed in 5 seconds. An unlimited number of serial tool windows are available.
This example shows the compilations resulting from clicking a visual studio "Build Solution" command.
Note: The ArduCopterMegaHybrid project is a full arducopter program with a minor change to the "pwm out", it's switched to i2c for the SD21 servo board. This project is not available for release it just happened to be available to demonstrate the speed of the visual studio arduino compiler
There are a few un-documented features still to be tested. One, for example, is an option to switch on support for parent library folders. This might be useful for diy drones projects that require two different versions of the same library. The feature allows the compiler to look for an additional "Libraries" folder in the parent folder of the current sketch.
Another feature we might find useful is a menu command that toggles all related sources in/out of the current project. "Project>Show All Arduino Files" does not affect sketch compilation, instead, this feature includes the sources of the arduino core and all of the libraries that have been "#included" into the current sketch. This makes is very easy for library developers/explorers to optionally work with libraries and core within their sketch projects.
Read more about Arduno for Visual Studio
Comments
Just in case any wants to try this but does not have the budget for it - microsoft offers Visual Studio Pro 2010 (and a bunch of other software) for free to anyone who has access to a .edu email.
https://www.dreamspark.com/Default.aspx
Sounds good, but there is only one problem for me. When I hear Arduino I think "Hobby" and with that limited budgets. This new development works with all 2008/2010 Visual Studio but the Express (free) version. Last time I checked Visual Studio runs quite a few hundred dollars, not in by budget.
It is easy to dislike M$ products. But if you are running Windows, Visual Studio is one of the better (some would say the best) IDE's available. It has some of the best syntax highlighting and code completion out there, and still is snappy and responsive while editing.