-
Hi, We are unable to debug the Crazyflie firmware when built with an app. we get the error saying "#include app.h not found". We don't have a problem when debugging the firmware itself. I find this strange because the Makefile in the firmware already has the INCLUDES and the app's Makefile is set to use all these paths, so what could be the problem here? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
Hi! Just some more questions about your issue:
Not sure what is going on, but just asking to be able to recreate your problem. |
Beta Was this translation helpful? Give feedback.
-
@danteppc the eclipse instructions are quite outdated here: https://www.bitcraze.io/documentation/repository/crazyflie-firmware/master/development/openocd_gdb_debugging/. Could you try to see if the vscode way works for you? |
Beta Was this translation helpful? Give feedback.
-
Another thing that might has gone wrong: Have you compiled the firmware with It might be that this configuration goes wrong when compiling and that the app.h is not included but looking at the firmware this should not be a problem. |
Beta Was this translation helpful? Give feedback.
-
Ok so thank you for the replies, the problem has been solved. We were trying to run on single file rather than using the proper STM32 debug button 😅 Sorry for the trouble. |
Beta Was this translation helpful? Give feedback.
Ok so thank you for the replies, the problem has been solved. We were trying to run on single file rather than using the proper STM32 debug button 😅
Sorry for the trouble.