Re: Integrating Nuttx to a firmware project.

2020-07-25 Thread Brennan Ashton
On Sat, Jul 25, 2020 at 4:09 AM Fotis Panagiotopoulos wrote: > > Perfect! kconfig-tweak is what I was looking for. I will give it a try > later today. > > However at this point I would like to ask. How is a debug build defined for > NuttX? > Surely there are configs that can be changed. But is the

Re: Integrating Nuttx to a firmware project.

2020-07-25 Thread Adam Feuer
Fotis, The debug.h file defines a lot of debug log settings that can be set or unset to see debug logging for different functional areas within NuttX. To use the settings, you first need to set the level you are interested in, one or more of: CONFIG_DEBUG_ERROR=yCONFIG_DEBUG_WARN=yCONFIG_DEBUG_IN

Re: Integrating Nuttx to a firmware project.

2020-07-25 Thread Fotis Panagiotopoulos
Perfect! kconfig-tweak is what I was looking for. I will give it a try later today. However at this point I would like to ask. How is a debug build defined for NuttX? Surely there are configs that can be changed. But is there any system-wide debug option? Is NDEBUG defined in any case? For exampl