PX4:comon Support BOARD_HAS_HW_SPLIT_VERSIONING

This commit is contained in:
David Sidrane
2024-01-30 11:15:03 -05:00
committed by Daniel Agar
parent 81f3542113
commit 136e08652f
5 changed files with 72 additions and 6 deletions
+10
View File
@@ -88,6 +88,16 @@ static inline int px4_board_hw_revision(void)
return board_get_hw_revision();
}
#if defined(BOARD_HAS_HW_SPLIT_VERSIONING)
/**
* get the base board type
*/
static inline const char *px4_board_base_type(void)
{
return board_get_hw_base_type_name();
}
#endif
/**
* get the build URI (used for crash logging)
*/