Building hg_led example and flashing to board gone wrong

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Building hg_led example and flashing to board gone wrong

233 Views
CasperGSonne
Contributor I

Hello, I am trying to create my own program in C and flash it onto my FMUk66 board. I have been following the gitbook tutorials so far though they don't seem to use MCUXpresso, i thought it should not be a problem. I added my hg_led.c and the cmakelists.txt file in the folder as expressed by the tutorial, but could not find the default.cmake file in the builds/nxp/fmuk66-v3 folder, as it told me to. Unsurprisingly, the example did not show up when i used the MAVlink console in Qgroundcontrol after having flashed the new build. Is has the default.cmake file been moved or is there anything else i might have done wrong?

Here is the tutorial i followed:

https://nxp.gitbook.io/hovergames/developerguide/px4-tutorial-example-code/hg-px4-example-lab-3 

The builds/nxp/fmuk66-v3 folder:

CasperGSonne_1-1708101904910.png

 

 

And the Firmware/src/examples folder:

CasperGSonne_2-1708101936054.png

 

Also, i tried making my own default.cmake file in the given directory, and copied the given code, though this also failed.

 

Thanks in advance.

 

0 Kudos
Reply
0 Replies