Merge branch 'export-build' of https://github.com/PX4/Firmware into fmuv2_bringup

This commit is contained in:
px4dev 2013-04-26 20:43:07 -07:00
commit 1c78e365ce
26 changed files with 33 additions and 46 deletions

View File

@ -1,44 +0,0 @@
############################################################################
#
# Copyright (C) 2012 PX4 Development Team. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# 3. Neither the name PX4 nor the names of its contributors may be
# used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
#
# Makefile to build assorted test cases
#
APPNAME = tests
PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 12000
include $(APPDIR)/mk/app.mk
MAXOPTIMIZATION = -Os

View File

@ -15,7 +15,12 @@ MODULES += drivers/boards/px4fmu
MODULES += drivers/lsm303d
MODULES += drivers/l3gd20
MODULES += drivers/ardrone_interface
#
# System utilities
#
MODULES += systemcmds/eeprom
MODULES += systemcmds/tests
#
# General system control
@ -73,7 +78,6 @@ BUILTIN_COMMANDS := \
$(call _B, sensors, SCHED_PRIORITY_MAX-5, 4096, sensors_main ) \
$(call _B, sercon, , 2048, sercon_main ) \
$(call _B, serdis, , 2048, serdis_main ) \
$(call _B, tests, , 12000, tests_main ) \
$(call _B, tone_alarm, , 2048, tone_alarm_main ) \
$(call _B, top, SCHED_PRIORITY_DEFAULT-10, 3000, top_main ) \
$(call _B, param, SCHED_PRIORITY_DEFAULT-10, 2048, param_main ) \

View File

@ -127,7 +127,6 @@ CONFIGURED_APPS += drivers/mb12xx
# Testing stuff
CONFIGURED_APPS += px4/sensors_bringup
CONFIGURED_APPS += px4/tests
ifeq ($(CONFIG_CAN),y)
#CONFIGURED_APPS += examples/can

View File

View File

@ -0,0 +1,28 @@
#
# Assorted tests and the like
#
MODULE_COMMAND = tests
MODULE_STACKSIZE = 12000
MAXOPTIMIZATION = -Os
SRCS = test_adc.c \
test_bson.c \
test_float.c \
test_gpio.c \
test_hott_telemetry.c \
test_hrt.c \
test_int.c \
test_jig_voltages.c \
test_led.c \
test_sensors.c \
test_servo.c \
test_sleep.c \
test_time.c \
test_uart_baudchange.c \
test_uart_console.c \
test_uart_loopback.c \
test_uart_send.c \
tests_file.c \
tests_main.c \
tests_param.c