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 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 "Application entry point".
But it is not necessary to replace the default app, you can launch it
with nsh and still hit a breakpoint in your launched app.
Sebastien
On 11/30/22 06:40, Roberto Bucher wrote:
Hi
I'm working on my nucleo-144 board, trying to get a microROS working
again under NuttX.
Thanks to a unique change in a microROS file, I've reached to
recompile all the files again and I can obtain the microros
application as described here:
https://github.com/micro-ROS/micro_ros_nuttx_appĀ apps/microros
The application doesn't correctly work yet, and I'm looking for the
problem. I'd like to debug the microros application, but the debugger
shows (as expected) the nsh task. It is possible to start the
specific "microros" generated program or I have to set it as entry
point? Otherwise, how can I attach this task to the debugger? I'm
able to debug the nsh application with the methods described on the
NuttX documentation about debugger. Thanks in advance Roberto