forked from Archive/PX4-Autopilot
127 lines
2.4 KiB
CMake
127 lines
2.4 KiB
CMake
|
|
px4_add_board(
|
|
PLATFORM nuttx
|
|
VENDOR holybro
|
|
MODEL durandal-v1
|
|
LABEL stackcheck
|
|
TOOLCHAIN arm-none-eabi
|
|
ARCHITECTURE cortex-m7
|
|
ROMFSROOT px4fmu_common
|
|
BUILD_BOOTLOADER
|
|
IO px4_io-v2_default
|
|
TESTING
|
|
# UAVCAN_INTERFACES 2 - No H7 or FD can support in UAVCAN
|
|
SERIAL_PORTS
|
|
GPS1:/dev/ttyS0
|
|
TEL1:/dev/ttyS1
|
|
TEL2:/dev/ttyS2
|
|
TEL4:/dev/ttyS3
|
|
DRIVERS
|
|
adc
|
|
#barometer # all available barometer drivers
|
|
barometer/ms5611
|
|
batt_smbus
|
|
#camera_capture
|
|
#camera_trigger
|
|
differential_pressure # all available differential pressure drivers
|
|
distance_sensor # all available distance sensor drivers
|
|
#dshot
|
|
gps
|
|
heater
|
|
#imu # all available imu drivers
|
|
#imu/adis16448
|
|
#imu/adis16477
|
|
#imu/adis16497
|
|
imu/bmi088
|
|
imu/mpu6000
|
|
#imu/mpu9250
|
|
#irlock
|
|
#lights/blinkm
|
|
#lights/rgbled
|
|
lights/rgbled_ncp5623c
|
|
magnetometer # all available magnetometer drivers
|
|
#mkblctrl
|
|
#optical_flow # all available optical flow drivers
|
|
#osd
|
|
#pca9685
|
|
#power_monitor/ina226
|
|
#protocol_splitter
|
|
# pwm_input - Need to create arch/stm32 arch/stm32h7 arch/kinetis and reloacate
|
|
# all arch dependant code there
|
|
pwm_out_sim
|
|
px4fmu
|
|
px4io
|
|
#roboclaw
|
|
#tap_esc
|
|
telemetry # all available telemetry drivers
|
|
test_ppm
|
|
tone_alarm
|
|
# uavcan - No H7 or FD can support in UAVCAN yet
|
|
MODULES
|
|
airspeed_selector
|
|
#attitude_estimator_q
|
|
battery_status
|
|
#camera_feedback
|
|
commander
|
|
dataman
|
|
ekf2
|
|
events
|
|
fw_att_control
|
|
fw_pos_control_l1
|
|
land_detector
|
|
#landing_target_estimator
|
|
load_mon
|
|
#local_position_estimator
|
|
logger
|
|
mavlink
|
|
mc_att_control
|
|
mc_pos_control
|
|
mc_rate_control
|
|
navigator
|
|
rc_update
|
|
#rover_pos_control
|
|
sensors
|
|
#sih
|
|
temperature_compensation
|
|
vmount
|
|
vtol_att_control
|
|
SYSTEMCMDS
|
|
bl_update
|
|
config
|
|
dmesg
|
|
dumpfile
|
|
esc_calib
|
|
hardfault_log
|
|
i2cdetect
|
|
led_control
|
|
mixer
|
|
motor_ramp
|
|
motor_test
|
|
mtd
|
|
nshterm
|
|
param
|
|
perf
|
|
pwm
|
|
reboot
|
|
reflect
|
|
sd_bench
|
|
shutdown
|
|
tests # tests and test runner
|
|
top
|
|
topic_listener
|
|
tune_control
|
|
usb_connected
|
|
ver
|
|
work_queue
|
|
EXAMPLES
|
|
#bottle_drop # OBC challenge
|
|
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
|
#hello
|
|
#hwtest # Hardware test
|
|
#matlab_csv_serial
|
|
#px4_mavlink_debug # Tutorial code from http://dev.px4.io/en/debug/debug_values.html
|
|
#px4_simple_app # Tutorial code from http://dev.px4.io/en/apps/hello_sky.html
|
|
#rover_steering_control # Rover example app
|
|
#uuv_example_app
|
|
)
|