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
126 lines
2.1 KiB
CMake
126 lines
2.1 KiB
CMake
# This file is shared between posix_rpi_native.cmake
|
|
# and posix_rpi_cross.cmake.
|
|
|
|
include(posix/px4_impl_posix)
|
|
|
|
# This definition allows to differentiate if this just the usual POSIX build
|
|
# or if it is for the RPi.
|
|
add_definitions(
|
|
-D__PX4_POSIX_RPI
|
|
-D__DF_LINUX # For DriverFramework
|
|
-D__DF_RPI # For DriverFramework
|
|
)
|
|
|
|
|
|
set(config_module_list
|
|
#
|
|
# Board support modules
|
|
#
|
|
drivers/device
|
|
modules/sensors
|
|
platforms/posix/drivers/df_mpu9250_wrapper
|
|
platforms/posix/drivers/df_lsm9ds1_wrapper
|
|
platforms/posix/drivers/df_ms5611_wrapper
|
|
platforms/posix/drivers/df_hmc5883_wrapper
|
|
platforms/posix/drivers/df_trone_wrapper
|
|
platforms/posix/drivers/df_isl29501_wrapper
|
|
|
|
#
|
|
# System commands
|
|
#
|
|
systemcmds/param
|
|
systemcmds/led_control
|
|
systemcmds/mixer
|
|
systemcmds/ver
|
|
systemcmds/esc_calib
|
|
systemcmds/reboot
|
|
systemcmds/topic_listener
|
|
systemcmds/perf
|
|
|
|
#
|
|
# Estimation modules
|
|
#
|
|
modules/attitude_estimator_q
|
|
modules/position_estimator_inav
|
|
modules/local_position_estimator
|
|
modules/ekf2
|
|
|
|
#
|
|
# Vehicle Control
|
|
#
|
|
modules/fw_att_control
|
|
modules/fw_pos_control_l1
|
|
modules/gnd_att_control
|
|
modules/gnd_pos_control
|
|
modules/mc_att_control
|
|
modules/mc_pos_control
|
|
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/linux_sbus
|
|
drivers/gps
|
|
drivers/navio_adc
|
|
drivers/navio_sysfs_rc_in
|
|
drivers/linux_gpio
|
|
drivers/linux_pwm_out
|
|
drivers/navio_rgbled
|
|
drivers/pwm_out_sim
|
|
drivers/rpi_rc_in
|
|
|
|
#
|
|
# Libraries
|
|
#
|
|
lib/controllib
|
|
lib/mathlib
|
|
lib/mathlib/math/filter
|
|
lib/geo
|
|
lib/ecl
|
|
lib/geo_lookup
|
|
lib/launchdetection
|
|
lib/led
|
|
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
|
|
)
|
|
|
|
#
|
|
# DriverFramework driver
|
|
#
|
|
set(config_df_driver_list
|
|
mpu9250
|
|
lsm9ds1
|
|
ms5611
|
|
hmc5883
|
|
trone
|
|
isl29501
|
|
)
|