mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-12 03:21:35 +08:00
Add a target for nuttx protected build development Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
157 lines
2.8 KiB
CMake
157 lines
2.8 KiB
CMake
|
|
px4_add_board(
|
|
PLATFORM nuttx
|
|
TOOLCHAIN arm-none-eabi
|
|
ARCHITECTURE cortex-m7
|
|
ROMFSROOT px4fmu_common
|
|
IO px4_io-v2_default
|
|
UAVCAN_INTERFACES 2
|
|
UAVCAN_TIMER_OVERRIDE 6
|
|
SERIAL_PORTS
|
|
GPS1:/dev/ttyS0
|
|
TEL1:/dev/ttyS1
|
|
TEL2:/dev/ttyS2
|
|
TEL4:/dev/ttyS3
|
|
|
|
# Drivers in kernel space
|
|
KERNEL_DRIVERS
|
|
adc/ads1115
|
|
adc/board_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
|
|
# heater
|
|
#imu # all available imu drivers
|
|
# imu/analog_devices/adis16448
|
|
imu/bosch/bmi055
|
|
# imu/invensense/icm20602
|
|
imu/invensense/icm20689
|
|
# imu/invensense/icm20948 # required for ak09916 mag
|
|
# irlock
|
|
|
|
# lights # all available light drivers
|
|
# lights/rgbled_pwm
|
|
# magnetometer # all available magnetometer drivers
|
|
magnetometer/isentek/ist8310
|
|
# optical_flow # all available optical flow drivers
|
|
# osd
|
|
# pca9685
|
|
# pca9685_pwm_out
|
|
# power_monitor/ina226
|
|
#protocol_splitter
|
|
# pwm_input
|
|
# pwm_out_sim
|
|
pwm_out
|
|
px4io
|
|
rc_input
|
|
# roboclaw
|
|
# smart_battery/batmon
|
|
# rpm
|
|
safety_button
|
|
# telemetry # all available telemetry drivers
|
|
tone_alarm
|
|
# uavcan
|
|
|
|
# Drivers in user space
|
|
DRIVERS
|
|
gps
|
|
|
|
# Modules in kernel space
|
|
KERNEL_MODULES
|
|
battery_status
|
|
sensors
|
|
ekf2
|
|
mc_att_control
|
|
mc_rate_control
|
|
|
|
# Modules in user space
|
|
MODULES
|
|
# airspeed_selector
|
|
# attitude_estimator
|
|
# camera_feedback
|
|
commander
|
|
dataman
|
|
# esc_battery
|
|
events
|
|
flight_mode_manager
|
|
fw_att_control
|
|
fw_pos_control_l1
|
|
gyro_calibration
|
|
gyro_fft
|
|
land_detector
|
|
landing_target_estimator
|
|
# load_mon
|
|
local_position_estimator
|
|
logger
|
|
mavlink
|
|
mc_hover_thrust_estimator
|
|
mc_pos_control
|
|
#micrortps_bridge
|
|
navigator
|
|
rc_update
|
|
# rover_pos_control
|
|
|
|
# sih
|
|
temperature_compensation
|
|
uuv_att_control
|
|
# uuv_pos_control
|
|
vmount
|
|
# vtol_att_control
|
|
|
|
# systemcmds in kernel space
|
|
KERNEL_SYSTEMCMDS
|
|
kuorb
|
|
kparam
|
|
pwm
|
|
top
|
|
|
|
# systemcmds in user space
|
|
SYSTEMCMDS
|
|
px4_insmod
|
|
# bl_update
|
|
# dmesg
|
|
# dumpfile
|
|
# esc_calib
|
|
# gpio
|
|
# hardfault_log
|
|
# i2cdetect
|
|
# led_control
|
|
# mft
|
|
mixer
|
|
# motor_ramp
|
|
# motor_test
|
|
# mtd
|
|
nshterm
|
|
param
|
|
perf
|
|
reboot
|
|
# reflect
|
|
# sd_bench
|
|
# serial_test
|
|
# system_time
|
|
topic_listener
|
|
tune_control
|
|
uorb
|
|
# usb_connected
|
|
ver
|
|
work_queue
|
|
EXAMPLES
|
|
#fake_gps
|
|
#fake_imu
|
|
#fake_magnetometer
|
|
#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
|
|
#work_item
|
|
)
|