PX4 / PX4-Bootloader

PX4 Bootloader for PX4FMU, PX4IO and PX4FLOW
Other
266 stars 547 forks source link

Add a new target Pixhawk5X #215

Open jamming opened 2 years ago

jamming commented 2 years ago

Pixhawk5X is produced by holybro. It is full base on Pixhawk FMUV5X standards. This new bootloader has Holybro usb pid and manufacture string.

vincentpoont2 commented 2 years ago

@davids5 The bootloader on Pixhawk5X currently shows this information, with the USBMFGSTRING as "Auterion" Current Bootloader Info

We feel like it is inaccurate so we want to change it to. Prefered Bootloader Info

May you please let me know if this is possible? What kind of firmware & QGC changes needs to be made? Is there other alternative?

davids5 commented 2 years ago

@mrpollo - Would you please enumerate all the changes you unstreamed to QGC for V5X. FYI: @LorenzMeier

a board_id (BOARD_TYPE in bootloader) 51 (0x33 hex) is used to select the firmware. TARGET_HW_PX4_FMU_V5X and TARGET_HW_PIXHAWK5X would have the same id therefore the FW would be px4_fmuv-5x and it has build time setting for the CDCACM values of VID/PID/MFG (A limitation of NuttX) so it will report with the "Auterion" set.

a) To resolve this we would need dynamic USB CDCACM based on the REV/VER OR b) a separate board support (defconfig) directory that is a duplicate of V5X

mrpollo commented 2 years ago

@davids5 its a straightforward change in QGC, see this PR https://github.com/mavlink/qgroundcontrol/pull/9816