px4_fmuv5x:Update manifest for USB not present

This commit is contained in:
David Sidrane
2020-03-02 11:31:35 -08:00
committed by Daniel Agar
parent ff4ec31d29
commit ee220a5086
2 changed files with 25 additions and 0 deletions
+24
View File
@@ -77,6 +77,11 @@ static const px4_hw_mft_item_t hw_mft_list_v0500[] = {
.mandatory = 1, .mandatory = 1,
.connection = px4_hw_con_onboard, .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[] = { 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, .mandatory = 0,
.connection = px4_hw_con_unknown, .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[] = { static px4_hw_mft_list_entry_t mft_lists[] = {
{0x0000, hw_mft_list_v0500, arraySize(hw_mft_list_v0500)}, {0x0000, hw_mft_list_v0500, arraySize(hw_mft_list_v0500)},
{0x0001, hw_mft_list_v0501, arraySize(hw_mft_list_v0501)}, {0x0001, hw_mft_list_v0501, arraySize(hw_mft_list_v0501)},
{0x0900, hw_mft_list_v0509, arraySize(hw_mft_list_v0509)},
}; };
@@ -664,6 +664,7 @@ __EXPORT int board_set_bootload_mode(board_reset_e mode);
typedef enum { typedef enum {
PX4_MFT_PX4IO = 0, PX4_MFT_PX4IO = 0,
PX4_MFT_USB = 1,
} px4_hw_mft_item_id_t; } px4_hw_mft_item_id_t;
typedef enum { typedef enum {