Go Down

Topic: Arduino and Visual Studio VC++ 2010 (Read 5661 times) previous topic - next topic

digicious

Hi everyone,


I'm developing a tool to create automatically VC++ project for PDE files to allow IntelliSense based on the Arduino Libs.

I tried several tools but I was not convinced... The idea is to make something simple and usable with free tools (like VC++ Express)

Anybody is volunteer to be Alpha tester ?

I put a sneak preview of it on my blog : http://blog.digicious.be/?p=18



digicious

Oh, and it will be completely open-source and free of course.

(hosted on Codeplex)

sixeyes

Have you seen this?

http://www.visualmicro.com/

Is it similar to what you are proposing?

Have you checked out the playground:

http://www.arduino.cc/playground/Code/VisualStudio

Iain

mariusl

Cha,
Good idea, I will help with testing.
Rather people think you to be a fool than you open your mouth and confirm it.

digicious

@Iain

Yes, and I tried Visual Micro. It's a great tool but unfortunately, the Visual Micro addin doesn't work with Visual Studio C++ Express. Well... Addins are not support in Visual Studio Express actually.
Also, VC++ is only use as an Editor, it doesn't compile or upload sketches. Arduino IDE will be used for that.

I checked the playground yes... Actually, I refer to the Step 2 and Step 4 of that page in my installation guide.

@Marius

great ! Send me your mail by PM and i'll send you the binaries + installation instructions  + how To :-)


sixeyes

OK. Count me in. I'd like to be an alpha tester.

I currently use VC++ Express to compile some of my projects (just to get the better error messages) so I'm already half way there.

Iain


digicious

VoilĂ  !

I published the project !

http://arduinotovsconverter.codeplex.com/

Let me know if you have trouble to use it or to install it !

digicious

Did anybody got a chance to test it ?


Anything to improve ?

mariusl

Cha
Thanks, it works great. Now you must just tell us how to compile from VC++ express.
Rather people think you to be a fool than you open your mouth and confirm it.

digicious

Unfortunately, I didn't succeed to compile with visual studio Express yet... but i'm working on it !
I guess it should be possible to generate a make file somehow.

It think i saw something like that somewhere on the internet.

Nevertheless, you should be able to compile it with Arduino IDE 0022

To do so :  Configure Arduino IDE
Under File\Preferences set the 'Use external editor' checkmark.So you can use Visual studio to edit and when done just Alt-Tab to the Arduino application and press the upload button to compile the latest code and upload it to the board. The Arduino program will automatically monitor for file changes so you do not need to refresh anything!




mariusl

What I did pick up is that if there are more than one .pde file in the sketch directory, it only converts the main pde file and the cpp files but not the rest.
Rather people think you to be a fool than you open your mouth and confirm it.

digicious

Hi,

I create a workitem on codeplex. I let you know when it's fixed.

http://arduinotovsconverter.codeplex.com/workitem/75

digicious

Okay, it should include the PDE files now...

Is that what you expected ?

Francois

mariusl

Francois
Now we are cooking with gas!!
Rather people think you to be a fool than you open your mouth and confirm it.

Go Up