paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] ChibiOS v3 in Paparazzi


From: Michal Podhradsky
Subject: Re: [Paparazzi-devel] ChibiOS v3 in Paparazzi
Date: Wed, 15 Jun 2016 10:46:27 -0700

Dear all,

we have a dedicated wiki page about RT paparazzi: https://wiki.paparazziuav.org/wiki/RT_Paparazzi
I just updated it to be up to date, so hopefully it will be helpful for you.

There is HOWTO about (RT) Paparazzi debugging from Eclipse: https://wiki.paparazziuav.org/wiki/RT_Paparazzi#Debugging_with_an_Eclipse_IDE

And also HOWTO about setting up ChibiStudio plugins in Eclipse so you can view stack usage, thread memory, trace buffer etc. https://wiki.paparazziuav.org/wiki/RT_Paparazzi#ChibiOS_Eclipse_plugin

Note that debugging RT Paparazzi from Eclipse with Black Magic Probe currently doesn't work very well (I suspect some bug on Eclipse IDE side), but debugging from terminal works just fine.

Also, if you want to compile paparazzi flight code from Eclipse here is how: https://wiki.paparazziuav.org/wiki/RT_Paparazzi#Compiling_Paparazzi_code_in_Eclipse

Regards
Michal


On Wed, Jun 15, 2016 at 2:45 AM, Prof. Dr.-Ing. Heinrich Warmers <address@hidden> wrote:
Dear Alexandre Bustico,
tank you for the answer. I will make a test with the Black Magic Probe.
regards,

Heinrich


Am 15.06.2016 11:19, schrieb Alexandre Bustico:
Le 15/06/2016 11:04, Prof. Dr.-Ing. Heinrich Warmers a écrit :
Dear Gautier Hattenberger,

work the Black Magic Probe also with  Chbios- tasks?
With the OpenOCD and GDB  i had problems since each Task has his own heap and stack.
regards,

Heinrich

Hello,

Each task has his own stack, but the heap is global to all tasks.

With black magic probe, we have no problem to debug, it's even more reliable than the openocd way.

There is some plugins in eclipse and chibi studio to have a view of stack occupation, and that plugin is
not compatible with black magic probe, but, for now, we have seen that we can live without.
There are other solutions for stack occupation, one can leave chibios check for stack overflow,
and periodically check it at runtime.

Alexandre



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]