[En-Nut-Discussion] Nutconf subtree construction

Hans Bacher hans at wack-engineering.de
Mon Mar 30 22:32:25 CEST 2009


Hi Thiago,

it would be great if you could run my script in your app. Perhaps a hint to
the actual problem will be revealed!!
What would be a suitable way for you to get my script?

Best regards,

Hans

-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Thiago A. Corrêa
Gesendet: Montag, 30. März 2009 20:52
An: Ethernut User Chat (English)
Betreff: Re: [En-Nut-Discussion] Nutconf subtree construction

Hi,

On Mon, Mar 30, 2009 at 3:11 PM, Hans Bacher <hans at wack-engineering.de>
wrote:
> Hi,
>
>
>
> after almost having finished porting the Microchip Graphics Library GUI
for
> use within Nut/OS, I am now trying to integrate the GUI into
Nut/OS/Nutconf
> build toolchain by adding a "GUI"-subtree to the configuration treeview.
All
> node and subnode declarations are performed within an additional, single
> repository file "gui.nut". One particular definition of a certain subnode
is
> driving me crazy since several hours. The defined item simply isn't
present
> in the subtree hierarchy. But if I copy the exact item definition and
insert
> it one depth level above into the hierarchy, it is displayed correctly.
The
> particular item I am trying to handle shall be placed on sublevel 3 (root
> level corresponds to level 1) within my "GUI"-subtree, having one further
> child node itself (a "checkbox"-item). First, I guessed a depth level
> restriction, but other parts of the original nut/os configuration tree do
> have similar structures organized within equally deep levels. Can anybody
> guess what could prevent my node declaration of being integrated
correctly!?
>

AFAIK, from my messing of the nutconf code, it does have a depth
restriction. I'm not sure what could be wrong. Perhaps you could post
your gui.nut or a patch of your changes?

There are some reporting code inside nutconf that will print the lua
errors, but you will have to rebuild nutconf from what I understand. I
haven't found yet where it's switched on though :(
As a "nothing better to do project", I rewrote nutconf using Qt, and I
got it to render the tree, change settings, etc... all but actually
building, settings dialog and displaying the two right info pannels.
Sometime after the first 2 weeks of April I might get stranded in some
internet free environment and have time to finish it hehe. Done that
using Qt's MVC, it's pretty cool :)

Anyway, I could run your script in my app to see what the lua errors
are, or I can send you a build if you want.

Cheers,
   Thiago A. Correa
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion




More information about the En-Nut-Discussion mailing list