RE: Debugging a specific application

2022-12-01 Thread Bucher Roberto
Marc Rosen Data: 01/12/22 13:36 (GMT+01:00) A: dev@nuttx.apache.org Oggetto: Re: Debugging a specific application Hi, mind to check if in menu Library Routines the option "Support Builtin Applications" is set? And if in menu Application Configuration -> NSH Libraray "Enable bu

Re: Debugging a specific application

2022-12-01 Thread Marc Rosen
Hi, mind to check if in menu Library Routines the option "Support Builtin Applications" is set? And if in menu Application Configuration -> NSH Libraray "Enable built-in applications" is set? regards Marc Rosen ZeitControl Cardsystems GmbH Siedlerweg 39 D-32429 Minden Tel.++49 (0)571

Re: Debugging a specific application

2022-12-01 Thread Sebastien Lorquet
Dont think about nuttx like you do with linux with isolated processes and apps loaded from disk files :) it's more like a *very* advanced set of arduino libs in most usual cases. (others dont hit me, I know this is extreme simplification.) if the microros app is compiled in your os image, the

Re: Debugging a specific application

2022-11-30 Thread Roberto Bucher
Danke Sebastien The application (microros) is configured and compiled by the nuttx generation. But if the routine is in the shell, how can I start it from the debugger? Thanks in advance Roberto On 11/30/22 22:17, Sebastien Lorquet wrote: Hi, If your OS is built in monolithic mode (no pro

Re: Debugging a specific application

2022-11-30 Thread Sebastien Lorquet
Hi, If your OS is built in monolithic mode (no protected mode) then applications are just routines, so you can put a breakpoint in any app routine and let it run until there. To replace nsh by your app, do make menuconfig, menu RTOS features, menu Tasks and scheduling, text config "Applicati

Re: Debugging a specific application

2022-11-30 Thread Tim Hardisty
Not sure if it helps, but the built-in apps can be easily debugged, so could you perhaps include your application as a custom app, selected via the NuttX Kconfig so it gets built in, then start it from the nsh? A workaround maybe, but might help? On 30/11/2022, 05:40, "Roberto Bucher" wrote: