Pages: 1 [2] 3 4 5   Go Down
Author Topic: Visual Micro - Arduino for Visual Studio  (Read 14996 times)
0 Members and 1 Guest are viewing this topic.
nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 127
Posts: 8521
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Centurion RSA
Offline Offline
Full Member
***
Karma: 0
Posts: 166
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!!
Logged

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

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 127
Posts: 8521
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Rob Gray aka the GRAYnomad www.robgray.com

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 133
Posts: 6756
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.)
Logged

Offline Offline
Full Member
***
Karma: 11
Posts: 168
IDE for Microsoft Visual Studio and Atmel Studio 6.1, optional USB Debugger
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

@Graynomad Great news! Thanks for letting us know
Logged

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

Offline Offline
Full Member
***
Karma: 11
Posts: 168
IDE for Microsoft Visual Studio and Atmel Studio 6.1, optional USB Debugger
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

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

Offline Offline
Full Member
***
Karma: 11
Posts: 168
IDE for Microsoft Visual Studio and Atmel Studio 6.1, optional USB Debugger
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: January 25, 2012, 12:41:16 pm by visualmicro » Logged

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

Offline Offline
Full Member
***
Karma: 11
Posts: 168
IDE for Microsoft Visual Studio and Atmel Studio 6.1, optional USB Debugger
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Update: v26 includes enhanced serial tools and the relax patch allowing large programs to be uploaded to the arduino 2560
Logged

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

Offline Offline
Full Member
***
Karma: 11
Posts: 168
IDE for Microsoft Visual Studio and Atmel Studio 6.1, optional USB Debugger
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley

http://www.visualmicro.com/page/Arduino-Visual-Studio-Downloads.aspx
Logged

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

South Texas
Offline Offline
Edison Member
*
Karma: 8
Posts: 1025
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Full Member
***
Karma: 11
Posts: 168
IDE for Microsoft Visual Studio and Atmel Studio 6.1, optional USB Debugger
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley

http://www.visualmicro.com/page/Arduino-Visual-Studio-Downloads.aspx
« Last Edit: January 30, 2012, 05:49:19 pm by visualmicro » Logged

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

Guildford, UK
Offline Offline
Full Member
***
Karma: 0
Posts: 218
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley

Perhaps your PC has insufficient RAM to run VS2010?

Iain
Logged

Offline Offline
Full Member
***
Karma: 11
Posts: 168
IDE for Microsoft Visual Studio and Atmel Studio 6.1, optional USB Debugger
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes I agree with sixeyes, RAM is more important than everything else
Logged

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

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 65
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Full Member
***
Karma: 11
Posts: 168
IDE for Microsoft Visual Studio and Atmel Studio 6.1, optional USB Debugger
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

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

Pages: 1 [2] 3 4 5   Go Up
Jump to: