forked from Archive/PX4-Autopilot
18 lines
546 B
Plaintext
18 lines
546 B
Plaintext
# UAVCAN boot loadable Module ID
|
|
set(uavcanblid_sw_version_major ${PX4_VERSION_MAJOR})
|
|
set(uavcanblid_sw_version_minor ${PX4_VERSION_MINOR})
|
|
add_definitions(
|
|
-DAPP_VERSION_MAJOR=${uavcanblid_sw_version_major}
|
|
-DAPP_VERSION_MINOR=${uavcanblid_sw_version_minor}
|
|
)
|
|
|
|
set(uavcanblid_hw_version_major 0)
|
|
set(uavcanblid_hw_version_minor 85)
|
|
set(uavcanblid_name "\"org.freefly.can-rtk-gps\"")
|
|
|
|
add_definitions(
|
|
-DHW_UAVCAN_NAME=${uavcanblid_name}
|
|
-DHW_VERSION_MAJOR=${uavcanblid_hw_version_major}
|
|
-DHW_VERSION_MINOR=${uavcanblid_hw_version_minor}
|
|
)
|