diff --git a/boards/px4/fmu-v5x/src/manifest.c b/boards/px4/fmu-v5x/src/manifest.c index cd12ca5145..742e3d6bc4 100644 --- a/boards/px4/fmu-v5x/src/manifest.c +++ b/boards/px4/fmu-v5x/src/manifest.c @@ -77,6 +77,11 @@ static const px4_hw_mft_item_t hw_mft_list_v0500[] = { .mandatory = 1, .connection = px4_hw_con_onboard, }, + { + .present = 1, + .mandatory = 1, + .connection = px4_hw_con_onboard, + }, }; static const px4_hw_mft_item_t hw_mft_list_v0501[] = { @@ -85,11 +90,30 @@ static const px4_hw_mft_item_t hw_mft_list_v0501[] = { .mandatory = 0, .connection = px4_hw_con_unknown, }, + { + .present = 1, + .mandatory = 1, + .connection = px4_hw_con_onboard, + }, +}; + +static const px4_hw_mft_item_t hw_mft_list_v0509[] = { + { + .present = 1, + .mandatory = 1, + .connection = px4_hw_con_onboard, + }, + { + .present = 0, + .mandatory = 0, + .connection = px4_hw_con_unknown, + }, }; static px4_hw_mft_list_entry_t mft_lists[] = { {0x0000, hw_mft_list_v0500, arraySize(hw_mft_list_v0500)}, {0x0001, hw_mft_list_v0501, arraySize(hw_mft_list_v0501)}, + {0x0900, hw_mft_list_v0509, arraySize(hw_mft_list_v0509)}, }; diff --git a/platforms/common/include/px4_platform_common/board_common.h b/platforms/common/include/px4_platform_common/board_common.h index 4fb1df349d..a8752a204f 100644 --- a/platforms/common/include/px4_platform_common/board_common.h +++ b/platforms/common/include/px4_platform_common/board_common.h @@ -664,6 +664,7 @@ __EXPORT int board_set_bootload_mode(board_reset_e mode); typedef enum { PX4_MFT_PX4IO = 0, + PX4_MFT_USB = 1, } px4_hw_mft_item_id_t; typedef enum {