1810134_en-US

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

1810134_en-US

1810134_en-US

Building hg_led example and flashing to board gone wrong

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.


Re: Building hg_led example and flashing to board gone wrong

The error in building https://skytils.com/  likely stems from incorrect toolchain setup or missing dependencies. Double-check board configuration and ensure all SDK paths are correctly set

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 06:50 PM
Updated by: