Skip to content

Commit

Permalink
Tools/ardupilotwaf: added config cmake files for all VRBRAIN boards
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeMike committed Oct 22, 2016
1 parent 9df5d34 commit 67d7fef
Show file tree
Hide file tree
Showing 7 changed files with 125 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
include(nuttx/px4_impl_nuttx)

set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/cmake/toolchains/Toolchain-arm-none-eabi.cmake)

set(config_module_list
platforms/common
platforms/nuttx
platforms/nuttx/px4_layer
modules/param
#
# Board support modules
#
drivers/device
drivers/stm32
drivers/stm32/adc
drivers/stm32/tone_alarm
drivers/led
drivers/px4fmu
drivers/rgbled
drivers/hmc5883
drivers/ms5611
drivers/mb12xx
drivers/ll40ls
drivers/trone
drivers/airspeed
drivers/ets_airspeed
drivers/meas_airspeed
drivers/mkblctrl
drivers/batt_smbus
drivers/irlock
drivers/pwm_input
drivers/px4flow

#
# System commands
#
systemcmds/bl_update
systemcmds/mixer
systemcmds/perf
systemcmds/pwm
systemcmds/reboot
systemcmds/top
systemcmds/nshterm
systemcmds/mtd
systemcmds/ver
systemcmds/reflect
systemcmds/motor_test
systemcmds/usb_connected
systemcmds/otp

#
# Library modules
#
modules/systemlib
modules/systemlib/mixer
modules/uORB
lib/mathlib/math/filter
lib/conversion
lib/mathlib
lib/rc
)

set(config_extra_builtin_cmds
serdis
sercon
ArduPilot
)

set(config_extra_libs
${APM_PROGRAM_LIB}
)

add_custom_target(sercon)
set_target_properties(sercon PROPERTIES
MAIN "sercon"
STACK "2048"
)

add_custom_target(serdis)
set_target_properties(serdis PROPERTIES
MAIN "serdis"
STACK "2048"
)

add_custom_target(ArduPilot)
set_target_properties(ArduPilot PROPERTIES
MAIN "ArduPilot"
STACK "4096"
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
include(configs/nuttx_vrbrain-common_apm)

list(APPEND config_module_list
drivers/boards/vrbrain-v51
drivers/mpu6000
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
include(configs/nuttx_vrbrain-common_apm)

list(APPEND config_module_list
drivers/boards/vrbrain-v52
drivers/mpu6000
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
include(configs/nuttx_vrbrain-common_apm)

list(APPEND config_module_list
drivers/boards/vrbrain-v54
drivers/mpu6000
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
include(configs/nuttx_vrbrain-common_apm)

list(APPEND config_module_list
drivers/boards/vrcore-v10
drivers/mpu9250
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
include(configs/nuttx_vrbrain-common_apm)

list(APPEND config_module_list
drivers/boards/vrubrain-v51
drivers/mpu6000
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
include(configs/nuttx_vrbrain-common_apm)

list(APPEND config_module_list
drivers/boards/vrubrain-v52
drivers/mpu6000
)

0 comments on commit 67d7fef

Please sign in to comment.