2016-07-14 17:34:41 +02:00
|
|
|
# This file is shared between posix_rpi_native.cmake
|
|
|
|
|
# and posix_rpi_cross.cmake.
|
2016-07-14 13:46:15 +02:00
|
|
|
|
|
|
|
|
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(
|
2016-07-14 17:34:41 +02:00
|
|
|
-D__PX4_POSIX_RPI
|
2016-10-04 17:53:09 +02:00
|
|
|
-D__DF_LINUX # For DriverFramework
|
2017-02-04 13:47:49 +05:30
|
|
|
-D__DF_RPI # For DriverFramework
|
2016-07-14 13:46:15 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
2017-02-24 10:22:56 +01:00
|
|
|
systemcmds/led_control
|
2016-07-14 13:46:15 +02:00
|
|
|
systemcmds/mixer
|
|
|
|
|
systemcmds/ver
|
|
|
|
|
systemcmds/esc_calib
|
|
|
|
|
systemcmds/reboot
|
|
|
|
|
systemcmds/topic_listener
|
|
|
|
|
systemcmds/perf
|
|
|
|
|
|
|
|
|
|
#
|
2016-08-06 20:36:38 +02:00
|
|
|
# Estimation modules
|
2016-07-14 13:46:15 +02:00
|
|
|
#
|
|
|
|
|
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
|
2017-06-06 19:26:51 +02:00
|
|
|
modules/gnd_att_control
|
|
|
|
|
modules/gnd_pos_control
|
|
|
|
|
modules/mc_att_control
|
|
|
|
|
modules/mc_pos_control
|
2016-07-14 13:46:15 +02:00
|
|
|
modules/vtol_att_control
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Library modules
|
|
|
|
|
#
|
|
|
|
|
modules/sdlog2
|
|
|
|
|
modules/logger
|
|
|
|
|
modules/commander
|
2017-06-05 15:24:10 -04:00
|
|
|
modules/systemlib/param
|
2016-07-14 13:46:15 +02:00
|
|
|
modules/systemlib
|
|
|
|
|
modules/systemlib/mixer
|
|
|
|
|
modules/uORB
|
|
|
|
|
modules/dataman
|
|
|
|
|
modules/land_detector
|
|
|
|
|
modules/navigator
|
|
|
|
|
modules/mavlink
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# PX4 drivers
|
|
|
|
|
#
|
2016-07-14 13:55:21 +02:00
|
|
|
drivers/gps
|
2017-05-14 09:54:15 +03:00
|
|
|
drivers/navio_adc
|
2016-07-14 13:55:21 +02:00
|
|
|
drivers/navio_sysfs_rc_in
|
2017-05-14 17:49:03 +03:00
|
|
|
drivers/linux_gpio
|
2017-06-06 15:40:24 +02:00
|
|
|
drivers/linux_pwm_out
|
2016-07-18 14:57:46 -04:00
|
|
|
drivers/navio_rgbled
|
2017-03-09 11:20:52 +01:00
|
|
|
drivers/pwm_out_sim
|
2017-05-05 22:21:45 +08:00
|
|
|
drivers/rpi_rc_in
|
2016-07-14 13:46:15 +02:00
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Libraries
|
|
|
|
|
#
|
|
|
|
|
lib/controllib
|
|
|
|
|
lib/mathlib
|
|
|
|
|
lib/mathlib/math/filter
|
|
|
|
|
lib/geo
|
|
|
|
|
lib/ecl
|
|
|
|
|
lib/geo_lookup
|
|
|
|
|
lib/launchdetection
|
2017-02-24 10:22:56 +01:00
|
|
|
lib/led
|
2016-07-14 13:46:15 +02:00
|
|
|
lib/external_lgpl
|
|
|
|
|
lib/conversion
|
|
|
|
|
lib/terrain_estimation
|
|
|
|
|
lib/runway_takeoff
|
|
|
|
|
lib/tailsitter_recovery
|
2016-12-20 14:59:21 +01:00
|
|
|
lib/version
|
2016-07-14 13:46:15 +02:00
|
|
|
lib/DriverFramework/framework
|
2017-05-16 17:30:56 +02:00
|
|
|
lib/micro-CDR
|
2016-07-14 13:46:15 +02:00
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# POSIX
|
|
|
|
|
#
|
|
|
|
|
platforms/common
|
|
|
|
|
platforms/posix/px4_layer
|
|
|
|
|
platforms/posix/work_queue
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# DriverFramework driver
|
|
|
|
|
#
|
|
|
|
|
set(config_df_driver_list
|
|
|
|
|
mpu9250
|
|
|
|
|
lsm9ds1
|
|
|
|
|
ms5611
|
|
|
|
|
hmc5883
|
|
|
|
|
trone
|
|
|
|
|
isl29501
|
|
|
|
|
)
|