forked from Archive/PX4-Autopilot
126 lines
2.0 KiB
CMake
126 lines
2.0 KiB
CMake
include(nuttx/px4_impl_nuttx)
|
|
|
|
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
|
|
|
|
set(CMAKE_TOOLCHAIN_FILE ${PX4_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-none-eabi.cmake)
|
|
|
|
set(config_uavcan_num_ifaces 2)
|
|
|
|
set(config_module_list
|
|
#
|
|
# Board support modules
|
|
#
|
|
drivers/device
|
|
drivers/stm32
|
|
drivers/led
|
|
drivers/px4fmu
|
|
drivers/boards/aerofc-v1
|
|
drivers/tap_esc
|
|
drivers/mpu9250
|
|
drivers/ms5611
|
|
drivers/hmc5883
|
|
drivers/gps
|
|
drivers/ist8310
|
|
drivers/ll40ls
|
|
drivers/aerofc_adc
|
|
modules/sensors
|
|
# dummy tone alarm
|
|
modules/dummy
|
|
|
|
#
|
|
# System commands
|
|
#
|
|
systemcmds/bl_update
|
|
systemcmds/mixer
|
|
systemcmds/param
|
|
systemcmds/perf
|
|
systemcmds/pwm
|
|
systemcmds/esc_calib
|
|
systemcmds/hardfault_log
|
|
systemcmds/motor_test
|
|
systemcmds/reboot
|
|
systemcmds/top
|
|
systemcmds/config
|
|
systemcmds/nshterm
|
|
systemcmds/mtd
|
|
systemcmds/dumpfile
|
|
systemcmds/ver
|
|
systemcmds/topic_listener
|
|
|
|
#
|
|
# General system control
|
|
#
|
|
modules/commander
|
|
modules/load_mon
|
|
modules/navigator
|
|
modules/mavlink
|
|
modules/land_detector
|
|
|
|
#
|
|
# Estimation modules (EKF/ SO3 / other filters)
|
|
#
|
|
modules/attitude_estimator_q
|
|
modules/position_estimator_inav
|
|
modules/local_position_estimator
|
|
modules/ekf2
|
|
|
|
#
|
|
# Vehicle Control
|
|
#
|
|
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/param
|
|
modules/systemlib
|
|
modules/systemlib/mixer
|
|
modules/uORB
|
|
modules/dataman
|
|
|
|
#
|
|
# Libraries
|
|
#
|
|
lib/controllib
|
|
lib/mathlib
|
|
lib/mathlib/math/filter
|
|
lib/ecl
|
|
lib/external_lgpl
|
|
lib/geo
|
|
lib/geo_lookup
|
|
lib/conversion
|
|
lib/launchdetection
|
|
lib/terrain_estimation
|
|
lib/runway_takeoff
|
|
lib/tailsitter_recovery
|
|
lib/version
|
|
lib/DriverFramework/framework
|
|
lib/rc
|
|
platforms/nuttx
|
|
|
|
# had to add for cmake, not sure why wasn't in original config
|
|
platforms/common
|
|
platforms/nuttx/px4_layer
|
|
)
|
|
|
|
set(config_extra_builtin_cmds
|
|
)
|
|
|
|
set(config_io_board
|
|
)
|
|
|
|
set(config_extra_libs
|
|
)
|
|
|
|
set(config_io_extra_libs
|
|
)
|