Pages: 1 [2]   Go Down
Author Topic: New alternative IDE for Arduino  (Read 8109 times)
0 Members and 1 Guest are viewing this topic.
nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8471
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I said above

Quote
when the Due is released there is supposed to be a new IDE as well, that may well be a full-featured IDE
That appears not to be the case according to recent information so go for it.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

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

Yes I definitely agree with Graynomad. Furthermore this is a clean solution and, like Arduino, free to develop for a sole purpose.

Ideas & Questions, ignore where not applicable...

1)
Having the libraries displayed in the UI is really great for some users but a bit confusing for others especially on monster projects such as apm. How about a toggle option to show or hide the library nodes in the tree? I do this in visual studio and have had reports from users, often library developers that love it and also from newer users that think it's the scary version. It would be nice as an option?

2)
I guess you are creating your own project file? If so is it xml? and would you be interested in discussing some standards that might help all ide/plugin authors work more closely together?

3)
To allow users to more easily add manual serial debug messages it would be good to get agreement on a #define that our plugins and IDEs can use during certain compilations. The idea being that developers such as yourself add a simple toggle button to the tool bar (or some other ui control) to switch between compilations that include/exclude the users debug commands such as Serial.print(). If the "Debug Mode" toggle button is pushed then it #defines DEBUG by adding -DDEBUG to the gcc compile. Some projects already #define DEBUG so my question is should this be a different name such as ARDUINO_DEBUG, or both, or an option. If you think this is a good idea it would be great to hear your thoughts.

Finally, seeing that the Rasberry PI uses Linux and is being targeted at new users I am wondering if your IDE might end up providing an easy stepping stone from the PI world into the Arduino world. It will be interesting to watch how this pans out. Best of luck  smiley
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
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey,

thanks for the feedback. Right now I'm in the final phase of my diploma thesis at my university, so the project will move slowly, but everyone can submit patches / pull requests, if they wanna help me develop.

1)
Sure that's np, but what should the default value be? Maybe a selection on the first start of the program, where you can choose between beginners, advanced or expert mode.

2)
Yeah, so far I have simple ini format files. Xml is a possibility as well, tho i'm not sure if that's necessary. I want the project files to have a lot more information later, especially for libraries.

3)
That's also something I would add to the project file: different Debug levels and what defines have to be used for it, or maybe to simplify it, which include file should be used. Didn't put too much thought into that one yet.

As for the Rasberry PI: I have had one in my hands already, but I haven't used it. No idea what they need / use etc.
My main focus would probably be to get the Ethernet stuff going, so I can flash my W5100 boards without using USB.

If the Arduino Due doesn't come with a new IDE, maybe this IDE could become an option for the community as official IDE as well. I'm not fixed on any part yet and I welcome any open source additions to the project via git.
Logged

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

Makes sense. I'll have a good look at it when I get a mo. Best of luck with your studies.

Interesting what you say about the raspberry. What can you do with it? Lots of graphics and not very much  smiley this is why I think the Arduino will be step up.
« Last Edit: October 06, 2012, 06:50:46 pm by Visual Micro » 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
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Actually the Raspberry PI belongs to my colleague and he doesn't really know what to do with it either, he just bought one out of curiosity. I guess it's good if you wanna do network stuff and control a display.
I would probably prefer an Arduino for anything else, since it's easier to see what actually happens on the device. Then again, having 32k ROM and 2k RAM currently is getting a bit difficult.
I'm building an autonomous device and my sketch is already at 30.5k, even though I'm trying to code as efficient as possible. But I guess there's a lot that can be scraped off still if I take a knife to the libraries. (Especially the Ethernet library which has a lot of code that can be removed for my purposes)
Logged

Nice, France
Offline Offline
Full Member
***
Karma: 11
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There are some really brilliant and huge Arduino projects out there. ArduPilot, MultiWii being two. Both rely heavily on modular pde/ino files and libraries and will not compile with your IDE. If this is a decision that both of you have made for Eclipse and Linux then I respect that but it will reduce usability for the community.
I just checked ArduPilot, MultiWii as far as I can see none of them provide libraries.

