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/06/01 03:23:13 UTC

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 Alan Carvalho de Assis <ac...@gmail.com>.
Very nice Maciej!

Good job! Kudos!

On 6/15/20, Maciej Wójcik <w8...@gmail.com> 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 <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>
>>> > >
>>> >
>>>
>>
>

RE: NuttX config browser

Posted by Xiang Xiao <xi...@gmail.com>.
How about we create a new wiki page to collect these useful tools:

https://cwiki.apache.org/confluence/display/NUTTX/NuttX

 

 

From: David Sidrane <Da...@nscdg.com> 
Sent: Monday, June 15, 2020 9:13 PM
To: dev@nuttx.apache.org
Subject: RE: NuttX config browser

 

 

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: <ma...@gmail.com> w8jcik@gmail.com] 
Sent: Monday, June 15, 2020 3:45 AM
To:  <ma...@nuttx.apache.org> 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.

 



 

 

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

 



 

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 <ma...@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 <ma...@gmail.com> ]
Sent: Sunday, May 31, 2020 8:23 PM
To: dev@nuttx.apache.org <ma...@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 <ma...@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 <w8jcik@gmail.com <ma...@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 <ma...@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 <ma...@brennanashton.com> > Date: 5/31/20  11:04 AM  (GMT-06:00) To:
> >> dev@nuttx.apache.org <ma...@nuttx.apache.org>  Subject: Re: NuttX config browser On Sun, May 31,
> >> 2020, 9:17 AM Maciej Wójcik <w8jcik@gmail.com <ma...@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>
> >
>

Re: NuttX config browser

Posted by Maciej Wójcik <w8...@gmail.com>.
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 David Sidrane <Da...@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>
> >
>

Re: NuttX config browser

Posted by Maciej Wójcik <w8...@gmail.com>.
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>
>> > >
>> >
>>
>

Re: NuttX config browser

Posted by 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>
> > >
> >
>

RE: NuttX config browser

Posted by David Sidrane <Da...@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 Alan Carvalho de Assis <ac...@gmail.com>.
Hi Maciej,

On 6/1/20, Maciej Wójcik <w8...@gmail.com> 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

Posted by Xiang Xiao <xi...@gmail.com>.
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 <w8...@gmail.com>
> 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 <
> xiaoxiang781216@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&utm_me
> > dium=blog&utm_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 <w8...@gmail.com>
> > > 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 <
> > > 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
> > > > >> I> 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 Maciej Wójcik <w8...@gmail.com>.
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 <
xiaoxiang781216@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&utm_medium=blog&utm_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 <w8...@gmail.com>
> > 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 <
> > 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 Xiang Xiao <xi...@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&utm_medium=blog&utm_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 <w8...@gmail.com>
> 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 <
> 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>
> > >
> >