px4-firmware/cmake/configs/nuttx_px4fmu-v5_default.cmake

164 lines
2.7 KiB
CMake
Raw Normal View History

2016-12-12 18:21:03 -04:00
2018-01-08 17:34:41 -04:00
px4_nuttx_configure(HWCLASS m7 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common IO px4io-v2)
2016-12-12 18:21:03 -04:00
# user-configurable UART ports
set(board_serial_ports
GPS1:/dev/ttyS0
TEL1:/dev/ttyS1
TEL2:/dev/ttyS2
TEL4:/dev/ttyS3)
2016-12-12 18:21:03 -04:00
set(config_uavcan_num_ifaces 2)
set(config_module_list
#
# Board support modules
#
2018-01-15 16:16:01 -04:00
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
2016-12-12 18:21:03 -04:00
drivers/oreoled
drivers/pmw3901
2016-12-12 18:21:03 -04:00
drivers/pwm_input
drivers/pwm_out_sim
drivers/px4flow
drivers/px4fmu
2017-11-28 17:03:15 -04:00
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
2016-12-12 18:21:03 -04:00
drivers/tap_esc
drivers/vmount
modules/sensors
2016-12-12 18:21:03 -04:00
#
# System commands
#
systemcmds/bl_update
systemcmds/config
systemcmds/dumpfile
systemcmds/esc_calib
systemcmds/hardfault_log
systemcmds/led_control
2016-12-12 18:21:03 -04:00
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
2016-12-12 18:21:03 -04:00
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
2016-12-12 18:21:03 -04:00
#
# General system control
#
modules/commander
modules/events
modules/gpio_led
modules/land_detector
2016-12-12 18:21:03 -04:00
modules/load_mon
modules/mavlink
modules/navigator
2016-12-12 18:21:03 -04:00
modules/uavcan
modules/camera_feedback
2016-12-12 18:21:03 -04:00
#
# Estimation modules
#
modules/attitude_estimator_q
modules/ekf2
modules/landing_target_estimator
modules/local_position_estimator
modules/position_estimator_inav
modules/wind_estimator
2016-12-12 18:21:03 -04:00
#
# Vehicle Control
#
modules/fw_att_control
modules/fw_pos_control_l1
modules/gnd_att_control
modules/gnd_pos_control
2016-12-12 18:21:03 -04:00
modules/mc_att_control
modules/mc_pos_control
modules/vtol_att_control
#
# Logging
#
modules/logger
#
# Library modules
#
modules/dataman
2016-12-12 18:21:03 -04:00
#
# OBC challenge
#
2017-10-25 17:05:39 -03:00
#examples/bottle_drop
2016-12-12 18:21:03 -04:00
#
# Rover apps
#
#examples/rover_steering_control
2016-12-12 18:21:03 -04:00
2017-02-25 14:51:38 -04:00
#
# Segway
#
#examples/segway
2016-12-12 18:21:03 -04:00
#
# Demo apps
#
2016-12-12 18:21:03 -04:00
# Tutorial code from
# https://px4.io/dev/px4_simple_app
#examples/px4_simple_app
2016-12-12 18:21:03 -04:00
# 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
)