Go Down

Topic: Visual Micro - Arduino for Visual Studio (Read 15 times) previous topic - next topic

Graynomad

VS2008 report:

Thanks for fixing that "space in the path" bug.

I just installed the latest version (v18?), ran VS2008, created a new project and copied the blink sketch code into it, then hit F5 and the program was compiled and uploaded.

Well done guys, I haven't done anything serious yet but it looks like the IDE is history as far as I'm concerned.

______
Rob 
Rob Gray aka the GRAYnomad www.robgray.com

Marius

Rob,
I am happy that you are impressed. I know that I was. Believe me if I tell you that I tried every alternative available and Visual Micro is most probably the simplest and easiest way of doing things.
Please keep testing and should you find any issues, please report them on the Issue Tracker over here. http://visualmicro.codeplex.com/workitem/list/basic

Happy coding man!!
Rather people think you to be a fool than you open your mouth and confirm it.

Graynomad

Quote
I tried every alternative available

Likewise, my latest environment is Notepad++ and an external makefile, I'm pretty happy with that combination but a fully integrated IDE will be better.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

westfw

Quote
I have to insist that the Avr Studio 5 does not use avr-gcc but their own compiler.

I don't think so.  It's not the same version of the compiler that Arduino is currently using, but it is still gcc.
(I think only gcc for avr32 has "Atmel" code that is not part of the general gcc distribution.)

Visual Micro

@Graynomad Great news! Thanks for letting us know
Arduino for Microsoft Visual Studio Pro and Atmel Studio 6.1 http://www.visualmicro.com
Arduino Debugger http://www.visualmicro.com/post/2012/05/05/Debug-Arduino-Overview.aspx

Visual Micro

Visual Studio Addin has been tested with arduino 0023, the 1.0 work will be released as soon as Arduino 1.0 is released. 1.0 is not a major change but has a few minor differences and some great improvements. ARM next!
Arduino for Microsoft Visual Studio Pro and Atmel Studio 6.1 http://www.visualmicro.com
Arduino Debugger http://www.visualmicro.com/post/2012/05/05/Debug-Arduino-Overview.aspx

Visual Micro

#21
Jan 25, 2012, 06:39 pm Last Edit: Jan 25, 2012, 06:41 pm by visualmicro Reason: 1
Update

The recent Arduino for Visual Studio versions provide automatic compatibility with Arduino 1.0 and earlier versions. Both new and existing projects are automatically configured based upon the installed Arduino version.

There are a host of other useful updates available in the latest codeplex version. One example being serial echo. Serial echo will be useful if you have two serial devices that normally communicate with each other. Instead, visual studio can sit in the middle, allowing packets to be viewed in visual studio whilst the serial data additonally forwarded to the "other" port. Obviously the arduino serial ports in visual studio are still "upload" aware, meaning they automatically pause and re-start after a compile and upload.

http://www.visualmicro.com/page/Arduino-Visual-Studio-Downloads.aspx
Arduino for Microsoft Visual Studio Pro and Atmel Studio 6.1 http://www.visualmicro.com
Arduino Debugger http://www.visualmicro.com/post/2012/05/05/Debug-Arduino-Overview.aspx

Visual Micro

Update: v26 includes enhanced serial tools and the relax patch allowing large programs to be uploaded to the arduino 2560
Arduino for Microsoft Visual Studio Pro and Atmel Studio 6.1 http://www.visualmicro.com
Arduino Debugger http://www.visualmicro.com/post/2012/05/05/Debug-Arduino-Overview.aspx

Visual Micro

Update: The Arduino compiler optimisation in Visual Studio has been enhanced.

For those who don't already know, the Visual Studio plugin optimises each compile based upon source code modification dates ensuring that the end result compilation is identical to that produced by the Arduino IDE.

The optimisation means that the plugin "auto detects" changes to files such as libraries, core and code on a board by board basis.

The result is a normal speed first-time compile (of each sketch) with ultra high speed subsequent compilations improving productivity by some magnitude.

An example being a 5 second compilation might be reduced to 0.5 of a second. In the next version it should be a little bit quicker :)

http://www.visualmicro.com/page/Arduino-Visual-Studio-Downloads.aspx
Arduino for Microsoft Visual Studio Pro and Atmel Studio 6.1 http://www.visualmicro.com
Arduino Debugger http://www.visualmicro.com/post/2012/05/05/Debug-Arduino-Overview.aspx

kf2qd

