Pages: [1] 2   Go Down
Author Topic: Arduino and Visual Studio VC++ 2010  (Read 3697 times)
0 Members and 1 Guest are viewing this topic.
Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 15
If you don't have the right tool... build it.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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


Logged

cha

Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 15
If you don't have the right tool... build it.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

(hosted on Codeplex)
Logged

cha

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

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
Logged

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

Cha,
Good idea, I will help with testing.
Logged

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

Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 15
If you don't have the right tool... build it.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

@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 :-)

Logged

cha

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

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
Logged

Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 15
If you don't have the right tool... build it.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok great !
Logged

cha

Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 15
If you don't have the right tool... build it.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Voilà !

I published the project !

http://arduinotovsconverter.codeplex.com/

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

cha

Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 15
If you don't have the right tool... build it.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Did anybody got a chance to test it ?


Anything to improve ?
Logged

cha

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

Cha
Thanks, it works great. Now you must just tell us how to compile from VC++ express.
Logged

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

Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 15
If you don't have the right tool... build it.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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!



Logged

cha

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

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

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

Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 15
If you don't have the right tool... build it.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

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

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

cha

Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 15
If you don't have the right tool... build it.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Is that what you expected ?

Francois
Logged

cha

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

Francois
Now we are cooking with gas!!
Logged

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

Pages: [1] 2   Go Up
Jump to: