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

193 lines
3.1 KiB
CMake
Raw Normal View History

2015-10-03 12:25:49 -03:00
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)
2015-10-03 12:25:49 -03:00
set(config_module_list
#
# Board support modules
#
drivers/device
drivers/stm32
drivers/stm32/adc
drivers/stm32/tone_alarm
drivers/led
drivers/px4fmu
drivers/px4io
drivers/boards/px4fmu-v1
drivers/ardrone_interface
drivers/rgbled
drivers/mpu6000
drivers/lsm303d
drivers/l3gd20
drivers/hmc5883
drivers/ms5611
drivers/mb12xx
drivers/sf0x
#drivers/ll40ls
2015-10-03 12:25:49 -03:00
drivers/trone
drivers/gps
drivers/pwm_out_sim
2015-12-26 09:43:08 -04:00
#drivers/hott
#drivers/hott/hott_telemetry
#drivers/hott/hott_sensors
2015-10-03 12:25:49 -03:00
drivers/blinkm
drivers/airspeed
drivers/ets_airspeed
drivers/meas_airspeed
drivers/frsky_telemetry
modules/sensors
drivers/vmount
2016-05-01 09:22:16 -03:00
drivers/camera_trigger
drivers/mkblctrl
2015-10-03 12:25:49 -03:00
drivers/px4flow
#
# 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
#
# General system control
#
modules/commander
modules/events
modules/load_mon
2015-10-03 12:25:49 -03:00
modules/navigator
modules/mavlink
modules/gpio_led
modules/land_detector
#
# Estimation modules
2015-10-03 12:25:49 -03:00
#
modules/attitude_estimator_q
#modules/position_estimator_inav
modules/local_position_estimator
modules/ekf2
2015-10-03 12:25:49 -03:00
#
# 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/sdlog2
2016-04-25 18:36:13 -03:00
modules/logger
2015-10-03 12:25:49 -03:00
#
# Library modules
#
modules/param
modules/systemlib
modules/systemlib/mixer
modules/uORB
modules/dataman
#
# Libraries
#
2016-04-14 15:07:28 -03:00
lib/controllib
2015-10-03 12:25:49 -03:00
lib/mathlib
lib/mathlib/math/filter
lib/ecl
lib/external_lgpl
lib/geo
lib/geo_lookup
lib/conversion
lib/launchdetection
lib/led
lib/terrain_estimation
lib/runway_takeoff
lib/tailsitter_recovery
lib/version
lib/DriverFramework/framework
2015-10-03 12:25:49 -03:00
platforms/nuttx
# had to add for cmake, not sure why wasn't in original config
platforms/common
2015-10-03 12:25:49 -03:00
platforms/nuttx/px4_layer
#
# OBC challenge
#
# modules/bottle_drop
2015-10-03 12:25:49 -03:00
#
# Rover apps
#
# examples/rover_steering_control
2015-10-03 12:25:49 -03:00
#
# 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/daemon
#examples/px4_daemon_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(config_extra_builtin_cmds
serdis
sercon
)
set(config_io_board
px4io-v1
)
set(config_extra_libs
)
set(config_io_extra_libs
)
add_custom_target(sercon)
set_target_properties(sercon PROPERTIES
PRIORITY "SCHED_PRIORITY_DEFAULT"
MAIN "sercon"
STACK_MAIN "2048"
COMPILE_FLAGS "-Os")
2015-10-03 12:25:49 -03:00
add_custom_target(serdis)
set_target_properties(serdis PROPERTIES
PRIORITY "SCHED_PRIORITY_DEFAULT"
MAIN "serdis"
STACK_MAIN "2048"
COMPILE_FLAGS "-Os")