2021-02-11 09:15:09 -04:00
|
|
|
# UAVCAN boot loadable Module ID
|
2022-03-25 22:29:03 -03:00
|
|
|
set(uavcanblid_sw_version_major ${PX4_VERSION_MAJOR})
|
|
|
|
set(uavcanblid_sw_version_minor ${PX4_VERSION_MINOR})
|
2021-02-11 09:15:09 -04:00
|
|
|
add_definitions(
|
|
|
|
-DAPP_VERSION_MAJOR=${uavcanblid_sw_version_major}
|
|
|
|
-DAPP_VERSION_MINOR=${uavcanblid_sw_version_minor}
|
|
|
|
)
|
|
|
|
|
2021-02-11 09:33:46 -04:00
|
|
|
set(uavcanblid_hw_version_major 0)
|
|
|
|
set(uavcanblid_hw_version_minor 79)
|
2021-02-11 09:15:09 -04:00
|
|
|
set(uavcanblid_name "\"org.holybro.can-gps-v1\"")
|
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-DHW_UAVCAN_NAME=${uavcanblid_name}
|
|
|
|
-DHW_VERSION_MAJOR=${uavcanblid_hw_version_major}
|
|
|
|
-DHW_VERSION_MINOR=${uavcanblid_hw_version_minor}
|
|
|
|
)
|