Pages: 1 ... 38 39 [40]   Go Down
Author Topic: UECIDE: A New Fork of the IDE  (Read 35006 times)
0 Members and 1 Guest are viewing this topic.
Rapa Nui
Offline Offline
Edison Member
*
Karma: 52
Posts: 1990
Pukao hats cleaning services
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

SAR - nice!  Would it be possible to store the sketch under different name (ie. when importing a package and the sketch with the same name does exist already)? Also having a settable path to my_sar_folder (a .sar repo) in preferences would be nice to have.
Logged

UK
Offline Offline
Faraday Member
**
Karma: 92
Posts: 3969
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Good ideas, yes.  I'll roll them into the next release, which I hope to do soon as I have introduced a small bug:

I have moved the serial port detection routine to the serial port menu.  With the latest version, if you have no serial ports when you load up, then plug in a serial port, you can't get to the serial ports menu to trigger a re-scan).

I am thinking I may have a "Re-scan Serial Ports" menu entry in there and do away with the automatic re-scanning - that way when you open the serial port menu it doesn't reset all the arduinos you have connected - it will only do it when you ask it to.

Thoughts on that one?
Logged

Why not visit my eBay shop? http://stores.ebay.co.uk/Majenko-Technologies
Replacement for the Arduino IDE: UECIDE - Proper serial terminal, graphing facilities, plugins, overhauled internals.
Java isn't bad in itself, but it has enabled morons to write programs.

Leeds, UK
Offline Offline
Edison Member
*
Karma: 71
Posts: 1641
Once the magic blue smoke is released, it won't go back in!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Could you use something like this to detect when a USB device has been attached and then rescan?
I suppose that would on USB devices and not Bluetooth.
Logged

~Tom~

UK
Offline Offline
Faraday Member
**
Karma: 92
Posts: 3969
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Could you use something like this to detect when a USB device has been attached and then rescan?
I suppose that would on USB devices and not Bluetooth.

That's a great idea - I'll look into that.
Logged

Why not visit my eBay shop? http://stores.ebay.co.uk/Majenko-Technologies
Replacement for the Arduino IDE: UECIDE - Proper serial terminal, graphing facilities, plugins, overhauled internals.
Java isn't bad in itself, but it has enabled morons to write programs.

North Queensland, Australia
Offline Offline
Edison Member
*
Karma: 52
Posts: 1782
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry if this question has been answered. I wish to know what version of avr-gcc this IDE supports.

I wish to add C++11 features to a library and need to test out optimizations of features like lambdas, SFINAE and variadic templates.

A minimum I would like to use is: 4.6.X:  http://gcc.gnu.org/gcc-4.6/cxx0x_status.html

I'm simply looking for the easiest route to using a modern standard compiler. <rant>On that note, what gives, Arduino?? 4.3.3/c99 is no longer a modern C++ standard. Textbooks are starting to document C++ features without specifying that the features are C++11 or higher. Just a cause for more questions that shouldn't need answering. The API has been broken once with the release of 1.0, hell break it again, this time with good cause. The bloated API could do with a fresh compiler to make the most of small flash sizes.</rant> Phew...
Logged


UK
Offline Offline
Faraday Member
**
Karma: 92
Posts: 3969
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

UECIDE uses what Arduino uses - 4.3.1.  There is, however, (if you are on Linux, as that is all I have been able to compile it for) an experimental 4.8.1 core and compiler combination in UECIDE.  If someone fancies compiling avr-gcc et al for Windows and OS X for me I can roll it out to everyone instead of just the privileged Linux users.
Logged

Why not visit my eBay shop? http://stores.ebay.co.uk/Majenko-Technologies
Replacement for the Arduino IDE: UECIDE - Proper serial terminal, graphing facilities, plugins, overhauled internals.
Java isn't bad in itself, but it has enabled morons to write programs.

North Queensland, Australia
Offline Offline
Edison Member
*
Karma: 52
Posts: 1782
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

A quick search found this: https://groups.google.com/a/arduino.cc/forum/#!topic/developers/21G5w2HbUOg

It seems Massimo is keen to get a new compiler in, also the conversation is about 4.8.1.

I'm going to check out this, might have a compiled version.
https://groups.google.com/a/arduino.cc/d/msg/developers/21G5w2HbUOg/bJtG94vEEhkJ

Quote
Code to build the toolchain on linux32, linux64, mac32 and windows is
available on the atmel-3.4.3 branch at
https://github.com/arduino/toolchain-avr/
« Last Edit: February 11, 2014, 04:41:54 am by pYro_65 » Logged


UK
Offline Offline
Faraday Member
**
Karma: 92
Posts: 3969
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Nice find.  I'll look at integrating those binaries.
Logged

