You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by Maciej Wójcik <w8...@gmail.com> on 2020/07/05 21:11:14 UTC

Re: NuttX config browser

Update on development on NuttX kconfig browser:
- It is possible to select NuttX configurations from the list and load them.
- Shows direct dependencies in entry description.
- Improved upload of custom configuration.

[image: Screenshot from 2020-07-05 22-19-40.png]

In response to feedback:

I did not realize it was a drag drop (until is inspected the node), and
> tried clicking on it.  It might be a good idea to add a open dialog there.
>


Now it is also possible to click it.

Full release notes are here
https://gitlab.com/nuttx-upm/kconfig-browser/web-ui/-/releases/0.4

Am Mo., 15. Juni 2020 um 15:13 Uhr schrieb David Sidrane <
David.Sidrane@nscdg.com>:

>
>
> Hi Maciej,
>
>
>
> Thank you for changes. This is a cool tool!
>
>
>
> FYI: I did not realize it was a drag drop (until is inspected the node),
> and tried clicking on it.  It might be a good idea to add a open dialog
> there.
>
>
>
> Thank you,
>
>
>
> David
>
>
>
> *From:* Maciej Wójcik [mailto:w8jcik@gmail.com]
> *Sent:* Monday, June 15, 2020 3:45 AM
> *To:* dev@nuttx.apache.org
> *Subject:* Re: NuttX config browser
>
>
>
> Update on development of NuttX kconfig browser.
>
>
>
> It is now possible to upload and display existing `.config` file.
>
>
>
> [image: Screenshot from 2020-06-15 12-21-08.png]
>
>
>
>
>
> What I am planning next is to provide more detail on each entry. Similar
> to what Zephyr does in it's Kconfig cross-reference
>
> https://docs.zephyrproject.org/latest/reference/kconfig/index-drivers.html
>
>
>
> We have the same type of information because I am using the same library.
>
>
>
> Any suggestions how it could look are welcome.
>
>
>
> Full list of changes:
>
> https://gitlab.com/w8jcik/nuttx-config-tree-ui/-/releases/0.3
>
>
>
> Am Mi., 3. Juni 2020 um 16:21 Uhr schrieb Maciej Wójcik <w8jcik@gmail.com
> >:
>
> A suggestion: when the user click on the option it should be nice to see
> the Help for that option.
>
>
>
> I have added a side panel with entry description
> http://nuttx-config.nxtlabs.pl
>
>
>
> [image: Screenshot from 2020-06-03 16-08-40.png]
>
>
>
> It would be great to also show dependencies, reverse-dependencies and
> allow navigation.
>
>
>
> Could you have an option to upload a defconfig to see the settings based
> on it?
>
>
>
> I should be able to do this. I could allow dropping of a file into the
> browser and then it would filter the tree based on it. Also display values
> next to every entry.
>
>
>
> Is it what you have in mind? If not, could you describe how it should work?
>
>
>
> Am Mo., 1. Juni 2020 um 15:59 Uhr schrieb David Sidrane <
> David.Sidrane@nscdg.com>:
>
> Hi Maciej,
>
> Could you have an option to upload a defconfig to see the settings based on
> it?
>
> David
>
> -----Original Message-----
> From: Maciej Wójcik [mailto:w8jcik@gmail.com]
> Sent: Sunday, May 31, 2020 8:23 PM
> To: dev@nuttx.apache.org
> Subject: Re: NuttX config browser
>
> Hello Alan,
>
> A suggestion: when the user click on the option it should be nice to
> > see the Help for that option.
>
>
> Sure, I will add a side pane.
>
> Regarding online IDE. I was trying few times to switch to online
> development. The problem is that to debug or even to connect to nsh, one
> still needs local software and local copy of entire project. Which is
> against the basic reason why we would like to develop online. It is also a
> bit difficult to come up with own, custom online IDE. It is simply a lot of
> work, for a team of people.
>
> That being said I can easily imagine using existing online IDE to develop
> NuttX project. It could be just described how to do it efficiently. For
> example git repository can be cloned to GitLab and opened with their IDE.
> Then binary comes from pipeline which can be flashed to the
> microcontroller. Some simple client can be created which automates
> flashing. Still the issue of debugging remains.
>
> I will take a look at MBED and see how did they solve the issue.
>
> Am So., 31. Mai 2020 um 22:09 Uhr schrieb Alan Carvalho de Assis <
> acassis@gmail.com>:
>
> > Hi Maciej,
> >
> > A suggestion: when the user click on the option it should be nice to
> > see the Help for that option.
> >
> > Do you think it could be possible to do it?
> >
> > Did you test MBED platform in the browser ever? They have an online
> > IDE where people can create an application, compile it and load the
> > firmware in the board.
> >
> > It should be nice if we could have a way to compile NuttX in the
> > browser, like MBED is doing for a long time (more than 8 years at
> > least).
> >
> > BR,
> >
> > Alan
> >
> > On 5/31/20, Maciej Wójcik <w8...@gmail.com> wrote:
> > >>
> > >> Maciej's tool is much easier to use. Maciej has several other cool
> > >> NuttX
> > >> tools.
> > >
> > >
> > > Thank you Greg for a good word. I will work on this configuration
> > > browser
> > > more and I am glad to contribute it if the community will find it
> > > useful.
> > > Regarding the other tools, I had one more project but I overcomplicated
> > it
> > > and it ended up nowhere. I am still working on it from time to time,
> but
> > I
> > > can't promise it will ever be production ready.
> > >
> > > Am So., 31. Mai 2020 um 19:18 Uhr schrieb spudaneco <
> spudaneco@gmail.com
> > >:
> > >
> > >> The configuration document he is referring to is not in the
> repository.
> > >> I
> > >> used to create it only for releases using a custom tool at
> > >> tools/mkconfigvars.shMaciej's tool is much easier to use.Maciej has
> > >> several
> > >> other cool NuttX tools.  In a meritocracy, I think contributing these
> > >> to
> > >> the project would score pretty high (hint, hint, hint)Sent from
> Samsung
> > >> tablet.
> > >> -------- Original message --------From: Brennan Ashton <
> > >> bashton@brennanashton.com> Date: 5/31/20  11:04 AM  (GMT-06:00) To:
> > >> dev@nuttx.apache.org Subject: Re: NuttX config browser On Sun, May
> 31,
> > >> 2020, 9:17 AM Maciej Wójcik <w8...@gmail.com> wrote:> That document
> is
> > >> old, from NuttX 8.2 and needs to be updated.>>> Yes, now I remember
> > >> that
> > >> there was some page with configuration options. I> think it serves the
> > >> purpose. It could be auto generated using CI, then it> wouldn't be
> > >> outdated. Still I thought it could be a bit more interactive>It is
> > >> built
> > >> via CI on every build, but only hosts the latest releaseversion not
> > >> master.Maybe there is a regeneration step that's actually missing... I
> > >> will
> > >> needto look at that, right now we just issue the inlining in the docs
> > >> build.--Brennan>
> > >
> >
>
>

Re: NuttX config browser

Posted by Disruptive Solutions <di...@gmail.com>.
See also http://nuttx.nl. I am using it for a long time already. Just know
that, when you want to debug for a hardvault, you still need Eclipse. So it
seems.

Have fun with it.

Ben

RE: NuttX config browser

Posted by David Sidrane <Da...@nscdg.com>.
Hi Maciej,



Thank you!



David



*From:* Maciej Wójcik [mailto:w8jcik@gmail.com]
*Sent:* Sunday, July 05, 2020 2:11 PM
*To:* dev@nuttx.apache.org
*Subject:* Re: NuttX config browser



Update on development on NuttX kconfig browser:

- It is possible to select NuttX configurations from the list and load them.

- Shows direct dependencies in entry description.

- Improved upload of custom configuration.

[image: Screenshot from 2020-07-05 22-19-40.png]



In response to feedback:

I did not realize it was a drag drop (until is inspected the node), and
tried clicking on it.  It might be a good idea to add a open dialog there.


Now it is also possible to click it.

Full release notes are here
https://gitlab.com/nuttx-upm/kconfig-browser/web-ui/-/releases/0.4



Am Mo., 15. Juni 2020 um 15:13 Uhr schrieb David Sidrane <
David.Sidrane@nscdg.com>:



Hi Maciej,



Thank you for changes. This is a cool tool!



FYI: I did not realize it was a drag drop (until is inspected the node),
and tried clicking on it.  It might be a good idea to add a open dialog
there.



Thank you,



David



*From:* Maciej Wójcik [mailto:w8jcik@gmail.com]
*Sent:* Monday, June 15, 2020 3:45 AM
*To:* dev@nuttx.apache.org
*Subject:* Re: NuttX config browser



Update on development of NuttX kconfig browser.



It is now possible to upload and display existing `.config` file.



[image: Screenshot from 2020-06-15 12-21-08.png]





What I am planning next is to provide more detail on each entry. Similar to
what Zephyr does in it's Kconfig cross-reference

https://docs.zephyrproject.org/latest/reference/kconfig/index-drivers.html



We have the same type of information because I am using the same library.



Any suggestions how it could look are welcome.



