Pages: 1 ... 36 37 [38] 39 40   Go Down
Author Topic: UECIDE: A New Fork of the IDE  (Read 35095 times)
0 Members and 1 Guest are viewing this topic.
UK
Offline Offline
Faraday Member
**
Karma: 92
Posts: 3969
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Ah, are you downloading the zip from the "Download ZIP" button on the right?  That won't work.  It doens't format the library properly.

The library's folder name MUST be the same as the main .h file in the library (Timer in this case) or it won't work.

Edit: the next release will handle *-master github archives properly and rename the folder accordingly.
« Last Edit: November 04, 2013, 02:08:55 pm by majenko » 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.

Cordoba
Offline Offline
God Member
*****
Karma: 29
Posts: 528
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

dont run anyway
if add Timer.h say "Error: Timer.h is not correctly packaged."
if reescan libraies dont appears.

sorry for asking something stupid, I am somewhat new to the ide.
Logged

El que pregunta aprende, el que responde aprende a responder.

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

It's not correctly packaged, because github adds a pesky "-master" into the folder name.  It names it Timer-master/* instead of Timer/*.

For now, extract the zip file into uecide\libraries\ and rename the resultant folder from Timer-master to Timer

Then rescan the libraries, and it should find it.

The next release with -master handling in it will be a little while yet, as I have replaced the entire serial subsystem (with jSSC) and it needs more testing and debugging before I release it.
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.

Cordoba
Offline Offline
God Member
*****
Karma: 29
Posts: 528
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

tanks very much now run. my poor english not help!!!
Logged

El que pregunta aprende, el que responde aprende a responder.

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

Right, listen up guys.

I am releasing an experimental version on you all - version 0.8.0a

There's a few minor (though useful) changes, and one HUGE change that needs a lot of debugging.

Firstly the minor changes.  They are all to do with libraries.

1: You can now directly install a Github repo zip (whatever-master.zip) through the menu, and it will strip the -master from the folder name for you.
2: Sub-libraries (LibraryName_sub.h) now hopefully work again.

And the big change:

RXTXcomm.jar has gone!

Celebrate, everyone  smiley-yell  I have replaced it with jSSC (Java Simple Serial Connector) which hopefully should make things a little more reliable.  I have also taken this opportunity to completely re-write the entire Serial API in UECIDE.  There is now a central port arbetrator which deals with requesting the release and reallocation of a port.  Should be much better now.  Also, the bluetooth support is meant to be better in this system than in RXTXcomm (no need to install a dodgy .dll file), so Pito, if you can give it a bit of a test on your bluetooth rig that'd be great.

But of course, there will be bugs.  With such fundamental changes as these it's bound to all go horribly wrong.  That's why I'm going to run away screaming like a girl to somewhere you can't find me  smiley-twist
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.

Rapa Nui
Offline Offline
Edison Member
*
Karma: 53
Posts: 1990
Pukao hats cleaning services
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe an another approach - I have may arduino sketches stored in, for exmple, C:\MyCode\Arduino\ ("Sketchbook Location" in preferences) and the 3rd parties libraries in C:\MyCode\Arduino\libraries\, thus I always save a new 3rd party downloaded library into C:\MyCode\Arduino\libraries\..
« Last Edit: November 04, 2013, 03:43:13 pm by pito » Logged

Rapa Nui
Offline Offline
Edison Member
*
Karma: 53
Posts: 1990
Pukao hats cleaning services
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
That's why I'm going to run away screaming like a girl to somewhere you can't find me  smiley-twist
Halloween is over I think smiley
Logged

Cordoba
Offline Offline
God Member
*****
Karma: 29
Posts: 528
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

congratulations!!. download to test
Logged

El que pregunta aprende, el que responde aprende a responder.

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

Maybe an another approach - I have may arduino sketches stored in, for exmple, C:\MyCode\Arduino\ ("Sketchbook Location" in preferences) and the 3rd parties libraries in C:\MyCode\Arduino\libraries\, thus I always save a new 3rd party downloaded library into C:\MyCode\Arduino\libraries\..

I speak his name and lo, he appears.

That location is where libraries get extracted to by the internal library installation system.  By "sub libraries" I mean libraries where you have multiple versions of the same library in one folder, like LiquidCrystal.h, LiquidCrystal_I2C.h, LiquidCrystal_SR.h etc all in the LiquidCrystal folder.  Now it finds all of them, not just the master 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.

Rapa Nui
Offline Offline
Edison Member
*
Karma: 53
Posts: 1990
Pukao hats cleaning services
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've done several (~20) uploads via BT (0.8.0a with rxtxSerial.dll removed) on com6 fine (uecide terminal closed).
When uecide terminal is opened, it shows following (and the terminal window freezes so I cannot close it, I have to close uecide):


* upl1.jpg (49.75 KB, 1006x382 - viewed 39 times.)
« Last Edit: November 04, 2013, 04:28:11 pm by pito » Logged

Rapa Nui
Offline Offline
Edison Member
*
Karma: 53
Posts: 1990
Pukao hats cleaning services
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Still thinking how to recognize the Cosa core is up to date.. Is your repo somehow in sync with the Cosa repo?
PS: serial monitor updated, but still above issue (..it worked somehow in past)..
PS1: I upgraded to 0.8.0b still the issue above:
Code:
avrdude.exe: ser_open(): can't open device "\\.\COM6": Element not found.

avrdude.exe done.  Thank you.

Port name - COM6; Method name - openPort(); Exception type - Port busy.
Unable to reopen port: null
« Last Edit: November 07, 2013, 11:56:16 am by pito » Logged

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

Cosa is manually updated by me on a regular basis.  I have a clone of the git repo and a "publish" script that pushes out a new version as and when I remember to check for it.

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: 72
Posts: 1641
Once the magic blue smoke is released, it won't go back in!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

On that note, I have added the UECIDE version of the my tiny core to my github repository. That way if I make any changes you should be able to include them easily. The UECIDE version of the core is here: https://github.com/TCWORLD/ATTinyCore/tree/master/UECIDE-Core
If you would prefer the directory structure to be laid out differently, let me know.
I can also add you as a collaborator if you like, so you can make changes if you need to.
Logged

~Tom~

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

It won't work...  You still have the wrong "name=" entries in your core.txt files.

They should be "name=tiny" and "name=tinyNoMillis" respectively.  They *must* be the same as the folder they are in, or it all goes tits up.

Once that's fixed I'll sort out a publishing script to pull them into my own repo.
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 made some minor tweaks to the serial port allocation routine.  It might make it work a little better for you, Pito.  Give it a go.
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 ... 36 37 [38] 39 40   Go Up
Jump to: