Re: NuttX config browser

2020-07-05 Thread Disruptive Solutions
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

2020-06-18 Thread Xiang Xiao
Yes, I switch from eclipse to vscode several month ago. The experience is much 
better than eclipse from many perspective(project, editor, search, debug, shell 
and git). It's a good idea to setup the new wiki page to describe how to setup 
vscode for NuttX development, so the community can try vscode and get the real 
feeling. Then we can get more idea how to improve vscode to simplify the setup 
and streamline the daily work experience. Maciej, could you create an initial 
vscode info at: https://cwiki.apache.org/confluence/display/NUTTX? So we can 
share the vscode tip there.

Thanks
Xiang

> -Original Message-
> From: Maciej Wójcik 
> Sent: Friday, June 19, 2020 7:14 AM
> To: dev@nuttx.apache.org
> Subject: Re: NuttX config browser
> 
> They released today mentioned IDE
> https://os.mbed.com/blog/entry/mbed-studio-1-release
> 
> It is literally vscode with few plugins. We could go the same way and do 
> NuttX Studio :)
> 
> For the beginning I could just provide instructions on how to use vscode with 
> NuttX both for local and remote development.
> I was already using vscode for NuttX development, for some time, and it has 
> good C/C++ support in comparison to other IDEs.
> 
> With such instructions, we can identify what are the main issues and try to 
> address them.
> Also PlatformIO and Mbed Studio plugins might be open-source, then we could 
> just recommend them if they work or try to fork.
> 
> Am Mo., 1. Juni 2020 um 13:46 Uhr schrieb Xiang Xiao <
> xiaoxiang781...@gmail.com>:
> 
> > vscode may a good choice here:
> > https://code.visualstudio.com/
> > It is totally free, open source and run on macOS/Linux/Windows Many
> > 3rd party tool build around vscode(e.g. PlatformIO):
> > https://platformio.org/platformio-ide
> > And github announce a new IDE base on vscode recently:
> >
> > https://github.com/features/codespaces/?utm_source=announcement_me
> > dium=blog_campaign=satellite-product-recap
> > The best thing is that online version has the full feature as the
> > local version because vscode is built from JS, CSS, and HTML.
> >
> > > -Original Message-
> > > From: Maciej Wójcik 
> > > Sent: Monday, June 1, 2020 11:23 AM
> > > 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 <
> > > acas...@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  wrote:
> > > > >>
> > > > >> Maciej's tool is much easier to use. M

Re: NuttX config browser

2020-06-18 Thread Maciej Wójcik
They released today mentioned IDE
https://os.mbed.com/blog/entry/mbed-studio-1-release

It is literally vscode with few plugins. We could go the same way and do
NuttX Studio :)

For the beginning I could just provide instructions on how to use vscode
with NuttX both for local and remote development.
I was already using vscode for NuttX development, for some time, and it has
good C/C++ support in comparison to other IDEs.

With such instructions, we can identify what are the main issues and try to
address them.
Also PlatformIO and Mbed Studio plugins might be open-source, then we could
just recommend them if they work or try to fork.

Am Mo., 1. Juni 2020 um 13:46 Uhr schrieb Xiang Xiao <
xiaoxiang781...@gmail.com>:

> vscode may a good choice here:
> https://code.visualstudio.com/
> It is totally free, open source and run on macOS/Linux/Windows
> Many 3rd party tool build around vscode(e.g. PlatformIO):
> https://platformio.org/platformio-ide
> And github announce a new IDE base on vscode recently:
>
> https://github.com/features/codespaces/?utm_source=announcement_medium=blog_campaign=satellite-product-recap
> The best thing is that online version has the full feature as the local
> version because vscode is built from JS, CSS, and HTML.
>
> > -Original Message-
> > From: Maciej Wójcik 
> > Sent: Monday, June 1, 2020 11:23 AM
> > 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 <
> > acas...@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  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
> > > > > > >:
> > > >
> > > >> 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,
> > &g

Re: NuttX config browser

2020-06-15 Thread Alan Carvalho de Assis
Very nice Maciej!

Good job! Kudos!

On 6/15/20, Maciej Wójcik  wrote:
> 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 :
>
>> 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.sidr...@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:w8j...@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 <
>>> acas...@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  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 communit

RE: NuttX config browser

2020-06-01 Thread David Sidrane
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:w8j...@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 <
acas...@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  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  >:
> >
> >> 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 <
> >> bash...@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  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

2020-06-01 Thread Xiang Xiao
vscode may a good choice here:
https://code.visualstudio.com/
It is totally free, open source and run on macOS/Linux/Windows
Many 3rd party tool build around vscode(e.g. PlatformIO):
https://platformio.org/platformio-ide
And github announce a new IDE base on vscode recently:
https://github.com/features/codespaces/?utm_source=announcement_medium=blog_campaign=satellite-product-recap
The best thing is that online version has the full feature as the local version 
because vscode is built from JS, CSS, and HTML.

> -Original Message-
> From: Maciej Wójcik 
> Sent: Monday, June 1, 2020 11:23 AM
> 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 <
> acas...@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  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
> > > > >:
> > >
> > >> 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 <
> > >> bash...@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  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

2020-06-01 Thread Alan Carvalho de Assis
Hi Maciej,

On 6/1/20, Maciej Wójcik  wrote:
> 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.
>

About the NSH at least we could use Web Serial API:
https://wicg.github.io/serial/

I used Web Serial and Web Bluetooth few years ago to configure a
vehicle tracker powered by NuttX:

https://www.youtube.com/watch?v=sX6h0y29MPE

At that time the Web Bluetooth wasn't supported natively by the web
browsers, now I think they have better support.

About the Debug we need to find a way, maybe using Web USB to create a
communication with ST-LinkV2 and/or J-Link:
https://wicg.github.io/webusb/

BR,

Alan


Re: NuttX config browser

2020-05-31 Thread Maciej Wójcik
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 <
acas...@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  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  >:
> >
> >> 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 <
> >> bash...@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  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

2020-05-31 Thread Alan Carvalho de Assis
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  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 :
>
>> 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 <
>> bash...@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  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

2020-05-31 Thread Maciej Wójcik
>
> 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 :

> 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 <
> bash...@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  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

2020-05-31 Thread spudaneco
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 
 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  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

2020-05-31 Thread Brennan Ashton
On Sun, May 31, 2020, 9:17 AM Maciej Wójcik  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 release
version not master.

Maybe there is a regeneration step that's actually missing... I will need
to look at that, right now we just issue the inlining in the docs build.

--Brennan

>


Re: NuttX config browser

2020-05-31 Thread Gregory Nutt

On 5/31/2020 6:12 AM, Maciej Wójcik wrote:

Hello,

On many occasions I want to lookup configuration options in NuttX and I
found it inconvenient to run `menuconfig` for this.

So I quickly created a small web interface and deployed it here

 http://nuttx-config.nxtlabs.pl

It allows browsing and simple filtering of configuration entries. It
searches in keys, titles and descriptions. Shows only keys and titles, for
performance reasons.

I would also like to add a side pane which shows more details about
selected entry and allows jumping between related entries. Right now
something is missing to make it human friendly.

Am I not reinventing a wheel here? How do you handle this? Would community
benefit from such UI?

There is also this huge .html file that documents all of the 
configuration settings at: 
https://cwiki.apache.org/confluence/display/NUTTX/Nuttx under Documents 
(which appears to be down now).  That document is old, from NuttX 8.2 
and needs to be updated.





Re: NuttX config browser

2020-05-31 Thread Alan Carvalho de Assis
Hi Maciej,

The link is not opening here!

BR,

Alan

On 5/31/20, Maciej Wójcik  wrote:
> Hello,
>
> On many occasions I want to lookup configuration options in NuttX and I
> found it inconvenient to run `menuconfig` for this.
>
> So I quickly created a small web interface and deployed it here
>
> http://nuttx-config.nxtlabs.pl
>
> It allows browsing and simple filtering of configuration entries. It
> searches in keys, titles and descriptions. Shows only keys and titles, for
> performance reasons.
>
> I would also like to add a side pane which shows more details about
> selected entry and allows jumping between related entries. Right now
> something is missing to make it human friendly.
>
> Am I not reinventing a wheel here? How do you handle this? Would community
> benefit from such UI?
>


NuttX config browser

2020-05-31 Thread Maciej Wójcik
Hello,

On many occasions I want to lookup configuration options in NuttX and I
found it inconvenient to run `menuconfig` for this.

So I quickly created a small web interface and deployed it here

http://nuttx-config.nxtlabs.pl

It allows browsing and simple filtering of configuration entries. It
searches in keys, titles and descriptions. Shows only keys and titles, for
performance reasons.

I would also like to add a side pane which shows more details about
selected entry and allows jumping between related entries. Right now
something is missing to make it human friendly.

Am I not reinventing a wheel here? How do you handle this? Would community
benefit from such UI?