mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 16:53:33 +08: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
110 lines
1.8 KiB
CMake
110 lines
1.8 KiB
CMake
include(posix/px4_impl_posix)
|
|
|
|
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-linux-gnueabihf.cmake)
|
|
|
|
add_definitions(
|
|
-D__PX4_POSIX_BEBOP
|
|
-D__DF_LINUX # Define needed DriverFramework
|
|
-D__DF_BEBOP # Define needed DriverFramework
|
|
)
|
|
|
|
set(config_module_list
|
|
|
|
# examples/px4_simple_app
|
|
|
|
#
|
|
# Board support modules
|
|
#
|
|
drivers/device
|
|
drivers/linux_sbus
|
|
modules/sensors
|
|
platforms/posix/drivers/df_ms5607_wrapper
|
|
platforms/posix/drivers/df_mpu6050_wrapper
|
|
platforms/posix/drivers/df_ak8963_wrapper
|
|
platforms/posix/drivers/df_bebop_bus_wrapper
|
|
platforms/posix/drivers/df_bebop_rangefinder_wrapper
|
|
platforms/posix/drivers/bebop_flow
|
|
|
|
#
|
|
# System commands
|
|
#
|
|
systemcmds/param
|
|
systemcmds/mixer
|
|
systemcmds/ver
|
|
systemcmds/esc_calib
|
|
systemcmds/topic_listener
|
|
systemcmds/perf
|
|
|
|
#
|
|
# Estimation modules
|
|
#
|
|
modules/attitude_estimator_q
|
|
modules/position_estimator_inav
|
|
modules/local_position_estimator
|
|
modules/ekf2
|
|
|
|
#
|
|
# Vehicle Control
|
|
#
|
|
modules/mc_att_control
|
|
modules/mc_pos_control
|
|
modules/fw_att_control
|
|
modules/fw_pos_control_l1
|
|
modules/vtol_att_control
|
|
|
|
#
|
|
# Library modules
|
|
#
|
|
modules/sdlog2
|
|
modules/logger
|
|
modules/commander
|
|
modules/systemlib/param
|
|
modules/systemlib
|
|
modules/systemlib/mixer
|
|
modules/uORB
|
|
modules/dataman
|
|
modules/land_detector
|
|
modules/navigator
|
|
modules/mavlink
|
|
|
|
#
|
|
# PX4 drivers
|
|
#
|
|
drivers/gps
|
|
|
|
#
|
|
# Libraries
|
|
#
|
|
lib/controllib
|
|
lib/mathlib
|
|
lib/mathlib/math/filter
|
|
lib/geo
|
|
lib/ecl
|
|
lib/geo_lookup
|
|
lib/launchdetection
|
|
lib/external_lgpl
|
|
lib/conversion
|
|
lib/terrain_estimation
|
|
lib/runway_takeoff
|
|
lib/tailsitter_recovery
|
|
lib/version
|
|
lib/DriverFramework/framework
|
|
lib/micro-CDR
|
|
|
|
#
|
|
# POSIX
|
|
#
|
|
platforms/common
|
|
platforms/posix/px4_layer
|
|
platforms/posix/work_queue
|
|
)
|
|
|
|
set(config_df_driver_list
|
|
ms5607
|
|
mpu6050
|
|
ak8963
|
|
bebop_bus
|
|
bebop_rangefinder
|
|
mt9v117
|
|
)
|