45 #include <px4_platform_common/px4_config.h> 56 return PX4_BOARD_NAME;
64 return board_get_hw_type_name();
72 return board_get_hw_version();
80 return board_get_hw_revision();
__EXPORT uint64_t px4_mavlink_lib_version_binary(void)
MAVLink lib version in binary form (first part of the git tag)
__EXPORT uint32_t version_tag_to_number(const char *tag)
Convert a version tag string to a number.
static const char * px4_board_sub_type(void)
get the board sub type
const char * px4_build_uri(void)
get the build URI (used for crash logging)
A set of useful macros for enhanced runtime and compile time error detection and warning suppression...
__EXPORT uint32_t px4_board_version(void)
get the board version (last 8 bytes should be silicon ID, if any)
__EXPORT uint64_t px4_firmware_version_binary(void)
Firmware version in binary form (first part of the git tag)
__EXPORT uint32_t px4_firmware_vendor_version(void)
get the PX4 Firmware vendor version
__EXPORT const char * px4_ecl_lib_version_string(void)
ECL lib version as human readable string (git tag)
static int px4_board_hw_revision(void)
get the board HW revision
__EXPORT uint64_t px4_os_version_binary(void)
Operating system version in binary form (first part of the git tag)
__EXPORT const char * px4_firmware_git_branch(void)
get the git branch name (can be empty, for example if HEAD points to a tag)
__EXPORT uint32_t px4_firmware_version(void)
get the PX4 Firmware version
__EXPORT const char * px4_os_version_string(void)
Operating system version as human readable string (git tag)
static __BEGIN_DECLS const char * px4_board_name(void)
get the board name as string (including the version if there are multiple)
__EXPORT const char * px4_firmware_version_string(void)
Firmware version as human readable string (git tag)
__EXPORT const char * px4_toolchain_version(void)
Toolchain version used to compile PX4 (no particular format)
__EXPORT const char * px4_os_name(void)
name of the operating system
__EXPORT uint32_t px4_os_version(void)
operating system version
__EXPORT const char * px4_toolchain_name(void)
Toolchain name used to compile PX4.
static int px4_board_hw_version(void)
get the board HW version
__EXPORT uint32_t version_tag_to_vendor_version_number(const char *tag)
Convert a version tag string to a vendor version number.