boards organization

This commit is contained in:
Daniel Agar
2018-11-26 14:40:14 -08:00
committed by David Sidrane
parent c1f851a600
commit f692ad04d0
507 changed files with 9976 additions and 10990 deletions
-135
View File
@@ -1,135 +0,0 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
set(config_uavcan_num_ifaces 1)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS0
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2)
set(config_module_list
#
# Board support modules
#
drivers/barometer
drivers/differential_pressure
drivers/distance_sensor
#drivers/magnetometer
#drivers/telemetry
drivers/stm32
drivers/stm32/adc
drivers/stm32/tone_alarm
drivers/px4fmu
drivers/imu/lsm303d
drivers/imu/l3gd20
drivers/gps
drivers/pwm_out_sim
modules/sensors
#drivers/pwm_input
#drivers/camera_trigger
drivers/rc_input
#
# System commands
#
systemcmds/bl_update
systemcmds/config
#systemcmds/dumpfile
#systemcmds/esc_calib
systemcmds/mixer
#systemcmds/motor_ramp
systemcmds/mtd
systemcmds/nshterm
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
#systemcmds/sd_bench
systemcmds/top
#systemcmds/topic_listener
systemcmds/ver
#
# Testing
#
#drivers/distance_sensor/sf0x/sf0x_tests
#drivers/test_ppm
#lib/rc/rc_tests
#modules/commander/commander_tests
#lib/controllib/controllib_test
#modules/mavlink/mavlink_tests
#modules/unit_test
#modules/uORB/uORB_tests
#systemcmds/tests
#
# General system control
#
modules/commander
modules/load_mon
modules/navigator
modules/mavlink
modules/uavcan
modules/land_detector
#
# 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
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
#
# OBC challenge
#
#examples/bottle_drop
#
# Rover apps
#
#examples/rover_steering_control
#
# Demo apps
#
#examples/math_demo
# Tutorial code from
# https://px4.io/dev/px4_simple_app
#examples/px4_simple_app
# Tutorial code from
# https://px4.io/dev/debug_values
#examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
#examples/fixedwing_control
# Hardware test
#examples/hwtest
)
@@ -1,75 +0,0 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS5
TEL1:/dev/ttyS3
TEL2:/dev/ttyS1)
set(config_module_list
#
# Board support modules
#
drivers/aerofc_adc
drivers/distance_sensor
drivers/gps
drivers/barometer/ms5611
drivers/magnetometer/hmc5883
drivers/magnetometer/ist8310
drivers/imu/mpu9250
drivers/px4fmu
drivers/stm32
drivers/pwm_out_sim
drivers/rc_input
drivers/tap_esc
modules/sensors
#
# System commands
#
systemcmds/mixer
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/motor_test
systemcmds/reboot
systemcmds/top
systemcmds/config
systemcmds/nshterm
systemcmds/dumpfile
systemcmds/ver
#
# General system control
#
modules/commander
modules/load_mon
modules/navigator
modules/mavlink
modules/land_detector
#
# Estimation modules
#
modules/attitude_estimator_q
modules/local_position_estimator
modules/landing_target_estimator
modules/ekf2
#
# Vehicle Control
#
modules/mc_att_control
modules/mc_pos_control
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
)
-7
View File
@@ -1,7 +0,0 @@
include(configs/nuttx_aerofc-v1_default)
list(APPEND config_module_list
modules/micrortps_bridge
drivers/protocol_splitter
)
-158
View File
@@ -1,158 +0,0 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common IO px4io-v2)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS3
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2)
set(config_uavcan_num_ifaces 1)
set(config_module_list
#
# Board support modules
#
drivers/barometer
drivers/differential_pressure
drivers/distance_sensor
drivers/magnetometer
drivers/telemetry
drivers/batt_smbus
drivers/blinkm
drivers/camera_trigger
drivers/gps
drivers/imu/mpu6000
drivers/imu/mpu9250
drivers/irlock
drivers/mkblctrl
drivers/oreoled
drivers/protocol_splitter
drivers/pwm_input
drivers/pwm_out_sim
drivers/px4flow
drivers/px4fmu
drivers/px4io
drivers/rgbled
drivers/stm32
drivers/stm32/adc
drivers/stm32/tone_alarm
drivers/tap_esc
drivers/vmount
modules/sensors
#
# System commands
#
systemcmds/bl_update
systemcmds/config
systemcmds/dumpfile
systemcmds/esc_calib
systemcmds/hardfault_log
systemcmds/led_control
systemcmds/mixer
systemcmds/motor_ramp
systemcmds/motor_test
systemcmds/mtd
systemcmds/nshterm
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
systemcmds/sd_bench
systemcmds/top
systemcmds/topic_listener
systemcmds/tune_control
systemcmds/ver
#
# Testing
#
drivers/distance_sensor/sf0x/sf0x_tests
drivers/test_ppm
lib/controllib/controllib_test
#lib/rc/rc_tests
modules/commander/commander_tests
modules/mavlink/mavlink_tests
modules/uORB/uORB_tests
systemcmds/tests
#
# General system control
#
modules/camera_feedback
modules/commander
modules/events
modules/gpio_led
modules/land_detector
modules/load_mon
modules/mavlink
modules/navigator
modules/uavcan
#
# Estimation modules
#
modules/attitude_estimator_q
modules/ekf2
modules/landing_target_estimator
modules/local_position_estimator
modules/position_estimator_inav
modules/wind_estimator
#
# 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
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
#
# OBC challenge
#
examples/bottle_drop
#
# Rover apps
#
examples/rover_steering_control
#
# Segway
#
examples/segway
#
# Demo apps
#
# Tutorial code from
# https://px4.io/dev/px4_simple_app
examples/px4_simple_app
# Tutorial code from
# https://px4.io/dev/debug_values
examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
examples/fixedwing_control
# Hardware test
examples/hwtest
)
-154
View File
@@ -1,154 +0,0 @@
px4_nuttx_configure(HWCLASS m7 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS6
TEL1:/dev/ttyS0
TEL2:/dev/ttyS1
TEL3:/dev/ttyS2
TEL4:/dev/ttyS3
)
set(config_uavcan_num_ifaces 1)
set(config_module_list
#
# Board support modules
#
drivers/barometer
drivers/differential_pressure
drivers/distance_sensor
drivers/magnetometer
drivers/telemetry
drivers/batt_smbus
drivers/camera_trigger
drivers/gps
drivers/imu/adis16477
#drivers/imu/adis16497
drivers/irlock
drivers/mkblctrl
drivers/pwm_out_sim
drivers/px4flow
drivers/px4fmu
drivers/rc_input
drivers/stm32
drivers/stm32/adc
drivers/tap_esc
drivers/vmount
modules/sensors
#
# System commands
#
systemcmds/bl_update
systemcmds/config
systemcmds/dumpfile
systemcmds/esc_calib
systemcmds/hardfault_log
systemcmds/led_control
systemcmds/mixer
systemcmds/motor_ramp
systemcmds/mtd
systemcmds/nshterm
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
systemcmds/sd_bench
systemcmds/top
systemcmds/topic_listener
systemcmds/tune_control
systemcmds/ver
#
# Testing
#
drivers/distance_sensor/sf0x/sf0x_tests
drivers/test_ppm
#lib/rc/rc_tests
modules/commander/commander_tests
lib/controllib/controllib_test
modules/mavlink/mavlink_tests
modules/uORB/uORB_tests
systemcmds/tests
#
# General system control
#
modules/camera_feedback
modules/commander
modules/events
modules/gpio_led
modules/land_detector
modules/load_mon
modules/mavlink
modules/navigator
modules/uavcan
#
# Estimation modules
#
modules/attitude_estimator_q
modules/ekf2
modules/landing_target_estimator
modules/local_position_estimator
modules/position_estimator_inav
modules/wind_estimator
#
# 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
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
#
# OBC challenge
#
#examples/bottle_drop
#
# Rover apps
#
#examples/rover_steering_control
#
# Segway
#
#examples/segway
#
# Demo apps
#
# Tutorial code from
# https://px4.io/dev/px4_simple_app
#examples/px4_simple_app
# Tutorial code from
# https://px4.io/dev/debug_values
#examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
#examples/fixedwing_control
# Hardware test
#examples/hwtest
)
-104
View File
@@ -1,104 +0,0 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
set(config_module_list
#
# Board support modules
#
drivers/stm32
drivers/px4fmu
drivers/imu/mpu9250
drivers/barometer/lps25h
drivers/gps
drivers/distance_sensor/vl53lxx
drivers/pmw3901
modules/sensors
#
# System commands
#
systemcmds/bl_update
systemcmds/mixer
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/esc_calib
systemcmds/reboot
systemcmds/top
systemcmds/config
systemcmds/nshterm
systemcmds/mtd
systemcmds/dumpfile
systemcmds/ver
systemcmds/hardfault_log
systemcmds/topic_listener
systemcmds/sd_bench
#
# General system control
#
modules/commander
modules/load_mon
modules/navigator
modules/mavlink
#modules/gpio_led
modules/land_detector
modules/syslink
#
# Estimation modules (EKF/ SO3 / other filters)
#
modules/attitude_estimator_q
modules/position_estimator_inav
modules/local_position_estimator
modules/landing_target_estimator
modules/ekf2
#
# Vehicle Control
#
# modules/segway # XXX Needs GCC 4.7 fix
# modules/fw_pos_control_l1
# modules/fw_att_control
modules/mc_att_control
modules/mc_pos_control
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
#
# OBC challenge
#
#examples/bottle_drop
#
# Rover apps
#
#examples/rover_steering_control
#
# Demo apps
#
#examples/math_demo
# Tutorial code from
# https://px4.io/dev/px4_simple_app
#examples/px4_simple_app
# Tutorial code from
# https://px4.io/dev/debug_values
#examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
#examples/fixedwing_control
# Hardware test
#examples/hwtest
)
@@ -1,63 +0,0 @@
add_definitions(
-DFLASH_BASED_PARAMS
-DPARAM_NO_ORB
-DPARAM_NO_AUTOSAVE
-DPARAMETER_BUFFER_SIZE=1024
)
px4_nuttx_configure(HWCLASS m4 CONFIG nsh)
# UAVCAN boot loadable Module ID
set(uavcanblid_sw_version_major 0)
set(uavcanblid_sw_version_minor 1)
add_definitions(
-DAPP_VERSION_MAJOR=${uavcanblid_sw_version_major}
-DAPP_VERSION_MINOR=${uavcanblid_sw_version_minor}
)
# Bring in common uavcan hardware identity definitions
include(common/px4_git)
px4_add_git_submodule(TARGET git_uavcan_board_ident PATH "cmake/configs/uavcan_board_ident")
include(configs/uavcan_board_ident/esc35-v1)
add_definitions(
-DHW_UAVCAN_NAME=${uavcanblid_name}
-DHW_VERSION_MAJOR=${uavcanblid_hw_version_major}
-DHW_VERSION_MINOR=${uavcanblid_hw_version_minor}
)
px4_nuttx_make_uavcan_bootloadable(BOARD ${BOARD}
BIN ${PX4_BINARY_DIR}/esc35-v1.bin
HWNAME ${uavcanblid_name}
HW_MAJOR ${uavcanblid_hw_version_major}
HW_MINOR ${uavcanblid_hw_version_minor}
SW_MAJOR ${uavcanblid_sw_version_major}
SW_MINOR ${uavcanblid_sw_version_minor}
)
set(config_module_list
#
# Board support modules
#
drivers/stm32
#
# System commands
#
systemcmds/config
systemcmds/reboot
systemcmds/top
systemcmds/param
systemcmds/ver
#
# General system control
#
modules/uavcanesc
modules/uavcanesc/nshterm
modules/uavcanesc/commands/cfg
modules/uavcanesc/commands/selftest
modules/uavcanesc/commands/dc
modules/uavcanesc/commands/rpm
modules/uavcanesc/commands/stat
)
-150
View File
@@ -1,150 +0,0 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS3
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2)
set(config_uavcan_num_ifaces 1)
set(config_module_list
#
# Board support modules
#
drivers/barometer
drivers/differential_pressure
drivers/distance_sensor
drivers/magnetometer
drivers/telemetry
drivers/batt_smbus
drivers/blinkm
drivers/camera_trigger
drivers/gps
drivers/imu/l3gd20
drivers/imu/lsm303d
#drivers/mkblctrl
drivers/imu/mpu6000
drivers/imu/mpu9250
#drivers/oreoled
drivers/pwm_input
drivers/pwm_out_sim
drivers/px4flow
drivers/px4fmu
drivers/rgbled
drivers/rc_input
#drivers/rgbled_pwm
drivers/stm32
drivers/stm32/adc
drivers/stm32/tone_alarm
drivers/vmount
modules/sensors
#
# System commands
#
systemcmds/bl_update
systemcmds/mixer
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/esc_calib
systemcmds/led_control
systemcmds/hardfault_log
systemcmds/reboot
systemcmds/topic_listener
systemcmds/tune_control
systemcmds/top
systemcmds/config
systemcmds/nshterm
systemcmds/mtd
systemcmds/dumpfile
systemcmds/ver
systemcmds/sd_bench
systemcmds/motor_ramp
#
# Tests
#
drivers/distance_sensor/sf0x/sf0x_tests
drivers/test_ppm
modules/commander/commander_tests
lib/controllib/controllib_test
modules/mavlink/mavlink_tests
modules/uORB/uORB_tests
systemcmds/tests
#
# General system control
#
modules/commander
modules/events
modules/load_mon
modules/navigator
modules/mavlink
modules/gpio_led
modules/uavcan
modules/land_detector
modules/camera_feedback
#
# Estimation modules
#
modules/attitude_estimator_q
modules/position_estimator_inav
modules/local_position_estimator
modules/landing_target_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
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
#
# OBC challenge
#
#examples/bottle_drop
#
# Rover apps
#
#examples/rover_steering_control
#
# Demo apps
#
#examples/math_demo
# Tutorial code from
# https://px4.io/dev/px4_simple_app
#examples/px4_simple_app
# Tutorial code from
# https://px4.io/dev/debug_values
#examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
#examples/fixedwing_control
# Hardware test
#examples/hwtest
)
@@ -1,163 +0,0 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
set(UAVCAN_PLATFORM kinetis CACHE STRING "uavcan platform")
set(UAVCAN_TIMER 1)
set(config_uavcan_num_ifaces 2)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS3
TEL1:/dev/ttyS4)
set(config_module_list
#
# Board support modules
#
drivers/barometer
drivers/differential_pressure
drivers/distance_sensor
drivers/magnetometer
drivers/telemetry
drivers/barometer/mpl3115a2
drivers/batt_smbus
drivers/blinkm
drivers/camera_trigger
drivers/imu/fxas21002c
drivers/imu/fxos8701cq
drivers/gps
drivers/kinetis
drivers/kinetis/adc
drivers/kinetis/tone_alarm
drivers/imu/l3gd20
drivers/mkblctrl
drivers/imu/mpu6000
drivers/imu/mpu9250
drivers/oreoled
# NOT Portable YET drivers/pwm_input
drivers/pwm_out_sim
drivers/px4flow
drivers/px4fmu
drivers/rc_input
drivers/rgbled
drivers/rgbled_pwm
drivers/tap_esc
drivers/vmount
modules/sensors
#
# System commands
#
systemcmds/bl_update
systemcmds/config
systemcmds/dumpfile
systemcmds/esc_calib
## Needs bbsrm systemcmds/hardfault_log
systemcmds/led_control
systemcmds/mixer
systemcmds/motor_ramp
systemcmds/motor_test
systemcmds/mtd
systemcmds/nshterm
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
systemcmds/sd_bench
systemcmds/top
systemcmds/topic_listener
systemcmds/tune_control
systemcmds/usb_connected
systemcmds/ver
#
# Testing
#
drivers/distance_sensor/sf0x/sf0x_tests
### NOT Portable YET drivers/test_ppm
#lib/rc/rc_tests
modules/commander/commander_tests
lib/controllib/controllib_test
modules/mavlink/mavlink_tests
modules/uORB/uORB_tests
systemcmds/tests
#
# General system control
#
modules/commander
modules/events
modules/gpio_led
modules/land_detector
modules/load_mon
modules/mavlink
modules/navigator
modules/uavcan
modules/camera_feedback
#
# Estimation modules
#
modules/attitude_estimator_q
modules/ekf2
modules/landing_target_estimator
modules/local_position_estimator
modules/position_estimator_inav
modules/wind_estimator
#
# 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
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
#
# OBC challenge
#
examples/bottle_drop
#
# Rover apps
#
examples/rover_steering_control
#
# Segway
#
examples/segway
#
# Demo apps
#
# Tutorial code from
# https://px4.io/dev/px4_simple_app
examples/px4_simple_app
# Tutorial code from
# https://px4.io/dev/debug_values
examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
examples/fixedwing_control
# Hardware test
examples/hwtest
)
@@ -1,143 +0,0 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
# user-configurable UART ports
set(board_serial_ports
TEL2:/dev/ttyS1
URT6:/dev/ttyS2)
set(config_module_list
#
# Board support modules
#
drivers/barometer/bmp280
#drivers/differential_pressure
#drivers/distance_sensor
drivers/magnetometer/hmc5883
drivers/telemetry/frsky_telemetry
drivers/imu/mpu6000
#drivers/batt_smbus
#drivers/blinkm
#drivers/camera_trigger
drivers/gps
drivers/px4flow
drivers/px4fmu
drivers/rc_input
drivers/rgbled
drivers/stm32
drivers/stm32/adc
#drivers/stm32/tone_alarm
modules/sensors
#
# System commands
#
#systemcmds/bl_update
systemcmds/config
systemcmds/esc_calib
systemcmds/hardfault_log
systemcmds/led_control
systemcmds/mixer
#systemcmds/motor_ramp
#systemcmds/mtd
systemcmds/nshterm
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
systemcmds/sd_bench
systemcmds/top
systemcmds/topic_listener
systemcmds/tune_control
systemcmds/ver
##
## Testing
##
#drivers/distance_sensor/sf0x/sf0x_tests
#drivers/test_ppm
##lib/rc/rc_tests
#modules/commander/commander_tests
#lib/controllib/controllib_test
#modules/mavlink/mavlink_tests
#modules/mc_pos_control/mc_pos_control_tests
#modules/uORB/uORB_tests
#systemcmds/tests
#
# General system control
#
#modules/camera_feedback
modules/commander
modules/events
modules/gpio_led
modules/land_detector
modules/load_mon
modules/mavlink
modules/navigator
#
# Estimation modules
#
modules/attitude_estimator_q
modules/ekf2
modules/landing_target_estimator
modules/local_position_estimator
#modules/wind_estimator
#
# 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
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
##
## OBC challenge
##
#examples/bottle_drop
##
## Rover apps
##
#examples/rover_steering_control
##
## Segway
##
#examples/segway
##
## Demo apps
##
## Tutorial code from
## https://px4.io/dev/px4_simple_app
#examples/px4_simple_app
## Tutorial code from
## https://px4.io/dev/debug_values
#examples/px4_mavlink_debug
## Tutorial code from
## https://px4.io/dev/example_fixedwing_control
#examples/fixedwing_control
## Hardware test
#examples/hwtest
)
@@ -1,122 +0,0 @@
px4_nuttx_configure(HWCLASS m7 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
##set(config_uavcan_num_ifaces 2)
set(config_module_list
#
# Board support modules
#
drivers/barometer
drivers/differential_pressure
drivers/distance_sensor
drivers/magnetometer
drivers/telemetry
drivers/samv7
#WIP drivers/samv7/adc
drivers/samv7/tone_alarm
drivers/px4fmu
drivers/rgbled
drivers/imu/mpu6000
drivers/imu/mpu9250
drivers/imu/lsm303d
drivers/imu/l3gd20
drivers/gps
#WIP drivers/pwm_out_sim
drivers/blinkm
modules/sensors
#drivers/mkblctrl
drivers/px4flow
drivers/oreoled
## drivers/gimbal
#WIP drivers/pwm_input
#WIP drivers/camera_trigger
#
# System commands
#
systemcmds/bl_update
systemcmds/mixer
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/esc_calib
#WIP systemcmds/hardfault_log
systemcmds/reboot
#systemcmds/topic_listener
systemcmds/top
systemcmds/config
systemcmds/nshterm
# systemcmds/mtd Excluded until TWIHS works
systemcmds/dumpfile
systemcmds/ver
#
# General system control
#
modules/commander
modules/navigator
modules/mavlink
modules/gpio_led
##WIP modules/uavcan
modules/land_detector
#
# Estimation modules (EKF/ SO3 / other filters)
#
modules/attitude_estimator_q
modules/position_estimator_inav
modules/local_position_estimator
modules/landing_target_estimator
modules/ekf2
#
# Vehicle Control
#
# modules/segway # XXX Needs GCC 4.7 fix
modules/fw_pos_control_l1
modules/fw_att_control
modules/mc_att_control
modules/mc_pos_control
modules/vtol_att_control
#
# Logging
#
## modules/logger
#
# Library modules
#
modules/dataman
#
# OBC challenge
#
#examples/bottle_drop
#
# Rover apps
#
#examples/rover_steering_control
#
# Demo apps
#
#examples/math_demo
# Tutorial code from
# https://px4.io/dev/px4_simple_app
#examples/px4_simple_app
# Tutorial code from
# https://px4.io/dev/debug_values
#examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
#examples/fixedwing_control
# Hardware test
#examples/hwtest
)
@@ -1,41 +0,0 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
set(config_module_list
#
# Board support modules
#
drivers/stm32
#
# System commands
#
systemcmds/bl_update
systemcmds/mixer
systemcmds/param
systemcmds/perf
systemcmds/reboot
systemcmds/top
systemcmds/config
systemcmds/nshterm
systemcmds/ver
#
# Demo apps
#
#examples/math_demo
# Tutorial code from
# https://px4.io/dev/px4_simple_app
examples/px4_simple_app
# Tutorial code from
# https://px4.io/dev/debug_values
#examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
#examples/fixedwing_control
# Hardware test
#examples/hwtest
)
@@ -1,56 +0,0 @@
add_definitions(
-DPARAM_NO_ORB
-DPARAM_NO_AUTOSAVE
)
px4_nuttx_configure(HWCLASS m3 CONFIG nsh)
# UAVCAN boot loadable Module ID
set(uavcanblid_sw_version_major 0)
set(uavcanblid_sw_version_minor 1)
add_definitions(
-DAPP_VERSION_MAJOR=${uavcanblid_sw_version_major}
-DAPP_VERSION_MINOR=${uavcanblid_sw_version_minor}
)
# Bring in common uavcan hardware identity definitions
include(common/px4_git)
px4_add_git_submodule(TARGET git_uavcan_board_ident PATH "cmake/configs/uavcan_board_ident")
include(configs/uavcan_board_ident/px4cannode-v1)
add_definitions(
-DHW_UAVCAN_NAME=${uavcanblid_name}
-DHW_VERSION_MAJOR=${uavcanblid_hw_version_major}
-DHW_VERSION_MINOR=${uavcanblid_hw_version_minor}
)
px4_nuttx_make_uavcan_bootloadable(BOARD ${BOARD}
BIN ${PX4_BINARY_DIR}/px4cannode-v1.bin
HWNAME ${uavcanblid_name}
HW_MAJOR ${uavcanblid_hw_version_major}
HW_MINOR ${uavcanblid_hw_version_minor}
SW_MAJOR ${uavcanblid_sw_version_major}
SW_MINOR ${uavcanblid_sw_version_minor}
)
set(config_module_list
#
# Board support modules
#
drivers/bootloaders
drivers/stm32
#
# System commands
#
systemcmds/config
systemcmds/reboot
systemcmds/top
systemcmds/ver
#
# General system control
#
modules/uavcannode
)
@@ -1,65 +0,0 @@
add_definitions(
-DFLASH_BASED_PARAMS
-DPARAM_NO_ORB
-DPARAM_NO_AUTOSAVE
-DPARAMETER_BUFFER_SIZE=1024
)
px4_nuttx_configure(HWCLASS m4 CONFIG nsh)
# UAVCAN boot loadable Module ID
set(uavcanblid_sw_version_major 0)
set(uavcanblid_sw_version_minor 1)
add_definitions(
-DAPP_VERSION_MAJOR=${uavcanblid_sw_version_major}
-DAPP_VERSION_MINOR=${uavcanblid_sw_version_minor}
)
# Bring in common uavcan hardware identity definitions
include(common/px4_git)
px4_add_git_submodule(TARGET git_uavcan_board_ident PATH "cmake/configs/uavcan_board_ident")
include(configs/uavcan_board_ident/px4esc-v1)
add_definitions(
-DHW_UAVCAN_NAME=${uavcanblid_name}
-DHW_VERSION_MAJOR=${uavcanblid_hw_version_major}
-DHW_VERSION_MINOR=${uavcanblid_hw_version_minor}
)
px4_nuttx_make_uavcan_bootloadable(BOARD ${BOARD}
BIN ${PX4_BINARY_DIR}/px4esc-v1.bin
HWNAME ${uavcanblid_name}
HW_MAJOR ${uavcanblid_hw_version_major}
HW_MINOR ${uavcanblid_hw_version_minor}
SW_MAJOR ${uavcanblid_sw_version_major}
SW_MINOR ${uavcanblid_sw_version_minor}
)
set(config_module_list
#
# Board support modules
#
drivers/bootloaders
drivers/stm32
#
# System commands
#
systemcmds/config
systemcmds/reboot
systemcmds/top
systemcmds/param
systemcmds/ver
#
# General system control
#
modules/uavcanesc
modules/uavcanesc/nshterm
modules/uavcanesc/commands/cfg
modules/uavcanesc/commands/selftest
modules/uavcanesc/commands/dc
modules/uavcanesc/commands/rpm
modules/uavcanesc/commands/stat
)
-187
View File
@@ -1,187 +0,0 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common IO px4io-v2)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS3
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2
TEL4:/dev/ttyS6)
set(px4_constrained_flash_build 1)
#set(config_uavcan_num_ifaces 2)
set(config_bl_file ${PX4_SOURCE_DIR}/ROMFS/px4fmu_common/extras/px4fmuv3_bl.bin)
set(config_module_list
#
# Board support modules
#
#drivers/barometer
#drivers/differential_pressure
#drivers/distance_sensor
#drivers/magnetometer
#drivers/telemetry
#drivers/barometer/bmp280
drivers/barometer/ms5611
#drivers/blinkm
#drivers/bst
#drivers/camera_trigger
#drivers/differential_pressure/ets
drivers/differential_pressure/ms4525
#drivers/differential_pressure/ms5525
#drivers/differential_pressure/sdp3x
drivers/distance_sensor/ll40ls
#drivers/distance_sensor/mb12xx
drivers/distance_sensor/sf0x
#drivers/distance_sensor/sf1xx
#drivers/distance_sensor/srf02
#drivers/distance_sensor/teraranger
#drivers/distance_sensor/tfmini
#drivers/distance_sensor/ulanding
#drivers/frsky_telemetry
drivers/gps
#drivers/imu/adis16448
#drivers/imu/bmi160
drivers/imu/l3gd20
drivers/imu/lsm303d
drivers/imu/mpu6000
drivers/imu/mpu9250
#drivers/iridiumsbd
#drivers/irlock
drivers/magnetometer/hmc5883
#drivers/magnetometer/lis3mdl
#drivers/mb12xx
#drivers/mkblctrl
#drivers/oreoled
#drivers/protocol_splitter
#drivers/pwm_input
#drivers/pwm_out_sim
drivers/px4flow
drivers/px4fmu
drivers/px4io
drivers/rgbled
drivers/stm32
drivers/stm32/adc
drivers/stm32/tone_alarm
#drivers/tap_esc
drivers/vmount
modules/sensors
#
# System commands
#
systemcmds/bl_update
#systemcmds/config
#systemcmds/dumpfile
#systemcmds/esc_calib
systemcmds/hardfault_log
#systemcmds/led_control
systemcmds/mixer
#systemcmds/motor_ramp
#systemcmds/motor_test
systemcmds/mtd
#systemcmds/nshterm
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
#systemcmds/sd_bench
systemcmds/top
#systemcmds/topic_listener
systemcmds/tune_control
systemcmds/ver
#
# Testing
#
#drivers/distance_sensor/sf0x/sf0x_tests
#drivers/test_ppm
#lib/controllib/controllib_test
#lib/rc/rc_tests
#modules/commander/commander_tests
#modules/mavlink/mavlink_tests
#modules/uORB/uORB_tests
#systemcmds/tests
#
# General system control
#
modules/camera_feedback
modules/commander
modules/events
#modules/gpio_led
modules/land_detector
modules/load_mon
modules/mavlink
modules/navigator
#modules/uavcan
#
# Estimation modules
#
#modules/attitude_estimator_q
modules/ekf2
#modules/local_position_estimator
#modules/position_estimator_inav
#modules/landing_target_estimator
#modules/wind_estimator
#
# 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
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
#
# OBC challenge
#
#examples/bottle_drop
#
# Rover apps
#
#examples/rover_steering_control
#
# Segway
#
#examples/segway
#
# Demo apps
#
# Tutorial code from
# https://px4.io/dev/px4_simple_app
#examples/px4_simple_app
# Tutorial code from
# https://px4.io/dev/debug_values
#examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
#examples/fixedwing_control
# Hardware test
#examples/hwtest
)
set(flight_tasks_to_remove Orbit)
-16
View File
@@ -1,16 +0,0 @@
include(configs/nuttx_px4fmu-v2_default)
set(PARAM_DEFAULT_OVERRIDES "{\\\"SYS_MC_EST_GROUP\\\": 1}")
list(REMOVE_ITEM config_module_list
modules/ekf2
)
list(APPEND config_module_list
drivers/irlock
modules/attitude_estimator_q
modules/local_position_estimator
modules/landing_target_estimator
)
-163
View File
@@ -1,163 +0,0 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_test IO px4io-v2)
#set(config_uavcan_num_ifaces 2)
set(config_module_list
#
# Board support modules
#
#drivers/barometer
drivers/differential_pressure
#drivers/magnetometer
#drivers/telemetry
#drivers/imu/adis16448
drivers/barometer/ms5611
#drivers/blinkm
#drivers/imu/bmi160
#drivers/barometer/bmp280
#drivers/bst
#drivers/camera_trigger
#drivers/frsky_telemetry
drivers/gps
#drivers/iridiumsbd
#drivers/irlock
drivers/imu/l3gd20
drivers/imu/lsm303d
drivers/magnetometer/hmc5883
drivers/magnetometer/lis3mdl
#drivers/mb12xx
#drivers/mkblctrl
drivers/imu/mpu6000
#drivers/imu/mpu9250
#drivers/oreoled
#drivers/protocol_splitter
#drivers/pwm_input
#drivers/pwm_out_sim
#drivers/px4flow
drivers/px4fmu
drivers/px4io
drivers/rgbled
drivers/stm32
drivers/stm32/adc
drivers/stm32/tone_alarm
#drivers/tap_esc
#drivers/vmount
# distance sensors
modules/sensors
#
# System commands
#
#systemcmds/bl_update
#systemcmds/config
#systemcmds/dumpfile
#systemcmds/esc_calib
systemcmds/hardfault_log
#systemcmds/led_control
systemcmds/mixer
#systemcmds/motor_ramp
#systemcmds/motor_test
systemcmds/mtd
#systemcmds/nshterm
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
#systemcmds/sd_bench
systemcmds/top
#systemcmds/topic_listener
systemcmds/tune_control
systemcmds/ver
#
# Testing
#
drivers/distance_sensor/sf0x/sf0x_tests
drivers/test_ppm
lib/controllib/controllib_test
#lib/rc/rc_tests
modules/commander/commander_tests
modules/mavlink/mavlink_tests
modules/uORB/uORB_tests
systemcmds/tests
#
# General system control
#
modules/camera_feedback
modules/commander
modules/events
#modules/gpio_led
modules/land_detector
modules/load_mon
modules/mavlink
modules/navigator
#modules/uavcan
#
# Estimation modules
#
#modules/attitude_estimator_q
#modules/ekf2
#modules/local_position_estimator
#modules/position_estimator_inav
#modules/landing_target_estimator
#modules/wind_estimator
#
# 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
#
# Logging
#
#modules/logger
#
# Library modules
#
modules/dataman
#
# OBC challenge
#
#examples/bottle_drop
#
# Rover apps
#
#examples/rover_steering_control
#
# Segway
#
#examples/segway
#
# Demo apps
#
# Tutorial code from
# https://px4.io/dev/px4_simple_app
#examples/px4_simple_app
# Tutorial code from
# https://px4.io/dev/debug_values
#examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
#examples/fixedwing_control
# Hardware test
#examples/hwtest
)
-170
View File
@@ -1,170 +0,0 @@
# FMUv3 is FMUv2 with access to the full 2MB flash
set(BOARD px4fmu-v2 CACHE string "" FORCE)
set(FW_NAME nuttx_px4fmu-v3_default.elf CACHE string "" FORCE)
set(FW_PROTOTYPE px4fmu-v3 CACHE string "" FORCE)
set(LD_SCRIPT ld_full.script CACHE string "" FORCE)
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common IO px4io-v2)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS3
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2
TEL4:/dev/ttyS6)
set(config_uavcan_num_ifaces 2)
set(config_module_list
#
# Board support modules
#
drivers/barometer
drivers/differential_pressure
drivers/distance_sensor
drivers/magnetometer
drivers/telemetry
drivers/batt_smbus
drivers/blinkm
drivers/camera_trigger
drivers/gps
drivers/imu/adis16448
drivers/imu/bmi160
drivers/imu/l3gd20
drivers/imu/lsm303d
drivers/imu/mpu6000
drivers/imu/mpu9250
drivers/irlock
drivers/mkblctrl
drivers/oreoled
drivers/protocol_splitter
drivers/pwm_input
drivers/pwm_out_sim
drivers/px4flow
drivers/px4fmu
drivers/px4io
drivers/rgbled
drivers/rgbled_ncp5623c
drivers/stm32
drivers/stm32/adc
drivers/stm32/tone_alarm
drivers/tap_esc
drivers/vmount
modules/sensors
#
# System commands
#
systemcmds/bl_update
systemcmds/config
systemcmds/dumpfile
systemcmds/esc_calib
systemcmds/hardfault_log
systemcmds/led_control
systemcmds/mixer
systemcmds/motor_ramp
systemcmds/motor_test
systemcmds/mtd
systemcmds/nshterm
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
systemcmds/sd_bench
systemcmds/top
systemcmds/topic_listener
systemcmds/tune_control
systemcmds/ver
#
# Testing
#
drivers/distance_sensor/sf0x/sf0x_tests
drivers/test_ppm
lib/controllib/controllib_test
#lib/rc/rc_tests
modules/commander/commander_tests
modules/mavlink/mavlink_tests
modules/uORB/uORB_tests
systemcmds/tests
#
# General system control
#
modules/camera_feedback
modules/commander
modules/events
modules/gpio_led
modules/land_detector
modules/load_mon
modules/mavlink
modules/navigator
modules/uavcan
#
# Estimation modules
#
modules/attitude_estimator_q
modules/ekf2
modules/landing_target_estimator
modules/local_position_estimator
modules/position_estimator_inav
modules/wind_estimator
#
# 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
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
#
# OBC challenge
#
examples/bottle_drop
#
# Rover apps
#
examples/rover_steering_control
#
# Segway
#
examples/segway
#
# Demo apps
#
# Tutorial code from
# https://px4.io/dev/px4_simple_app
examples/px4_simple_app
# Tutorial code from
# https://px4.io/dev/debug_values
examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
examples/fixedwing_control
# Hardware test
examples/hwtest
)
-7
View File
@@ -1,7 +0,0 @@
include(configs/nuttx_px4fmu-v3_default)
set(FW_NAME nuttx_px4fmu-v3_rtps.elf CACHE string "" FORCE)
list(APPEND config_module_list
modules/micrortps_bridge
)
@@ -1,128 +0,0 @@
# FMUv3 is FMUv2 with access to the full 2MB flash
set(BOARD px4fmu-v2 CACHE string "" FORCE)
set(FW_NAME nuttx_px4fmu-v3_default.elf CACHE string "" FORCE)
set(FW_PROTOTYPE px4fmu-v3 CACHE string "" FORCE)
set(LD_SCRIPT ld_full.script CACHE string "" FORCE)
px4_nuttx_configure(HWCLASS m4 CONFIG stackcheck ROMFS y ROMFSROOT px4fmu_common IO px4io-v2)
set(config_uavcan_num_ifaces 2)
set(config_module_list
#
# Board support modules
#
drivers/barometer
drivers/differential_pressure
drivers/distance_sensor
drivers/magnetometer
drivers/telemetry
drivers/batt_smbus
drivers/blinkm
drivers/camera_trigger
drivers/gps
drivers/imu/adis16448
drivers/imu/bmi160
drivers/imu/l3gd20
drivers/imu/lsm303d
drivers/imu/mpu6000
drivers/imu/mpu9250
drivers/irlock
drivers/mkblctrl
drivers/oreoled
drivers/protocol_splitter
drivers/pwm_input
drivers/pwm_out_sim
drivers/px4flow
drivers/px4fmu
drivers/px4io
drivers/rgbled
drivers/stm32
drivers/stm32/adc
drivers/stm32/tone_alarm
drivers/tap_esc
drivers/vmount
modules/sensors
#
# System commands
#
systemcmds/bl_update
systemcmds/config
systemcmds/dumpfile
systemcmds/esc_calib
systemcmds/hardfault_log
systemcmds/led_control
systemcmds/mixer
systemcmds/motor_ramp
systemcmds/motor_test
systemcmds/mtd
systemcmds/nshterm
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
systemcmds/sd_bench
systemcmds/top
systemcmds/topic_listener
systemcmds/tune_control
systemcmds/ver
#
# Testing
#
drivers/distance_sensor/sf0x/sf0x_tests
drivers/test_ppm
lib/controllib/controllib_test
#lib/rc/rc_tests
modules/commander/commander_tests
modules/mavlink/mavlink_tests
modules/uORB/uORB_tests
systemcmds/tests
#
# General system control
#
modules/camera_feedback
modules/commander
modules/events
modules/gpio_led
modules/land_detector
modules/load_mon
modules/mavlink
modules/navigator
#modules/uavcan
#
# Estimation modules
#
#modules/attitude_estimator_q
modules/ekf2
#modules/landing_target_estimator
#modules/local_position_estimator
#modules/position_estimator_inav
modules/wind_estimator
#
# 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
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
)
-158
View File
@@ -1,158 +0,0 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS3
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2)
set(config_uavcan_num_ifaces 1)
set(config_module_list
#
# Board support modules
#
drivers/barometer
drivers/differential_pressure
drivers/distance_sensor
drivers/magnetometer
drivers/telemetry
drivers/imu
drivers/batt_smbus
drivers/blinkm
drivers/camera_trigger
drivers/gps
drivers/heater
drivers/irlock
drivers/mkblctrl
drivers/oreoled
drivers/pca9685
drivers/pwm_input
drivers/pwm_out_sim
drivers/px4flow
drivers/px4fmu
drivers/rgbled
drivers/rgbled_ncp5623c
drivers/rc_input
drivers/stm32
drivers/stm32/adc
drivers/stm32/tone_alarm
drivers/tap_esc
drivers/vmount
modules/sensors
#
# System commands
#
systemcmds/bl_update
systemcmds/config
systemcmds/dumpfile
systemcmds/esc_calib
systemcmds/hardfault_log
systemcmds/led_control
systemcmds/mixer
systemcmds/motor_ramp
systemcmds/mtd
systemcmds/nshterm
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
systemcmds/sd_bench
systemcmds/top
systemcmds/topic_listener
systemcmds/tune_control
systemcmds/ver
#
# Testing
#
drivers/distance_sensor/sf0x/sf0x_tests
drivers/test_ppm
#lib/rc/rc_tests
modules/commander/commander_tests
lib/controllib/controllib_test
modules/mavlink/mavlink_tests
modules/uORB/uORB_tests
systemcmds/tests
#
# General system control
#
modules/camera_feedback
modules/commander
modules/events
modules/gpio_led
modules/land_detector
modules/load_mon
modules/mavlink
modules/navigator
modules/uavcan
#
# Estimation modules
#
modules/attitude_estimator_q
modules/ekf2
modules/landing_target_estimator
modules/local_position_estimator
modules/position_estimator_inav
modules/wind_estimator
#
# 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
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
#
# OBC challenge
#
examples/bottle_drop
#
# Rover apps
#
examples/rover_steering_control
#
# Segway
#
examples/segway
#
# Demo apps
#
# Tutorial code from
# https://px4.io/dev/px4_simple_app
examples/px4_simple_app
# Tutorial code from
# https://px4.io/dev/debug_values
examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
examples/fixedwing_control
# Hardware test
examples/hwtest
)
-5
View File
@@ -1,5 +0,0 @@
include(configs/nuttx_px4fmu-v4_default)
list(APPEND config_module_list
modules/micrortps_bridge
)
@@ -1,116 +0,0 @@
px4_nuttx_configure(HWCLASS m4 CONFIG stackcheck ROMFS y ROMFSROOT px4fmu_common)
set(config_uavcan_num_ifaces 1)
set(config_module_list
#
# Board support modules
#
drivers/barometer
drivers/differential_pressure
drivers/distance_sensor
drivers/magnetometer
drivers/telemetry
drivers/imu
drivers/batt_smbus
drivers/blinkm
drivers/camera_trigger
drivers/gps
drivers/irlock
drivers/mkblctrl
drivers/oreoled
drivers/pca9685
drivers/pwm_input
drivers/pwm_out_sim
drivers/px4flow
drivers/px4fmu
drivers/rgbled
drivers/rc_input
drivers/stm32
drivers/stm32/adc
drivers/stm32/tone_alarm
drivers/tap_esc
drivers/vmount
modules/sensors
#
# System commands
#
systemcmds/bl_update
systemcmds/config
systemcmds/dumpfile
systemcmds/esc_calib
systemcmds/hardfault_log
systemcmds/led_control
systemcmds/mixer
systemcmds/motor_ramp
systemcmds/mtd
systemcmds/nshterm
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
systemcmds/sd_bench
systemcmds/top
systemcmds/topic_listener
systemcmds/tune_control
systemcmds/ver
#
# Testing
#
drivers/distance_sensor/sf0x/sf0x_tests
drivers/test_ppm
#lib/rc/rc_tests
modules/commander/commander_tests
lib/controllib/controllib_test
modules/mavlink/mavlink_tests
modules/uORB/uORB_tests
systemcmds/tests
#
# General system control
#
modules/camera_feedback
modules/commander
modules/events
modules/gpio_led
modules/land_detector
modules/load_mon
modules/mavlink
modules/navigator
#modules/uavcan
#
# Estimation modules
#
modules/attitude_estimator_q
modules/ekf2
modules/landing_target_estimator
modules/local_position_estimator
modules/position_estimator_inav
modules/wind_estimator
#
# 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
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
)
@@ -1,162 +0,0 @@
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common IO px4io-v2)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS3
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2
TEL3:/dev/ttyS0
TEL4:/dev/ttyS6)
set(config_uavcan_num_ifaces 2)
set(config_module_list
#
# Board support modules
#
drivers/distance_sensor
drivers/barometer
drivers/differential_pressure
drivers/magnetometer
drivers/telemetry
drivers/batt_smbus
drivers/blinkm
drivers/imu/bma180
drivers/imu/bmi160
drivers/camera_trigger
drivers/gps
drivers/irlock
drivers/imu/l3gd20
drivers/mkblctrl
drivers/imu/mpu6000
drivers/imu/mpu9250
drivers/oreoled
drivers/pwm_input
drivers/pwm_out_sim
drivers/px4flow
drivers/px4fmu
drivers/px4io
drivers/rgbled
drivers/rgbled_ncp5623c
drivers/stm32
drivers/stm32/adc
drivers/stm32/tone_alarm
drivers/tap_esc
drivers/vmount
modules/sensors
#
# System commands
#
systemcmds/bl_update
systemcmds/config
systemcmds/dumpfile
systemcmds/esc_calib
systemcmds/hardfault_log
systemcmds/led_control
systemcmds/mixer
systemcmds/motor_ramp
systemcmds/mtd
systemcmds/nshterm
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
systemcmds/sd_bench
systemcmds/top
systemcmds/topic_listener
systemcmds/tune_control
systemcmds/ver
#
# Testing
#
drivers/distance_sensor/sf0x/sf0x_tests
drivers/test_ppm
#lib/rc/rc_tests
modules/commander/commander_tests
lib/controllib/controllib_test
modules/mavlink/mavlink_tests
modules/uORB/uORB_tests
systemcmds/tests
#
# General system control
#
modules/commander
modules/events
modules/gpio_led
modules/land_detector
modules/load_mon
modules/mavlink
modules/navigator
modules/uavcan
modules/camera_feedback
#
# Estimation modules
#
modules/attitude_estimator_q
modules/ekf2
modules/landing_target_estimator
modules/local_position_estimator
modules/position_estimator_inav
modules/wind_estimator
#
# 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
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
#
# OBC challenge
#
examples/bottle_drop
#
# Rover apps
#
examples/rover_steering_control
#
# Segway
#
#examples/segway
#
# Demo apps
#
# Tutorial code from
# https://px4.io/dev/px4_simple_app
#examples/px4_simple_app
# Tutorial code from
# https://px4.io/dev/debug_values
#examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
#examples/fixedwing_control
# Hardware test
#examples/hwtest
)
@@ -1,5 +0,0 @@
include(configs/nuttx_px4fmu-v4pro_default)
list(APPEND config_module_list
modules/micrortps_bridge
)
-164
View File
@@ -1,164 +0,0 @@
px4_nuttx_configure(HWCLASS m7 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common IO px4io-v2)
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS0
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2
TEL4:/dev/ttyS3)
set(config_uavcan_num_ifaces 2)
set(config_module_list
#
# Board support modules
#
drivers/barometer
drivers/differential_pressure
drivers/distance_sensor
drivers/magnetometer
drivers/telemetry
drivers/batt_smbus
drivers/blinkm
drivers/camera_trigger
drivers/gps
drivers/imu/bma180
drivers/imu/bmi055
drivers/imu/bmi160
drivers/imu/mpu6000
drivers/imu/mpu9250
drivers/irlock
drivers/mkblctrl
drivers/oreoled
drivers/pmw3901
drivers/pwm_input
drivers/pwm_out_sim
drivers/px4flow
drivers/px4fmu
drivers/px4io
drivers/rc_input
drivers/rgbled
drivers/rgbled_ncp5623c
#drivers/rgbled_pwm # Enable to put the three leds into PWM RGB mode
drivers/stm32
drivers/stm32/adc
drivers/stm32/tone_alarm
drivers/tap_esc
drivers/vmount
modules/sensors
#
# System commands
#
systemcmds/bl_update
systemcmds/config
systemcmds/dumpfile
systemcmds/esc_calib
systemcmds/hardfault_log
systemcmds/led_control
systemcmds/mixer
systemcmds/motor_ramp
systemcmds/mtd
systemcmds/nshterm
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
systemcmds/sd_bench
systemcmds/top
systemcmds/topic_listener
systemcmds/tune_control
systemcmds/ver
#
# Testing
#
drivers/distance_sensor/sf0x/sf0x_tests
drivers/test_ppm
#lib/rc/rc_tests
modules/commander/commander_tests
lib/controllib/controllib_test
modules/mavlink/mavlink_tests
modules/uORB/uORB_tests
systemcmds/tests
#
# General system control
#
modules/commander
modules/events
modules/gpio_led
modules/land_detector
modules/load_mon
modules/mavlink
modules/navigator
modules/uavcan
modules/camera_feedback
#
# Estimation modules
#
modules/attitude_estimator_q
modules/ekf2
modules/landing_target_estimator
modules/local_position_estimator
modules/position_estimator_inav
modules/wind_estimator
#
# 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
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
#
# OBC challenge
#
#examples/bottle_drop
#
# Rover apps
#
#examples/rover_steering_control
#
# Segway
#
#examples/segway
#
# Demo apps
#
# Tutorial code from
# https://px4.io/dev/px4_simple_app
#examples/px4_simple_app
# Tutorial code from
# https://px4.io/dev/debug_values
#examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
#examples/fixedwing_control
# Hardware test
#examples/hwtest
)
-5
View File
@@ -1,5 +0,0 @@
include(configs/nuttx_px4fmu-v5_default)
list(APPEND config_module_list
modules/micrortps_bridge
)
@@ -1,121 +0,0 @@
px4_nuttx_configure(HWCLASS m7 CONFIG stackcheck ROMFS y ROMFSROOT px4fmu_common IO px4io-v2)
set(config_uavcan_num_ifaces 2)
set(config_module_list
#
# Board support modules
#
drivers/barometer
drivers/differential_pressure
drivers/distance_sensor
drivers/magnetometer
drivers/telemetry
drivers/batt_smbus
drivers/blinkm
drivers/camera_trigger
drivers/gps
drivers/imu/bma180
drivers/imu/bmi055
drivers/imu/bmi160
drivers/imu/mpu6000
drivers/imu/mpu9250
drivers/irlock
drivers/mkblctrl
drivers/oreoled
drivers/pwm_input
drivers/pwm_out_sim
drivers/px4flow
drivers/px4fmu
drivers/px4io
drivers/rc_input
drivers/rgbled
#drivers/rgbled_pwm # Enable to put the three leds into PWM RGB mode
drivers/stm32
drivers/stm32/adc
drivers/stm32/tone_alarm
drivers/tap_esc
drivers/vmount
modules/sensors
#
# System commands
#
systemcmds/bl_update
systemcmds/config
systemcmds/dumpfile
systemcmds/esc_calib
systemcmds/hardfault_log
systemcmds/led_control
systemcmds/mixer
systemcmds/motor_ramp
systemcmds/mtd
systemcmds/nshterm
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
systemcmds/sd_bench
systemcmds/top
systemcmds/topic_listener
systemcmds/tune_control
systemcmds/ver
#
# Testing
#
drivers/distance_sensor/sf0x/sf0x_tests
drivers/test_ppm
#lib/rc/rc_tests
modules/commander/commander_tests
lib/controllib/controllib_test
modules/mavlink/mavlink_tests
modules/uORB/uORB_tests
systemcmds/tests
#
# General system control
#
modules/commander
modules/events
modules/gpio_led
modules/land_detector
modules/load_mon
modules/mavlink
modules/navigator
#modules/uavcan
modules/camera_feedback
#
# Estimation modules
#
modules/attitude_estimator_q
modules/ekf2
modules/landing_target_estimator
modules/local_position_estimator
modules/position_estimator_inav
modules/wind_estimator
#
# 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
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
)
@@ -1,7 +0,0 @@
px4_nuttx_configure(HWCLASS m3 CONFIG nsh)
set(config_module_list
drivers/stm32
modules/px4iofirmware
)
@@ -1,128 +0,0 @@
px4_nuttx_configure(HWCLASS m7 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
set(config_uavcan_num_ifaces 2)
set(config_module_list
#
# Board support modules
#
drivers/barometer
drivers/differential_pressure
drivers/distance_sensor
drivers/magnetometer
drivers/telemetry
drivers/imu/adis16448
drivers/blinkm
drivers/imu/bma180
drivers/imu/bmi160
drivers/camera_trigger
drivers/gps
drivers/mkblctrl
drivers/imu/mpu6000
drivers/imu/mpu9250
drivers/oreoled
drivers/pwm_input
drivers/pwm_out_sim
drivers/px4flow
drivers/px4fmu
drivers/rgbled
drivers/stm32
drivers/stm32/adc
drivers/stm32/tone_alarm
drivers/tap_esc
modules/sensors
#
# System commands
#
systemcmds/bl_update
systemcmds/config
systemcmds/dumpfile
systemcmds/esc_calib
systemcmds/hardfault_log
systemcmds/led_control
systemcmds/mixer
systemcmds/motor_ramp
systemcmds/mtd
systemcmds/nshterm
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
systemcmds/sd_bench
systemcmds/top
systemcmds/topic_listener
systemcmds/tune_control
systemcmds/ver
#
# General system control
#
modules/commander
modules/load_mon
modules/navigator
modules/mavlink
modules/gpio_led
modules/uavcan
modules/land_detector
#
# Estimation modules
#
modules/attitude_estimator_q
modules/position_estimator_inav
modules/local_position_estimator
modules/landing_target_estimator
modules/ekf2
#
# Vehicle Control
#
# modules/segway # XXX Needs GCC 4.7 fix
modules/fw_pos_control_l1
modules/fw_att_control
modules/mc_att_control
modules/mc_pos_control
modules/vtol_att_control
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
#
# OBC challenge
#
examples/bottle_drop
#
# Rover apps
#
examples/rover_steering_control
#
# Demo apps
#
#examples/math_demo
# Tutorial code from
# https://px4.io/dev/px4_simple_app
examples/px4_simple_app
# Tutorial code from
# https://px4.io/dev/debug_values
#examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
#examples/fixedwing_control
# Hardware test
#examples/hwtest
)
@@ -1,45 +0,0 @@
add_definitions(
-DPARAM_NO_ORB
-DPARAM_NO_AUTOSAVE
)
px4_nuttx_configure(HWCLASS m4 CONFIG nsh)
# UAVCAN boot loadable Module ID
set(uavcanblid_sw_version_major 0)
set(uavcanblid_sw_version_minor 1)
add_definitions(
-DAPP_VERSION_MAJOR=${uavcanblid_sw_version_major}
-DAPP_VERSION_MINOR=${uavcanblid_sw_version_minor}
)
# Bring in common uavcan hardware identity definitions
include(common/px4_git)
px4_add_git_submodule(TARGET git_uavcan_board_ident PATH "cmake/configs/uavcan_board_ident")
include(configs/uavcan_board_ident/s2740vc-v1)
# N.B. this would be uncommented when there is an APP
#px4_nuttx_make_uavcan_bootloadable(BOARD ${BOARD}
# BIN ${PX4_BINARY_DIR}/s2740vc-v1.bin
# HWNAME ${uavcanblid_name}
# HW_MAJOR ${uavcanblid_hw_version_major}
# HW_MINOR ${uavcanblid_hw_version_minor}
# SW_MAJOR ${uavcanblid_sw_version_major}
# SW_MINOR ${uavcanblid_sw_version_minor})
set(config_module_list
#
# Board support modules
#
drivers/bootloaders
drivers/stm32
#
# System commands
#
systemcmds/reboot
systemcmds/top
systemcmds/config
systemcmds/ver
)
-104
View File
@@ -1,104 +0,0 @@
# This file is shared between posix_bbblue_native.cmake
# and posix_bbblue_cross.cmake.
# This definition allows to differentiate if this just the usual POSIX build
# or if it is for the bbblue.
add_definitions(
-D__PX4_POSIX_BBBLUE
-D__PX4_POSIX
-D__DF_LINUX # For DriverFramework
-D__DF_BBBLUE # For DriverFramework
-DRC_AUTOPILOT_EXT # Enable extensions in Robotics Cape Library
# -DDEBUG_BUILD
)
#optional __DF_BBBLUE_USE_RC_BMP280_IMP
add_definitions(
-D__DF_BBBLUE_USE_RC_BMP280_IMP
)
#optional __PX4_BBBLUE_DEFAULT_MAVLINK_WIFI, default is "SoftAp"
#add_definitions(
# -D__PX4_BBBLUE_DEFAULT_MAVLINK_WIFI="wlan"
#)
set(config_module_list
#
# Board support modules
#
#drivers/barometer
drivers/batt_smbus
drivers/differential_pressure
drivers/distance_sensor
#drivers/telemetry
#drivers/boards
modules/sensors
platforms/posix/drivers/df_mpu9250_wrapper
platforms/posix/drivers/df_bmp280_wrapper
#
# System commands
#
systemcmds/param
systemcmds/led_control
systemcmds/mixer
systemcmds/ver
systemcmds/esc_calib
systemcmds/reboot
systemcmds/topic_listener
systemcmds/tune_control
systemcmds/perf
#
# Estimation modules
#
modules/attitude_estimator_q
modules/position_estimator_inav
modules/local_position_estimator
modules/landing_target_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/logger
modules/commander
modules/dataman
modules/land_detector
modules/navigator
modules/mavlink
#
# PX4 drivers
#
drivers/linux_sbus
drivers/gps
drivers/bbblue_adc
drivers/linux_gpio
drivers/linux_pwm_out
drivers/pwm_out_sim
)
#
# DriverFramework driver
#
set(config_df_driver_list
mpu9250
bmp280
)
-3
View File
@@ -1,3 +0,0 @@
include(configs/posix_bbblue_common)
SET(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-linux-gnueabihf.cmake)
-7
View File
@@ -1,7 +0,0 @@
include(configs/posix_bbblue_common)
add_definitions(
-D __DF_BBBLUE
)
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-native.cmake)
-75
View File
@@ -1,75 +0,0 @@
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
#
# Board support modules
#
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/landing_target_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/logger
modules/commander
modules/dataman
modules/land_detector
modules/navigator
modules/mavlink
#
# PX4 drivers
#
drivers/gps
)
set(config_df_driver_list
ms5607
mpu6050
ak8963
bebop_bus
bebop_rangefinder
mt9v117
)
-17
View File
@@ -1,17 +0,0 @@
# The Eagle board is the first generation Snapdragon Flight board by Qualcomm.
#
# This cmake config builds for POSIX, so the part of the flight stack running
# on the Linux side of the Snapdragon.
include(configs/posix_sdflight_default)
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")
set(CONFIG_SHMEM "1")
# This definition allows to differentiate if this just the usual POSIX build
# or if it is for the Snapdragon.
add_definitions(
-D__PX4_POSIX_EAGLE
)
-38
View File
@@ -1,38 +0,0 @@
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
# Use build stubs unless explicitly set not to
if("${DSPAL_STUBS_ENABLE}" STREQUAL "")
set(DSPAL_STUBS_ENABLE "1")
endif()
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/cmake_hexagon/toolchain/Toolchain-arm-linux-gnueabihf.cmake)
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()
add_definitions(-DORB_COMMUNICATOR)
set(config_module_list
drivers/linux_sbus
systemcmds/param
systemcmds/ver
modules/mavlink
modules/sensors
modules/dataman
modules/logger
modules/simulator
modules/commander
modules/muorb/krait
)
-15
View File
@@ -1,15 +0,0 @@
# Eagle is the code name of a board currently in development.
#
# This cmake config builds for POSIX, so the part of the flight stack running
# on the Linux side of the Snapdragon.
include(configs/posix_sdflight_legacy)
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/cmake_hexagon/toolchain/Toolchain-arm-linux-gnueabihf.cmake)
# This definition allows to differentiate if this just the usual POSIX build
# or if it is for the Snapdragon.
add_definitions(
-D__PX4_POSIX_EAGLE
-D__USING_SNAPDRAGON_LEGACY_DRIVER
)
-19
View File
@@ -1,19 +0,0 @@
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")
set(DISABLE_PARAMS_MODULE_SCOPING TRUE)
add_definitions(-DORB_COMMUNICATOR)
# 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_module_list
modules/muorb/krait
)
@@ -1,11 +0,0 @@
# Excelsior is the code name of a board currently in development.
#
# This cmake config builds for POSIX, so the part of the flight stack running
# on the Linux side of the Snapdragon.
include(configs/posix_sdflight_default)
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/cmake_hexagon/toolchain/Toolchain-arm-oemllib32-linux-gnueabi.cmake)
# This definition allows to differentiate the specific board.
add_definitions(
-D__PX4_POSIX_EXCELSIOR
)
@@ -1,14 +0,0 @@
# Excelsior is the code name of a board currently in development.
#
# This cmake config builds for POSIX, so the part of the flight stack running
# on the Linux side of the Snapdragon.
include(configs/posix_sdflight_legacy)
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/cmake_hexagon/toolchain/Toolchain-arm-oemllib32-linux-gnueabi.cmake)
# This definition allows to differentiate if this just the usual POSIX build
# or if it is for the Snapdragon.
add_definitions(
-D__PX4_POSIX_EXCELSIOR
-D__USING_SNAPDRAGON_LEGACY_DRIVER
)
-85
View File
@@ -1,85 +0,0 @@
#set toolchain
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-xilinx-linux-gnueabi.cmake)
set(CMAKE_PROGRAM_PATH
"${OCPOC_TOOLCHAIN_DIR}"
${CMAKE_PROGRAM_PATH}
)
add_definitions(
-D__PX4_POSIX_OCPOC
-D__DF_LINUX # For DriverFramework
-D__DF_OCPOC # For DriverFramework
-D__PX4_POSIX
)
set(config_module_list
#
# Board support modules
#
drivers/distance_sensor
modules/sensors
platforms/posix/drivers/df_mpu9250_wrapper
platforms/posix/drivers/df_ms5611_wrapper
platforms/posix/drivers/df_hmc5883_wrapper
#
# System commands
#
systemcmds/param
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/landing_target_estimator
modules/ekf2
#
# Vehicle Control
#
modules/mc_att_control
modules/mc_pos_control
modules/vtol_att_control
modules/fw_att_control
modules/fw_pos_control_l1
#
# Library modules
#
modules/logger
modules/commander
modules/dataman
modules/land_detector
modules/navigator
modules/mavlink
#
# PX4 drivers
#
drivers/gps
drivers/ocpoc_adc
drivers/linux_sbus
drivers/linux_pwm_out
drivers/rgbled
examples/px4_simple_app
)
#
# DriverFramework driver
#
set(config_df_driver_list
mpu9250
ms5611
hmc5883
)
-84
View File
@@ -1,84 +0,0 @@
#set toolchain
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-gcc-arm-linux-gnueabihf.cmake)
set(CMAKE_PROGRAM_PATH
${CMAKE_PROGRAM_PATH}
)
add_definitions(
-D__PX4_POSIX_OCPOC
-D__DF_LINUX # For DriverFramework
-D__DF_OCPOC # For DriverFramework
-D__PX4_POSIX
)
set(config_module_list
#
# Board support modules
#
drivers/distance_sensor
modules/sensors
platforms/posix/drivers/df_mpu9250_wrapper
platforms/posix/drivers/df_ms5611_wrapper
platforms/posix/drivers/df_hmc5883_wrapper
#
# System commands
#
systemcmds/param
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/landing_target_estimator
modules/ekf2
#
# Vehicle Control
#
modules/mc_att_control
modules/mc_pos_control
modules/vtol_att_control
modules/fw_att_control
modules/fw_pos_control_l1
#
# Library modules
#
modules/logger
modules/commander
modules/dataman
modules/land_detector
modules/navigator
modules/mavlink
#
# PX4 drivers
#
drivers/gps
drivers/ocpoc_adc
drivers/linux_sbus
drivers/linux_pwm_out
drivers/rgbled
examples/px4_simple_app
)
#
# DriverFramework driver
#
set(config_df_driver_list
mpu9250
ms5611
hmc5883
)
-103
View File
@@ -1,103 +0,0 @@
# This file is shared between posix_rpi_native.cmake
# and posix_rpi_cross.cmake.
# 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/barometer
drivers/batt_smbus
drivers/differential_pressure
drivers/distance_sensor
#drivers/telemetry
modules/sensors
platforms/posix/drivers/df_hmc5883_wrapper
platforms/posix/drivers/df_isl29501_wrapper
platforms/posix/drivers/df_lsm9ds1_wrapper
platforms/posix/drivers/df_mpu9250_wrapper
platforms/posix/drivers/df_ms5611_wrapper
platforms/posix/drivers/df_trone_wrapper
#
# System commands
#
systemcmds/param
systemcmds/dyn
systemcmds/led_control
systemcmds/mixer
systemcmds/ver
systemcmds/esc_calib
systemcmds/reboot
systemcmds/shutdown
systemcmds/topic_listener
systemcmds/tune_control
systemcmds/perf
#
# Estimation modules
#
modules/attitude_estimator_q
modules/position_estimator_inav
modules/local_position_estimator
modules/landing_target_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/logger
modules/commander
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
)
#
# DriverFramework driver
#
set(config_df_driver_list
mpu9250
lsm9ds1
ms5611
hmc5883
trone
isl29501
)
-3
View File
@@ -1,3 +0,0 @@
include(configs/posix_rpi_common)
SET(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-linux-gnueabihf.cmake)
@@ -1,19 +0,0 @@
# 使用这个文件可在上位机交叉编译px4firmware
# use this file to cross compile px4 for raspberry pi without any shield
include(configs/posix_rpi_common)
add_definitions(
-D__DF_RPI_SINGLE # For raspberry pi without shield accessory
)
if("$ENV{RPI_USE_CLANG}" STREQUAL "1")
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-linux-gnueabihf-raspbian-clang.cmake)
else()
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-linux-gnueabihf-raspbian.cmake)
endif()
set(CMAKE_PROGRAM_PATH
"${RPI_TOOLCHAIN_DIR}/gcc-linaro-arm-linux-gnueabihf-raspbian/bin"
${CMAKE_PROGRAM_PATH}
)
-7
View File
@@ -1,7 +0,0 @@
include(configs/posix_rpi_common)
add_definitions(
-D __DF_RPI
)
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-native.cmake)
@@ -1,66 +0,0 @@
include(common/px4_git)
px4_add_git_submodule(TARGET git_cmake_hexagon PATH "cmake/cmake_hexagon")
# 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")
add_definitions(-DORB_COMMUNICATOR)
set(config_module_list
drivers/blinkm
drivers/linux_sbus
drivers/pwm_out_sim
drivers/rgbled
drivers/qshell/posix
systemcmds/param
systemcmds/led_control
systemcmds/mixer
systemcmds/ver
systemcmds/shutdown
systemcmds/topic_listener
systemcmds/tune_control
modules/mavlink
modules/attitude_estimator_q
modules/position_estimator_inav
modules/local_position_estimator
modules/landing_target_estimator
modules/ekf2
modules/mc_pos_control
modules/mc_att_control
modules/muorb/krait
modules/sensors
modules/dataman
modules/logger
modules/simulator
modules/commander
modules/navigator
)
-56
View File
@@ -1,56 +0,0 @@
include(common/px4_git)
px4_add_git_submodule(TARGET git_cmake_hexagon PATH "cmake/cmake_hexagon")
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")
add_definitions(-DORB_COMMUNICATOR)
set(config_module_list
drivers/blinkm
drivers/linux_sbus
drivers/pwm_out_sim
drivers/rgbled
drivers/qshell/posix
systemcmds/param
systemcmds/led_control
systemcmds/mixer
systemcmds/ver
systemcmds/topic_listener
systemcmds/tune_control
modules/mavlink
modules/attitude_estimator_q
modules/position_estimator_inav
modules/local_position_estimator
modules/landing_target_estimator
modules/ekf2
modules/mc_pos_control
modules/mc_att_control
modules/muorb/krait
modules/sensors
modules/dataman
modules/logger
modules/simulator
modules/commander
modules/navigator
)
-5
View File
@@ -1,5 +0,0 @@
include(configs/posix_sdflight_default)
list(APPEND config_module_list
modules/micrortps_bridge
)
-3
View File
@@ -1,3 +0,0 @@
include(cmake/configs/posix_sitl_default.cmake)
# This config is just the same as posix_sitl_default.
-164
View File
@@ -1,164 +0,0 @@
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-native.cmake)
set(config_module_list
#drivers/barometer
drivers/differential_pressure
drivers/distance_sensor
#drivers/telemetry
drivers/batt_smbus
drivers/camera_trigger
drivers/gps
drivers/linux_gpio
drivers/pwm_out_sim
drivers/vmount
modules/sensors
platforms/posix/drivers/tonealrmsim
#
# System commands
#
#systemcmds/bl_update
#systemcmds/config
#systemcmds/dumpfile
systemcmds/dyn
systemcmds/esc_calib
systemcmds/led_control
systemcmds/mixer
systemcmds/motor_ramp
#systemcmds/mtd
#systemcmds/nshterm
systemcmds/param
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
systemcmds/shutdown
systemcmds/sd_bench
systemcmds/top
systemcmds/topic_listener
systemcmds/tune_control
systemcmds/ver
#
# Testing
#
drivers/distance_sensor/sf0x/sf0x_tests
#drivers/test_ppm
lib/rc/rc_tests
modules/commander/commander_tests
lib/controllib/controllib_test
modules/mavlink/mavlink_tests
modules/uORB/uORB_tests
systemcmds/tests
platforms/posix/tests/hello
platforms/posix/tests/dyn_hello
platforms/posix/tests/hrt_test
platforms/posix/tests/vcdev_test
#
# General system control
#
modules/camera_feedback
modules/commander
modules/events
#modules/gpio_led
modules/land_detector
modules/load_mon
modules/mavlink
modules/navigator
modules/replay
modules/simulator
#modules/uavcan
#
# Estimation modules
#
modules/attitude_estimator_q
modules/ekf2
modules/local_position_estimator
modules/position_estimator_inav
modules/wind_estimator
#
# 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
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
modules/landing_target_estimator
#
# OBC challenge
#
examples/bottle_drop
#
# Rover apps
#
examples/rover_steering_control
#
# HippoCampus example (AUV from TUHH)
#
examples/uuv_example_app
#
# Segway
#
examples/segway
#
# Demo apps
#
# Tutorial code from
# https://px4.io/dev/px4_simple_app
examples/px4_simple_app
# Tutorial code from
# https://px4.io/dev/debug_values
examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
examples/fixedwing_control
# Template Module
templates/module
# Hardware test
#examples/hwtest
)
set(config_sitl_viewer jmavsim CACHE STRING "viewer for sitl")
set_property(CACHE config_sitl_viewer PROPERTY STRINGS "jmavsim;none")
set(config_sitl_debugger disable CACHE STRING "debugger for sitl")
set_property(CACHE config_sitl_debugger PROPERTY STRINGS "disable;gdb;lldb")
# If the environment variable 'replay' is defined, we are building with replay
# support. In this case, we enable the orb publisher rules.
set(REPLAY_FILE "$ENV{replay}")
if(REPLAY_FILE)
message("Building with uorb publisher rules support")
add_definitions(-DORB_USE_PUBLISHER_RULES)
endif()
-5
View File
@@ -1,5 +0,0 @@
include(configs/posix_sitl_default)
list(APPEND config_module_list
modules/micrortps_bridge
)
-2
View File
@@ -1,2 +0,0 @@
include(cmake/configs/posix_sitl_default.cmake)
-12
View File
@@ -1,12 +0,0 @@
# The Eagle board is the first generation Snapdragon Flight board by Qualcomm.
#
# This cmake config builds for QURT which is the operating system running on
# the DSP side.
# The config between different QURT builds is shared.
include(configs/qurt_sdflight_default)
# This definition allows to differentiate the specific board.
add_definitions(
-D__PX4_QURT_EAGLE
)
-33
View File
@@ -1,33 +0,0 @@
if ("$ENV{HEXAGON_SDK_ROOT}" STREQUAL "")
message(FATAL_ERROR "Enviroment variable HEXAGON_SDK_ROOT must be set")
else()
set(HEXAGON_SDK_ROOT $ENV{HEXAGON_SDK_ROOT})
endif()
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(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
include(toolchain/Toolchain-qurt)
include(qurt_flags)
include_directories(${HEXAGON_SDK_INCLUDES})
set(config_module_list
#
# System commands
#
systemcmds/param
#
# Library modules
#
)
-59
View File
@@ -1,59 +0,0 @@
if ("$ENV{HEXAGON_SDK_ROOT}" STREQUAL "")
message(FATAL_ERROR "Enviroment variable HEXAGON_SDK_ROOT must be set")
else()
set(HEXAGON_SDK_ROOT $ENV{HEXAGON_SDK_ROOT})
endif()
set(DISABLE_PARAMS_MODULE_SCOPING TRUE)
add_definitions(-DORB_COMMUNICATOR)
# 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_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
include(toolchain/Toolchain-qurt)
include(qurt_flags)
include_directories(${HEXAGON_SDK_INCLUDES})
set(config_module_list
drivers/pwm_out_sim
drivers/rgbled
modules/sensors
#
# System commands
#
systemcmds/param
systemcmds/led
systemcmds/mixer
#
# Estimation modules
#
modules/attitude_estimator_q
modules/position_estimator_inav
modules/local_position_estimator
modules/landing_target_estimator
modules/ekf2
#
# Vehicle Control
#
modules/mc_att_control
modules/mc_pos_control
#
# Library modules
#
modules/commander
#
# sources for muorb over fastrpc
#
modules/muorb/adsp
)
-12
View File
@@ -1,12 +0,0 @@
# Eagle is the code name of a board currently in development.
#
# This cmake config builds for QURT which is the operating system running on
# the DSP side.
# The config between different QURT builds is shared.
include(configs/qurt_sdflight_legacy)
add_definitions(
-D__USING_SNAPDRAGON_LEGACY_DRIVER
-D__PX4_QURT
-D__PX4_QURT_EAGLE
)
-38
View File
@@ -1,38 +0,0 @@
if ("$ENV{HEXAGON_SDK_ROOT}" STREQUAL "")
message(FATAL_ERROR "Enviroment variable HEXAGON_SDK_ROOT must be set")
else()
set(HEXAGON_SDK_ROOT $ENV{HEXAGON_SDK_ROOT})
endif()
set(DISABLE_PARAMS_MODULE_SCOPING TRUE)
add_definitions(-DORB_COMMUNICATOR)
# 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_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
include(toolchain/Toolchain-qurt)
include(qurt_flags)
include_directories(${HEXAGON_SDK_INCLUDES})
set(config_module_list
#
# System commands
#
systemcmds/param
#
# Library modules
#
#
# sources for muorb over fastrpc
#
modules/muorb/adsp
)
-33
View File
@@ -1,33 +0,0 @@
if ("$ENV{HEXAGON_SDK_ROOT}" STREQUAL "")
message(FATAL_ERROR "Enviroment variable HEXAGON_SDK_ROOT must be set")
else()
set(HEXAGON_SDK_ROOT $ENV{HEXAGON_SDK_ROOT})
endif()
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(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
include(toolchain/Toolchain-qurt)
include(qurt_flags)
include_directories(${HEXAGON_SDK_INCLUDES})
set(config_module_list
#
# System commands
#
systemcmds/param
#
# Library modules
#
)
-65
View File
@@ -1,65 +0,0 @@
set(CONFIG_SHMEM "1")
# Run a full link with build stubs to make sure qurt target isn't broken
set(QURT_ENABLE_STUBS "1")
if ("$ENV{HEXAGON_SDK_ROOT}" STREQUAL "")
message(FATAL_ERROR "Enviroment variable HEXAGON_SDK_ROOT must be set")
else()
set(HEXAGON_SDK_ROOT $ENV{HEXAGON_SDK_ROOT})
endif()
set(DISABLE_PARAMS_MODULE_SCOPING TRUE)
add_definitions(-DORB_COMMUNICATOR)
# 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_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
include(toolchain/Toolchain-qurt)
include(qurt_flags)
include_directories(${HEXAGON_SDK_INCLUDES})
set(config_module_list
drivers/pwm_out_sim
drivers/rgbled
modules/sensors
#
# System commands
#
systemcmds/param
systemcmds/led
systemcmds/mixer
#
# Estimation modules
#
modules/attitude_estimator_q
modules/position_estimator_inav
modules/local_position_estimator
modules/landing_target_estimator
modules/ekf2
#
# Vehicle Control
#
modules/mc_att_control
modules/mc_pos_control
#
# Library modules
#
modules/commander
#
# sources for muorb over fastrpc
#
modules/muorb/adsp
)
@@ -1,12 +0,0 @@
# Excelsior is the code name of a board currently in development.
#
# This cmake config builds for QURT which is the operating system running on
# the DSP side.
# The config between different QURT builds is shared.
include(configs/qurt_sdflight_default)
# This definition allows to differentiate the specific board.
add_definitions(
-D__PX4_QURT_EXCELSIOR
)
-14
View File
@@ -1,14 +0,0 @@
# Excelsior is the code name of a board currently in development.
#
# This cmake config builds for QURT which is the operating system running on
# the DSP side.
# The config between different QURT builds is shared.
include(configs/qurt_sdflight_legacy)
add_definitions(
-D__USING_SNAPDRAGON_LEGACY_DRIVER
-D__PX4_QURT
-D__PX4_QURT_EXCELSIOR
)
-93
View File
@@ -1,93 +0,0 @@
include(common/px4_git)
px4_add_git_submodule(TARGET git_cmake_hexagon PATH "cmake/cmake_hexagon")
if ("$ENV{HEXAGON_SDK_ROOT}" STREQUAL "")
message(FATAL_ERROR "Enviroment variable HEXAGON_SDK_ROOT must be set")
else()
set(HEXAGON_SDK_ROOT $ENV{HEXAGON_SDK_ROOT})
endif()
set(CONFIG_SHMEM "1")
add_definitions(-DORB_COMMUNICATOR)
# 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()
# 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)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
include(toolchain/Toolchain-qurt)
include(qurt_flags)
include_directories(${HEXAGON_SDK_INCLUDES})
set(config_module_list
#
# Board support modules
#
modules/sensors
platforms/posix/drivers/df_mpu9250_wrapper
platforms/posix/drivers/df_bmp280_wrapper
platforms/posix/drivers/df_hmc5883_wrapper
platforms/posix/drivers/df_trone_wrapper
platforms/posix/drivers/df_isl29501_wrapper
platforms/posix/drivers/df_ltc2946_wrapper
#
# System commands
#
systemcmds/param
#
# Estimation modules
#
modules/attitude_estimator_q
modules/position_estimator_inav
modules/local_position_estimator
modules/landing_target_estimator
modules/ekf2
#
# Vehicle Control
#
modules/mc_att_control
modules/mc_pos_control
#
# Library modules
#
modules/commander
modules/land_detector
#
# PX4 drivers
#
drivers/gps
drivers/spektrum_rc
drivers/qshell/qurt
drivers/snapdragon_pwm_out
#
# sources for muorb over fastrpc
#
modules/muorb/adsp
)
set(config_df_driver_list
mpu9250
bmp280
hmc5883
trone
isl29501
ltc2946
)
-88
View File
@@ -1,88 +0,0 @@
include(common/px4_git)
px4_add_git_submodule(TARGET git_cmake_hexagon PATH "cmake/cmake_hexagon")
if ("$ENV{HEXAGON_SDK_ROOT}" STREQUAL "")
message(FATAL_ERROR "Enviroment variable HEXAGON_SDK_ROOT must be set")
else()
set(HEXAGON_SDK_ROOT $ENV{HEXAGON_SDK_ROOT})
endif()
set(CONFIG_SHMEM "1")
add_definitions(-DORB_COMMUNICATOR)
# 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()
# 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)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PX4_SOURCE_DIR}/cmake/cmake_hexagon")
include(toolchain/Toolchain-qurt)
include(qurt_flags)
include_directories(${HEXAGON_SDK_INCLUDES})
set(config_module_list
#
# Board support modules
#
modules/sensors
platforms/posix/drivers/df_mpu9250_wrapper
platforms/posix/drivers/df_bmp280_wrapper
#
# System commands
#
systemcmds/param
#
# Estimation modules
#
modules/attitude_estimator_q
modules/position_estimator_inav
modules/local_position_estimator
modules/landing_target_estimator
modules/ekf2
#
# Vehicle Control
#
modules/mc_att_control
modules/mc_pos_control
#
# Library modules
#
modules/commander
modules/land_detector
#
# PX4 drivers
#
drivers/gps
drivers/spektrum_rc
drivers/qshell/qurt
#
# FC_ADDON drivers
#
platforms/qurt/fc_addon/uart_esc
#
# sources for muorb over fastrpc
#
modules/muorb/adsp
)
set(config_df_driver_list
mpu9250
bmp280
)