[En-Nut-Discussion] Nutconf subtree construction
Thiago A. Corrêa
thiago.correa at gmail.com
Mon Mar 30 20:52:11 CEST 2009
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
More information about the En-Nut-Discussion
mailing list