Visual Studio 2008/2010 and Arduino? Yep!

Sign in to queue

The Discussion

  • User profile image
    basmenthack​er

    this is so cool! thanks for all your work on this I love working with Micro .NET but this just adds to the fun with microcontrollers 

  • User profile image
    Visual_Micro

    Great post thanks. Tips...

    1) The addin also provides a useful feature for people who develop arduino libraries and /or board cores. The "Project" menu has an option called "Show All Arduino Files". The option toggles all c/cpp/h sources of active libraries and core in/out of the Visual Studio Solution/Project Explorer.

    This allows these normally hidden sources to be available inside the object browser and to be viewed/edited/navigated.

    2) The Arduino compiler in Visual Studio is optimized using source file date/time stamps. This makes the Visual Studio compile much faster than using the Arduino IDE.

    Very useful for large projects and works well with point 1) above, ensuring a fast intelligent compilation of just the sources that have been modified.

  • User profile image
    Algorithum

    So wait,  Visual studio Express cannot have extensions?

  • User profile image
    gduncan411

    @Algorithum: Not any provided by third parties, no. Only Microsoft can provide extensions for the free VS Express SKU's.

  • User profile image
    Visual_Micro

    but if you are thinking of doing any professional web development you can get Visual Studio 2010 Professional free for 3 years

    http://www.visualmicro.com/page/Offer-Visual-Studio-Professional-Free-For-3-Years.aspx

  • User profile image
    Spongman

    If you're prepared to forego the arduino libs and use the native Atmel SDK, you can use AVR Studio 5 which includes a simulator/debugger and is built on VS2010 shell (doesn't require VS2010 license). You have to use avrdude yourself to squirt the compiled results to the arduino, but it works a charm. Just get a copy of the relevant datasheet and you're off...

  • User profile image
    gduncan411

    @piersh: Funny you should recommend that as I've already got a post about that in the queue... Smiley

    It's a few weeks out yet, but maybe that will need to change... Tongue Out

  • User profile image
    Visual_Micro

    I'm not sure how useful the debug is for arduino chips because the correct fuses are not set on the arduino programming port. Avr studio isn't aware of arduino libraries or boards so there will be a lot of hunting for information and config for each project. Compile of arduino sketches that contain multiple .pde files isn't straight forward and avr studio will not cater for this. 

    If anyone would like to extend avr studio 5 to include arduino functionality then you can use the api from the visual micro system. Please contact info[at]visualmicro.com is you would like to create an arduino avr studio 5 extension

  • User profile image
    Visual_Micro

    New Release Arduino 1.0 for Visual Studio. The latest version is compatible with the new Arduino 1.0 IDE and also with earier Arduino versions. The version also contains a number of useful updates including, for example, enhanced serial tools.

Add Your 2 Cents