Resolve Firmware Build Failure When Using createCustomPX4Parameter
R2026bIssue
When you manually edit the CMake file and then use the createCustomPX4Parameter function to build PX4 firmware through the Add Parameter Information dialog box, the build might fail and display errors. This occurs because the manual changes to the CMake file can conflict with the build configuration expected by the function.
Possible Solution
Reset the build configuration by repeating Hardware Setup with an unmodified CMake file.
Run Hardware Setup again.
On the Select a PX4 Autopilot and Build Target step, select the correct CMake file for your autopilot.
Complete Hardware Setup.
Use the
createCustomPX4Parameterfunction to add the custom parameter and build the firmware.