diff --git a/samples/microkernel/test/test_bluetooth/Makefile b/samples/microkernel/test/test_bluetooth/Makefile new file mode 100644 index 0000000000..da126b7fa8 --- /dev/null +++ b/samples/microkernel/test/test_bluetooth/Makefile @@ -0,0 +1,44 @@ +# Makefile - Bluetoot test Makefile + +# +# Copyright (c) 2015 Intel Corporation. +# +# 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 of Intel Corporation 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 HOLDER 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. +# + +include $(subst \,/,${VXMICRO_BASE})/make/env/defs.base + +# default BSP +BSP ?= generic_pc + +PRJ_CONF = prj_${vARCH}.conf +VPFILE = prj.vpf + +PRJ_SRCPATH = ${vBASE}/samples/bluetooth/test_bluetooth/ +PRJ_INCPATH += ${vBASE}/samples/include/ + +include ${vMAKE}/target/make.ukernel diff --git a/samples/microkernel/test/test_bluetooth/prj.vpf b/samples/microkernel/test/test_bluetooth/prj.vpf new file mode 100644 index 0000000000..a3ad4a5e63 --- /dev/null +++ b/samples/microkernel/test/test_bluetooth/prj.vpf @@ -0,0 +1,5 @@ +% Application : Bluetooth test + +% TASK NAME PRIO ENTRY STACK GROUPS +% =================================================== + TASK MAIN 7 mainloop 2048 [EXE] diff --git a/samples/microkernel/test/test_bluetooth/prj_x86.conf b/samples/microkernel/test/test_bluetooth/prj_x86.conf new file mode 100644 index 0000000000..756f7d9be2 --- /dev/null +++ b/samples/microkernel/test/test_bluetooth/prj_x86.conf @@ -0,0 +1,6 @@ +# Let stack canaries use non-random number generator. +# This option is NOT to be used in production code. +CONFIG_TEST_RANDOM_GENERATOR=y +CONFIG_BLUETOOTH=y +CONFIG_BLUETOOTH_UART=n +CONFIG_UART_INTERRUPT_DRIVEN=n diff --git a/scripts/sanity_chk/regression_chk b/scripts/sanity_chk/regression_chk index da354a6481..53822aa537 100755 --- a/scripts/sanity_chk/regression_chk +++ b/scripts/sanity_chk/regression_chk @@ -118,6 +118,7 @@ microkernel/test/test_task ti_lm3s6965! fsl_frdm_k64f \n\ microkernel/test/test_task_irq ti_lm3s6965! fsl_frdm_k64f \n\ microkernel/test/test_timer ti_lm3s6965! fsl_frdm_k64f \n\ microkernel/test/test_xip ti_lm3s6965! fsl_frdm_k64f \n\ +microkernel/test/test_bluetooth pentium4! minuteia! atom quark \n\ microkernel/test/test_critical pentium4! minuteia! atom quark \n\ microkernel/test/test_events pentium4! minuteia! atom quark \n\ microkernel/test/test_fifo pentium4! minuteia! atom quark \n\