mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Don't allow spacecraft module parameters for VOXL 2 builds (#24336)
- VOXL 2 builds use DISABLE_PARAMS_MODULE_SCOPING for parameters. The new spacecraft module has duplicate symbols with the control_allocator module and so this kills the VOXL 2 build
This commit is contained in:
parent
a151d85a1c
commit
eb18edf5eb
@ -62,6 +62,10 @@ if(DISABLE_PARAMS_MODULE_SCOPING)
|
||||
# allow those timer configurations to be skipped.
|
||||
if ((${PX4_BOARD_NAME} MATCHES "MODALAI_VOXL2") AND (file_path MATCHES pwm_out))
|
||||
message(STATUS "Skipping pwm file path ${file_path} for VOXL2")
|
||||
# Spacecraft has duplicate parameter names which kills the VOXL 2 build. VOXL 2 does not
|
||||
# support the spacecraft module so we skip adding the parameters.
|
||||
elseif ((${PX4_BOARD_NAME} MATCHES "MODALAI_VOXL2") AND (file_path MATCHES spacecraft))
|
||||
message(STATUS "Skipping spacecraft file path ${file_path} for VOXL2")
|
||||
else()
|
||||
list(APPEND module_config_files "${file_path}")
|
||||
endif()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user