2014-05-30 18:01:44 -03:00
|
|
|
#
|
|
|
|
# Makefile for the VR MICRO BRAIN 5.1 APM configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# Use the configuration's ROMFS.
|
|
|
|
#
|
|
|
|
ROMFS_ROOT = $(SKETCHBOOK)/mk/VRBRAIN/ROMFS_VRUBRAIN51_APM
|
|
|
|
|
|
|
|
MODULES += $(APM_MODULE_DIR)
|
|
|
|
|
|
|
|
#
|
|
|
|
# Board support modules
|
|
|
|
#
|
|
|
|
MODULES += drivers/device
|
|
|
|
MODULES += drivers/stm32
|
|
|
|
MODULES += drivers/stm32/adc
|
|
|
|
MODULES += drivers/stm32/tone_alarm
|
|
|
|
MODULES += drivers/led
|
|
|
|
MODULES += drivers/buzzer
|
|
|
|
|
|
|
|
|
|
|
|
MODULES += drivers/boards/vrubrain-v51
|
|
|
|
MODULES += drivers/vrbrain/vroutput
|
|
|
|
MODULES += drivers/vrbrain/vrinput/controls
|
|
|
|
MODULES += drivers/vrbrain/vrinput
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#MODULES += drivers/mpu6000
|
|
|
|
#MODULES += drivers/mpu6000_external
|
|
|
|
MODULES += drivers/mpu6000_onboard
|
2014-06-19 12:19:27 -03:00
|
|
|
|
2014-05-30 18:01:44 -03:00
|
|
|
#MODULES += drivers/hmc5883
|
|
|
|
MODULES += drivers/hmc5883_external
|
|
|
|
#MODULES += drivers/hmc5883_onboard
|
|
|
|
MODULES += drivers/ms5611
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# System commands
|
|
|
|
#
|
|
|
|
MODULES += systemcmds/mtd
|
2014-06-19 12:19:27 -03:00
|
|
|
MODULES += systemcmds/bl_update
|
2014-05-30 18:01:44 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MODULES += systemcmds/pwm
|
|
|
|
|
|
|
|
MODULES += systemcmds/reboot
|
2014-06-19 12:19:27 -03:00
|
|
|
MODULES += systemcmds/top
|
2014-05-30 18:01:44 -03:00
|
|
|
|
|
|
|
|
|
|
|
MODULES += systemcmds/tests
|
|
|
|
|
|
|
|
MODULES += systemcmds/nshterm
|
|
|
|
|
|
|
|
#
|
|
|
|
# General system control
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Estimation modules (EKF/ SO3 / other filters)
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Vehicle Control
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Logging
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Unit tests
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Library modules
|
|
|
|
#
|
|
|
|
MODULES += modules/systemlib
|
|
|
|
|
|
|
|
|
|
|
|
MODULES += modules/uORB
|
|
|
|
|
|
|
|
#
|
|
|
|
# Libraries
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
MODULES += lib/mathlib/math/filter
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Transitional support - add commands from the NuttX export archive.
|
|
|
|
#
|
|
|
|
# In general, these should move to modules over time.
|
|
|
|
#
|
|
|
|
# Each entry here is <command>.<priority>.<stacksize>.<entrypoint> but we use a helper macro
|
|
|
|
# to make the table a bit more readable.
|
|
|
|
#
|
|
|
|
define _B
|
|
|
|
$(strip $1).$(or $(strip $2),SCHED_PRIORITY_DEFAULT).$(or $(strip $3),CONFIG_PTHREAD_STACK_DEFAULT).$(strip $4)
|
|
|
|
endef
|
|
|
|
|
|
|
|
# command priority stack entrypoint
|
|
|
|
BUILTIN_COMMANDS := \
|
|
|
|
$(call _B, sercon, , 2048, sercon_main ) \
|
|
|
|
$(call _B, serdis, , 2048, serdis_main ) \
|
|
|
|
$(call _B, msconn, , 2048, msconn_main ) \
|
|
|
|
$(call _B, msdis, , 2048, msdis_main ) \
|
|
|
|
$(call _B, sysinfo, , 2048, sysinfo_main )
|