Full list of changes:

https://gitlab.com/w8jcik/nuttx-config-tree-ui/-/releases/0.3



Am Mi., 3. Juni 2020 um 16:21 Uhr schrieb Maciej Wójcik <w8...@gmail.com>:

A suggestion: when the user click on the option it should be nice to see
the Help for that option.



I have added a side panel with entry description
http://nuttx-config.nxtlabs.pl



[image: Screenshot from 2020-06-03 16-08-40.png]



It would be great to also show dependencies, reverse-dependencies and allow
navigation.



Could you have an option to upload a defconfig to see the settings based on
it?



I should be able to do this. I could allow dropping of a file into the
browser and then it would filter the tree based on it. Also display values
next to every entry.



Is it what you have in mind? If not, could you describe how it should work?



Am Mo., 1. Juni 2020 um 15:59 Uhr schrieb David Sidrane <
David.Sidrane@nscdg.com>:

Hi Maciej,

Could you have an option to upload a defconfig to see the settings based on
it?

David

-----Original Message-----
From: Maciej Wójcik [mailto:w8jcik@gmail.com]
Sent: Sunday, May 31, 2020 8:23 PM
To: dev@nuttx.apache.org
Subject: Re: NuttX config browser

Hello Alan,

A suggestion: when the user click on the option it should be nice to
> see the Help for that option.


Sure, I will add a side pane.

Regarding online IDE. I was trying few times to switch to online
development. The problem is that to debug or even to connect to nsh, one
still needs local software and local copy of entire project. Which is
against the basic reason why we would like to develop online. It is also a
bit difficult to come up with own, custom online IDE. It is simply a lot of
work, for a team of people.

That being said I can easily imagine using existing online IDE to develop
NuttX project. It could be just described how to do it efficiently. For
example git repository can be cloned to GitLab and opened with their IDE.
Then binary comes from pipeline which can be flashed to the
microcontroller. Some simple client can be created which automates
flashing. Still the issue of debugging remains.

I will take a look at MBED and see how did they solve the issue.

Am So., 31. Mai 2020 um 22:09 Uhr schrieb Alan Carvalho de Assis <
acassis@gmail.com>:

> Hi Maciej,
>
> A suggestion: when the user click on the option it should be nice to
> see the Help for that option.
>
> Do you think it could be possible to do it?
>
> Did you test MBED platform in the browser ever? They have an online
> IDE where people can create an application, compile it and load the
> firmware in the board.
>
> It should be nice if we could have a way to compile NuttX in the
> browser, like MBED is doing for a long time (more than 8 years at
> least).
>
> BR,
>
> Alan
>
> On 5/31/20, Maciej Wójcik <w8...@gmail.com> wrote:
> >>
> >> Maciej's tool is much easier to use. Maciej has several other cool
> >> NuttX
> >> tools.
> >
> >
> > Thank you Greg for a good word. I will work on this configuration
> > browser
> > more and I am glad to contribute it if the community will find it
> > useful.
> > Regarding the other tools, I had one more project but I overcomplicated
> it
> > and it ended up nowhere. I am still working on it from time to time, but
> I
> > can't promise it will ever be production ready.
> >
> > Am So., 31. Mai 2020 um 19:18 Uhr schrieb spudaneco <spudaneco@gmail.com
> >:
> >
> >> The configuration document he is referring to is not in the repository.
> >> I
> >> used to create it only for releases using a custom tool at
> >> tools/mkconfigvars.shMaciej's tool is much easier to use.Maciej has
> >> several
> >> other cool NuttX tools.  In a meritocracy, I think contributing these
> >> to
> >> the project would score pretty high (hint, hint, hint)Sent from Samsung
> >> tablet.
> >> -------- Original message --------From: Brennan Ashton <
> >> bashton@brennanashton.com> Date: 5/31/20  11:04 AM  (GMT-06:00) To:
> >> dev@nuttx.apache.org Subject: Re: NuttX config browser On Sun, May 31,
> >> 2020, 9:17 AM Maciej Wójcik <w8...@gmail.com> wrote:> That document is
> >> old, from NuttX 8.2 and needs to be updated.>>> Yes, now I remember
> >> that
> >> there was some page with configuration options. I> think it serves the
> >> purpose. It could be auto generated using CI, then it> wouldn't be
> >> outdated. Still I thought it could be a bit more interactive>It is
> >> built
> >> via CI on every build, but only hosts the latest releaseversion not
> >> master.Maybe there is a regeneration step that's actually missing... I
> >> will
> >> needto look at that, right now we just issue the inlining in the docs
> >> build.--Brennan>
> >
>