Only 1 slight problem... If you don't have the latest and greatest in computers, then Visual Studio 2010 takes all day to get anything done. It is another piece of Microsoft bloatware.(for the record - I am a VB6 and Visual Studio 2000 user) I tried running VS 2010, and AVR Studio 5 and found them both to be agonizingly slow. Visual Studio 2008 isn't much better.

Visual Micro

#25
Jan 30, 2012, 11:35 pm Last Edit: Jan 30, 2012, 11:49 pm by visualmicro Reason: 1
I'm sorry you have to use such slow hardware. I also don't like the fact that every hardware advance is matched by even hungrier software.

On less powerful machines, VS 2010 is slow starting on first use, but then most of the time it opens really fast and other times slowly. In any event, I find VS is faster than Eclipse and the Arduino IDE. Escpecially if you have a lot of sketches in your sketch folder and the serial viewer consumes next to no cpu % whilst Arduino is so heavy it causes my cpu fan to come on.

The best option is to leave VS open (if you can). Once open it works very quickly. I also change my settings not to use the visual studio start page. It seems to connect to the internet to get news etc which slows things down even more.

I guess this plugin is really for more recent office and windows users who seem to find it very useful. The time taken to start vs is compensated some what by the ease and speed of Arduino development inside Visual Studio.

I found AVR Studio especially slow. The plugin has been designed in two parts. The arduino part and the visual studio user interface part. So I always keep a look out for something as functional as VS but faster, that would benefit from the Arduino part :)

http://www.visualmicro.com/page/Arduino-Visual-Studio-Downloads.aspx
Arduino for Microsoft Visual Studio Pro and Atmel Studio 6.1 http://www.visualmicro.com
Arduino Debugger http://www.visualmicro.com/post/2012/05/05/Debug-Arduino-Overview.aspx

sixeyes


Only 1 slight problem... If you don't have the latest and greatest in computers, then Visual Studio 2010 takes all day to get anything done. It is another piece of Microsoft bloatware.(for the record - I am a VB6 and Visual Studio 2000 user) I tried running VS 2010, and AVR Studio 5 and found them both to be agonizingly slow. Visual Studio 2008 isn't much better.


My experience with Visual Studio is that it needs LOTS of RAM.

Years ago when I upgraded from NT4 to Windows 2000 I had to upgrade my laptop's memory from 128MB to 256MB. Windows 2000 took more RAM and Visual Studio 6 no longer had enough memory to fit.

Similarly with Visual Studio 2008 I had to upgrade another laptop, from 1GB to 2GB this time, to prevent swapping and poor performance.

I found a good deal on ebay for second hand memory for my 7 year old laptop :)

Perhaps your PC has insufficient RAM to run VS2010?

Iain

Visual Micro

Yes I agree with sixeyes, RAM is more important than everything else
Arduino for Microsoft Visual Studio Pro and Atmel Studio 6.1 http://www.visualmicro.com
Arduino Debugger http://www.visualmicro.com/post/2012/05/05/Debug-Arduino-Overview.aspx

IanJohnston

Have to say I am liking this!

I have tried other so called plugins to VS before and you end up making all sorts of changes to the config to get it to work. However, I had this up & running in 5 minutes.

I took one of my more complex Arduino 1.0 projects c/w heaps of libraries (some custom written) and it compiled and uploaded first time.

Ian.

Visual Micro

Ian, that is good to hear thanks. We have nearly 6000 downloads since October so all functions seem to be working well with Arduino 1.0 and earlier.

For windows users, the serial tools seems to be popular due to their speed and lack of resource hogging, the super fast compile makes development much faster. Personally I like the option to include arduino core and libraries (with auto change detect) in my project(s) and like to develop more than one project within a single IDE.

http://www.visualmicro.com/

It's time for multi-mcu support! Arduino, chipKit, maple etc.

I would appreciate hearing from anyone who has any suggestions for a build.xml that would allow each mcu type to be defined more easily allowing us to support the different flavours.

Example: The xml should describe how to compile for arduino 1.0 and the locations of all 1.0 files, how to compile arduino 0023 and locations, how to compile chipKit and locations etc etc. Obviously we already have 1.0 and 0023- in Visual Studio but this would be a "step up" allowing users to define their own processor types or for the standard product to auto support other processors.

Thanks in advance
Arduino for Microsoft Visual Studio Pro and Atmel Studio 6.1 http://www.visualmicro.com
Arduino Debugger http://www.visualmicro.com/post/2012/05/05/Debug-Arduino-Overview.aspx

Go Up