Why not visit my eBay shop? http://stores.ebay.co.uk/Majenko-Technologies
Replacement for the Arduino IDE: UECIDE - Proper serial terminal, graphing facilities, plugins, overhauled internals.
Java isn't bad in itself, but it has enabled morons to write programs.

UK
Offline Offline
Faraday Member
**
Karma: 92
Posts: 3969
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Right, you should have access to the "arduino481" core in the UECIDE Plugin Manager now.  If you install that, it should install the avr-gcc-481 compiler as well.  Then you can select the arduino481 core in the hardware menu and give it a whirl.
Logged

Why not visit my eBay shop? http://stores.ebay.co.uk/Majenko-Technologies
Replacement for the Arduino IDE: UECIDE - Proper serial terminal, graphing facilities, plugins, overhauled internals.
Java isn't bad in itself, but it has enabled morons to write programs.

North Queensland, Australia
Offline Offline
Edison Member
*
Karma: 52
Posts: 1782
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Will try right now, thanks for putting it together.
Logged


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

Hello,

I am discovering UECIDE but I am facing an issue with my Arduino Due : I am able to compile but when trying to upload the sketch to my board, I got the following error : "No upload command defined for board".

Could you help me ?

Thanks,
Thierry
Logged

UK
Offline Offline
Faraday Member
**
Karma: 92
Posts: 3969
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I am discovering UECIDE but I am facing an issue with my Arduino Due : I am able to compile but when trying to upload the sketch to my board, I got the following error : "No upload command defined for board".

Could you help me ?

Thanks,
Thierry
Which operating system are you using?
Logged

Why not visit my eBay shop? http://stores.ebay.co.uk/Majenko-Technologies
Replacement for the Arduino IDE: UECIDE - Proper serial terminal, graphing facilities, plugins, overhauled internals.
Java isn't bad in itself, but it has enabled morons to write programs.

UK
Offline Offline
Faraday Member
**
Karma: 92
Posts: 3969
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I have just spent a week or so overhauling the whole of the plugin manager system, and also changing the whole way the cores work.  Under the hood things have changed drastically:

1. I have removed the N:1 relationship between cores and compilers.  Like boards, it's now N:N, so a core can use many compilers, and many cores can use the same compiler.

2. The way a core finds its files to compile has been re-written.  Cores now compile separate chunks of source into smaller libraries, rather than one huge libcore.a.  This makes it possible to split a core down into smaller subdirectories, or include library source code from other projects without having to integrate it into your own API source tree.  A number of Arduino-esque systems already have this kind of arrangement of split sources, such as the Due and Maple boards (libmaple), so this now means that a core doesn't have to be as manually hand crafted to work.  Instead of the variable "core.path" you now have a collection of "core.library.xxx" entries which define the path lists for each block of library code to compile.

3. Boards and cores now have a "recommended" parent.  Boards recommend which core you should use them with, and cores recommend which compiler you should use.  When you install a board, and you don't have the recommended core installed, it will prompt you to auto-install it if you want.  The same with a core - it will ask you if you want to install the recommended compiler.

4. If you have no boards, cores or compilers installed at startup it pops up a message informing you of the fact, then opens the plugin manager for you.

5. The internal config file parsing system has been changed and enhanced to support a certain amount of in-value scripting.  Functions available include ${find:path-list,filename}, ${if:value=value,true value,false value} and ${foreach:list,replaced text with %0 in it}.

Version 0.8.4a is now available for download.  It is recommended that you delete all your old downloaded plugins, boards, cores and compilers, as the format and name changes have introduced a certain amount of incompatibility with the old format.

In Linux they are located in the .uecide folder in your home folder.  In Windows it's in c:\Users\UserName\AppData\Roaming\uecide, and in OS X it's (if I remember correctly) your user's Library/uecide folder.

Now I just need to deal with the interface to the plugin manager a little - it's still not all I want it to be.  I want to implement some kind of download manager into it so you can easily see all your current downloads and their progress.
Logged

Why not visit my eBay shop? http://stores.ebay.co.uk/Majenko-Technologies
Replacement for the Arduino IDE: UECIDE - Proper serial terminal, graphing facilities, plugins, overhauled internals.
Java isn't bad in itself, but it has enabled morons to write programs.

UK
Offline Offline
Faraday Member
**
Karma: 92
Posts: 3969
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Things have been leaping on ahead with UECIDE recently.  There have been many big changes.

Today's big change is to allow multiple locations for user libraries.  You can now specify many places for the IDE to look for libraries, and each location has its own menu entry and everything.

Read more here: http://www.uecide.org/forum/viewtopic.php?f=9&t=167
Logged

Why not visit my eBay shop? http://stores.ebay.co.uk/Majenko-Technologies
Replacement for the Arduino IDE: UECIDE - Proper serial terminal, graphing facilities, plugins, overhauled internals.
Java isn't bad in itself, but it has enabled morons to write programs.

Pages: 1 ... 38 39 [40]   Go Up
Jump to: