2014-06-05 07:45:19 -03:00
|
|
|
#
|
|
|
|
# Makefile for the VRBRAIN 5.1 APM configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# Use the configuration's ROMFS.
|
|
|
|
#
|
|
|
|
ROMFS_ROOT = $(SKETCHBOOK)/mk/VRBRAIN/ROMFS_VRBRAIN51_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/vrbrain-v51
|
|
|
|
MODULES += drivers/vrbrain/vroutput
|
|
|
|
MODULES += drivers/vrbrain/vrinput/controls
|
|
|
|
MODULES += drivers/vrbrain/vrinput
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-06-24 02:23:19 -03:00
|
|
|
MODULES += drivers/mpu6000e
|
|
|
|
MODULES += drivers/mpu6000i
|
|
|
|
|
|
|
|
MODULES += drivers/hmc5883e
|
|
|
|
MODULES += drivers/hmc5883i
|
2014-06-19 12:19:27 -03:00
|
|
|
|
2014-06-05 07:45:19 -03:00
|
|
|
MODULES += drivers/ms5611
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# System commands
|
|
|
|
#
|
|
|
|
MODULES += systemcmds/mtd
|
2014-06-19 12:19:27 -03:00
|
|
|
MODULES += systemcmds/bl_update
|
2014-06-05 07:45:19 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MODULES += systemcmds/pwm
|
|
|
|
|
|
|
|
MODULES += systemcmds/reboot
|
2014-06-19 12:19:27 -03:00
|
|
|
MODULES += systemcmds/top
|
2014-06-05 07:45:19 -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 )
|