Go Down

Topic: UECIDE: A New Fork of the IDE (Read 59383 times) previous topic - next topic

pito

#465
Aug 24, 2013, 10:19 am Last Edit: Aug 24, 2013, 02:07 pm by pito Reason: 1
An another situation which will not compile in uecide (enclosed).
Builds in 152:
Code: [Select]
c:\MyCode\Arduino\ABuild/nilBlink_CLI2c_maj.cpp.hex
Binary sketch size: 15,694 bytes (of a 130,048 byte maximum) - 12% used

PS: I do not need a new library, I want just include the text..

majenko

You hava e file naming conflict.

SdInfo.h is a file in the SD library.  You are overriding that file with your local copy, which is not doing what SdInfo.h is expected to be doing.  Rename it to something else.

Which is only logical - I mean, if you made a file "stdio.h" for a "normal" C program, and then filled it with your own code, could you then include the "real" stdio.h as well?  I don't think so :P

pito

#467
Aug 24, 2013, 01:12 pm Last Edit: Aug 24, 2013, 01:26 pm by pito Reason: 1
]:) never thought about such file does exist somewhere.. Why it builds with 152 then (and, moreover, it works)?

pito

Another nice to have: would it be possible to open a sketch which consists from ie. an .ino plus several .h files such it shows the .ino into the editor screen?

majenko


Another nice to have: would it be possible to open a sketch which consists from ie. an .ino plus several .h files such it shows the .ino into the editor screen?

You mean having the master .ino file as the first tab, and thus the one that is open by default?  Yes, that is on my todo.

majenko

I have just found something lacking with the library system while writing a library.  I'm not sure how Arduino does this, if it even attempts it, but this is what I have done.

I have added the ability to have "sub" libraries within a library.  These are alternate header files which modify how the library works, or even contain an entire other library.

Instead of just, for example:
Code: [Select]

LibName/LibName.h
LibName/LibName.cpp

You can now have:
Code: [Select]

LibName/LibName.h
LibName/LibName_other.h
LibName/LibName.cpp

Both LibName.h and LibName_other.h are listed as libraries for importing, but they both import the same library, just with a different header (which might include the other header - who knows?)

The format has to be LibName_{suffix}.h - I didn't just want to include all header files as there is a lot of junk (i.e., "extra") header files that aren't really relevant to the library importing.

I did this so I could have a library that did things with serial, and if I imported the _software version of the header it then added SoftwareSerial support to it (through #defines).

Tom Carpenter

#471
Sep 15, 2013, 05:57 pm Last Edit: Sep 15, 2013, 05:59 pm by Tom Carpenter Reason: 1
It appears the new plugin manager is broken on Windows 7.

I've added a screenshot of what it now looks like.

EDIT:

Never mind, restarted UECIDE and it started working again :D
~Tom~

majenko

Bah!  Why can't they make Linux compulsory?  It would make life so much easier...

Tom Carpenter

I have noticed something else interesting. When you open a sketch, if you haven't made any changes to it yet (in fact even if you have but have used 'undo' to remove them), pressing undo deletes everything in the sketch!!! This really ought to be fixed as soon as possible  :~
~Tom~

majenko

LOL!  That's good!

It undoes the loading of the data into the editor.  I'm going to have to see if there is a way of flushing out the undo data after loading a file...

KDMcM

Hi.

I'm trying to do a "light on dark" theme. None of the parameters in theme.txt seems to adjust the colour of variable names. They're fixed at black.

Of course my eyesight is going (which is why I need a light on dark theme!)

Can anyone point me in the right direction, please?

maxid

I want to test them but i use OpenSuse with rpm packages. have you zip file for other distros?
El que pregunta aprende, el que responde aprende a responder.

majenko

Oops... yes, I have.  I generate it automatically, but I didn't have it listed in the index...  It's there now.

maxid

my first impression is very good, I can help translating into Spanish
El que pregunta aprende, el que responde aprende a responder.

majenko

The system has a certain amount of international language support, but it's not used yet. I need to go through and compile a template translation file that people can use and fill in to translate to their language, then I need to come up with some way of cataloging and selecting the language you want.

Once I have done at least part one of that I may well call on your help, as my Spanish is non-existant.

Go Up