Re: Integrating Nuttx to a firmware project.

2020-07-24 Thread Adam Feuer
I wrote up the kconfig-tweak usage here: https://nuttx-companion.readthedocs.io/en/latest/user/debugging.html#changing-debug-settings-quickly -adam On Fri, Jul 24, 2020 at 3:24 PM Matias N. wrote: > I'm thinking in implementing it in my nuttx workspace manager as well =) > > On Fri, Jul 24, 20

Re: Integrating Nuttx to a firmware project.

2020-07-24 Thread Matias N.
I'm thinking in implementing it in my nuttx workspace manager as well =) On Fri, Jul 24, 2020, at 17:32, Nathan Hartman wrote: > On Fri, Jul 24, 2020 at 3:49 PM Adam Feuer wrote: > > > > On Fri, Jul 24, 2020 at 12:40 PM Gregory Nutt wrote: > > > > > a dumb script like that one Abdelatif demonstr

Re: Integrating Nuttx to a firmware project.

2020-07-24 Thread Gregory Nutt
a dumb script like that one Abdelatif demonstrated will multiple calls to kconfig-tweak can be used to turn on all of the configuration options that you need. Cool! I didn't know I could do this. Now that I know, I think I'll convert my configs to work this way. It will be much more convenie

Re: Integrating Nuttx to a firmware project.

2020-07-24 Thread Nathan Hartman
On Fri, Jul 24, 2020 at 3:49 PM Adam Feuer wrote: > > On Fri, Jul 24, 2020 at 12:40 PM Gregory Nutt wrote: > > > a dumb script like that one Abdelatif demonstrated > > will multiple calls to kconfig-tweak can be used to turn on all of the > > configuration options that you need. > > > > Cool! I

Re: Integrating Nuttx to a firmware project.

2020-07-24 Thread Adam Feuer
On Fri, Jul 24, 2020 at 12:40 PM Gregory Nutt wrote: > a dumb script like that one Abdelatif demonstrated > will multiple calls to kconfig-tweak can be used to turn on all of the > configuration options that you need. > Cool! -adam -- Adam Feuer

Re: Integrating Nuttx to a firmware project.

2020-07-24 Thread Gregory Nutt
If no tool exists for this, Yes, kconfig-tweak. kconfig-tweak will enable or disable any setting configuration setting.  The full set of debug options to enable is project-specific, but a dumb script like that one Abdelatif demonstrated will multiple calls to kconfig-tweak can be used to tur

Re: Integrating Nuttx to a firmware project.

2020-07-24 Thread Adam Feuer
If no tool exists for this, we could easily write one– it could look through a file with the debug settings, and turn them on or off in a config. It would help me too. I often want to quickly turn on or off particular debug settings while doing testing. Is this something that's wanted? -adam On

Re: Integrating Nuttx to a firmware project.

2020-07-24 Thread Fotis Panagiotopoulos
> I keep two config files, one for debug, one for release. Very similar > except for the kinds of debugging options you mentioned. This is exactly what I want to avoid. I will have to support 3 different boards, with maybe 3 different build types. Thus 9 configurations. This will be very difficul

Re: Integrating Nuttx to a firmware project.

2020-07-24 Thread Abdelatif Guettouche
> Can kconfig-tweak be used to quickly turn on and off these kind of settings > (such as debugging)? Maybe something like: kconfig-tweak --disable (or --enable) CONFIG_DEBUG_FEATURES make oldconfig On Fri, Jul 24, 2020 at 7:57 PM Matias N. wrote: > > Can kconfig-tweak be used to quickly turn on

Re: Integrating Nuttx to a firmware project.

2020-07-24 Thread Matias N.
Can kconfig-tweak be used to quickly turn on and off these kind of settings (such as debugging)? > I keep two config files, one for debug, one for release. Very similar > except for the kinds of debugging options you mentioned. > > Nathan >

Re: Integrating Nuttx to a firmware project.

2020-07-24 Thread Nathan Hartman
On Fri, Jul 24, 2020 at 12:26 PM Fotis Panagiotopoulos wrote: > Hello, > > So, I have set up my workspace now, and I have NuttX running properly on my > custom board. > I have another question though, regarding how to set things up for > development. > > Usually I have at least 2 build configurat

Re: About license headers

2020-07-24 Thread Adam Feuer
Duo, Great idea about using the issue. I put a link to the wiki page there. Justin, Regarding getting the copyright owner's permission, it sounds like we need to add a step in the license clearing process to find out where the

Re: Integrating Nuttx to a firmware project.

2020-07-24 Thread Fotis Panagiotopoulos
Hello, So, I have set up my workspace now, and I have NuttX running properly on my custom board. I have another question though, regarding how to set things up for development. Usually I have at least 2 build configurations: one for debugging, one for releases etc. Debug builds have assertions e

Re: RNDIS Kinetis

2020-07-24 Thread Schock, Johannes - NIVUS GmbH
It seems sometimes reading the readme could save from heavy debugging and writing an email. But nevertheless, I filed a PR: https://github.com/apache/incubator-nuttx/pull/1456 RNDIS is working now, I have TCP/IP Telnet access through USB on Kinetis K28. Regards, Johannes > -Original Message-