mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
inverted S.bus signal and fetch the data of each channel and publish it 2. Fix the bug of linux_pwm_out, when the protocol is pca9685, after the init method is executed,the method of determining the return value of init method is incorrect,this will cause the driver to fail 3. Add linux_sbus driver to other posix prefixes cmake files
99 lines
2.1 KiB
CMake
99 lines
2.1 KiB
CMake
include(posix/px4_impl_posix)
|
|
|
|
# Get $QC_SOC_TARGET from environment if existing.
|
|
if (DEFINED ENV{QC_SOC_TARGET})
|
|
set(QC_SOC_TARGET $ENV{QC_SOC_TARGET})
|
|
else()
|
|
set(QC_SOC_TARGET "APQ8074")
|
|
endif()
|
|
|
|
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/cmake_hexagon/toolchain/Toolchain-arm-linux-gnueabihf.cmake)
|
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
|
|
|
|
# Disable the creation of the parameters.xml file by scanning individual
|
|
# source files, and scan all source files. This will create a parameters.xml
|
|
# file that contains all possible parameters, even if the associated module
|
|
# is not used. This is necessary for parameter synchronization between the
|
|
# ARM and DSP processors.
|
|
set(DISABLE_PARAMS_MODULE_SCOPING TRUE)
|
|
|
|
# Get $QC_SOC_TARGET from environment if existing.
|
|
if (DEFINED ENV{QC_SOC_TARGET})
|
|
set(QC_SOC_TARGET $ENV{QC_SOC_TARGET})
|
|
else()
|
|
set(QC_SOC_TARGET "APQ8074")
|
|
endif()
|
|
|
|
set(CONFIG_SHMEM "1")
|
|
|
|
set(config_module_list
|
|
drivers/device
|
|
drivers/blinkm
|
|
drivers/linux_sbus
|
|
drivers/pwm_out_sim
|
|
drivers/rgbled
|
|
drivers/led
|
|
drivers/boards/sitl
|
|
drivers/qshell/posix
|
|
|
|
systemcmds/param
|
|
systemcmds/led_control
|
|
systemcmds/mixer
|
|
systemcmds/ver
|
|
systemcmds/topic_listener
|
|
|
|
modules/mavlink
|
|
|
|
modules/attitude_estimator_q
|
|
modules/position_estimator_inav
|
|
modules/local_position_estimator
|
|
modules/ekf2
|
|
|
|
modules/mc_pos_control
|
|
modules/mc_att_control
|
|
|
|
modules/systemlib/param
|
|
modules/systemlib
|
|
modules/systemlib/mixer
|
|
modules/uORB
|
|
modules/muorb/krait
|
|
modules/sensors
|
|
modules/dataman
|
|
modules/sdlog2
|
|
modules/logger
|
|
modules/simulator
|
|
modules/commander
|
|
modules/navigator
|
|
|
|
# micro RTPS
|
|
modules/micrortps_bridge/micrortps_client
|
|
|
|
lib/controllib
|
|
lib/mathlib
|
|
lib/mathlib/math/filter
|
|
lib/conversion
|
|
lib/ecl
|
|
lib/geo
|
|
lib/geo_lookup
|
|
lib/led
|
|
lib/terrain_estimation
|
|
lib/runway_takeoff
|
|
lib/tailsitter_recovery
|
|
lib/version
|
|
lib/DriverFramework/framework
|
|
lib/micro-CDR
|
|
|
|
platforms/common
|
|
platforms/posix/px4_layer
|
|
platforms/posix/work_queue
|
|
)
|
|
|
|
set(config_rtps_send_topics
|
|
sensor_baro
|
|
)
|
|
|
|
set(config_rtps_receive_topics
|
|
sensor_combined
|
|
)
|