ArduPilot hasa ton of libraries (some of which look quite handy for non-aerial projects).
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Actually another thing I'd like to include in the IDE is git integration together with something like a project and/or library repository where everyone can add their libs in form of a git / github project.
Logged

Belgium
Offline Offline
Full Member
***
Karma: 0
Posts: 144
Just Do it (with Arduino of course)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Any plans to support other type of loaders and CPUs ? Like the Energia guys ? Or some Cortex M3 ?
Logged

BHZ, MG, Brazil
Offline Offline
Sr. Member
****
Karma: 10
Posts: 346
Android developer; Arduino enthusiast
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm building an autonomous device and my sketch is already at 30.5k, even though I'm trying to code as efficient as possible. But I guess there's a lot that can be scraped off still if I take a knife to the libraries. (Especially the Ethernet library which has a lot of code that can be removed for my purposes)

You should take a look at the Atmel 1284 then. It has lots of memory for programs and is 100% AVR compatible. There are bootloaders for it already and there have been Arduino-clones built around it.
Logged

Learn to live: Live to learn.
Showing off my work: http://arduino.cc/forum/index.php/topic,126197.0.html

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

Quote
library repository where everyone can add their libs in form of a git / github project

Yes many of us would like a system like this. The problem seems to be that there are so many libraries with documentation and various updates. All of which can't really be catered for by a single repository. I have been hoping to find agreement on an xml format that would allow an xml file to be placed in each library folder.

The xml file could describe the author, version info and also download instructions such as git or zip from some location. The idea being it enables automatic version checking and a simple "click to update" feature.
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
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@tochinet:
not right now, no. Cortex M3 etc. are so different in their architecture that it's not an easy task. Maybe if someone already has finished compatability layers. But it's definitely not a priority. I already worked with PICs and the lpc1769, but their support and documentation is not comparable to AVR/Arduino. That's why I came back here.

@AlxDroidDev:
While being an AVR and therefore possibly 100% compatible it's certainly not pin compatible, to my Atmega328p, so I can't replace it on my devboard. But I'm thinking about creating my own board with an Xmega similar to the Xmegauino.

@VisualMicro:
Well git in my opinion is the best versioning system out there, and it grows to be the most popular as well. github is a very nice platform to do coding on, and most of the libs are already there or in similar repositories like google code. So I'd like to make the IDE git-enabled so it can keep libs up to date. Also it would need something like an XML format as you already said, to identify the libs, give them paraemters etc. But that shouldn't be a big problem. Imo, these XML don't have to be created by the actual lib creators but can be in an own git repository where everybody that wants can collaborate to keep them up to date. Once there's a lot of libs in there, lib creators will want to have their libs in there as well.
This also forces lib creators to use git, which I think is a good thing (or at least any versioning system, doesn't have to be limited to git)
Logged

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

Quote
Well git in my opinion is the best versioning system out there, and it grows to be the most popular as well. github is a very nice platform to do coding on, and most of the libs are already there or in similar repositories like google code. So I'd like to make the IDE git-enabled so it can keep libs up to date. Also it would need something like an XML format as you already said, to identify the libs, give them paraemters etc. But that shouldn't be a big problem. Imo, these XML don't have to be created by the actual lib creators but can be in an own git repository where everybody that wants can collaborate to keep them up to date. Once there's a lot of libs in there, lib creators will want to have their libs in there as well.

Yes I think the Git stuff is a good idea, sorry I forgot to say this in my last response. I also agree that git is the best place for libraries but there are tons of them already in the public domain and not in git. Many are simple downloads from various product/shield pages. Git libs will be a good start!
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: 1
Posts: 158
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

For Android you can use new app - ArduinoDroid:
https://play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinodroid
Logged

Pages: 1 [2]   Go Up
Jump to: