Bluetooth: tests/shell: Add Arduino 101-specific configuration

Add an Arduino 101-specific configuration that enables flash-based
storage support as well as the file system shell.

Change-Id: Ic10ea958dd2446df4942a8dfd3cce1e3368852b2
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2016-11-09 09:13:03 +02:00 committed by Szymon Janc
commit 77dcd7151d
3 changed files with 34 additions and 2 deletions

View file

@ -19,9 +19,14 @@
# DESCRIPTION
# Makefile for the console shell with Bluetooth commands
BOARD ?= qemu_x86
CONF_FILE = prj.conf
QEMU_EXTRA_FLAGS = -serial unix:/tmp/bt-server-bredr
ifeq ($(BOARD),arduino_101)
CONF_FILE = arduino_101.conf
else
CONF_FILE = prj.conf
endif
PRJ_INCPATH += ${ZEPHYR_BASE}/include/drivers
include $(ZEPHYR_BASE)/Makefile.inc

View file

@ -0,0 +1,27 @@
CONFIG_MINIMAL_LIBC_EXTENDED=y
CONFIG_BLUETOOTH=y
CONFIG_BLUETOOTH_LE=y
CONFIG_CONSOLE_HANDLER=y
CONFIG_BLUETOOTH_DEBUG_LOG=y
CONFIG_BLUETOOTH_CENTRAL=y
CONFIG_BLUETOOTH_PERIPHERAL=y
CONFIG_BLUETOOTH_PRIVACY=y
CONFIG_BLUETOOTH_SMP=y
CONFIG_BLUETOOTH_SIGNING=y
CONFIG_BLUETOOTH_ATT_PREPARE_COUNT=2
CONFIG_BLUETOOTH_GATT_CLIENT=y
CONFIG_BLUETOOTH_L2CAP_DYNAMIC_CHANNEL=y
CONFIG_BLUETOOTH_TINYCRYPT_ECC=y
CONFIG_CONSOLE_HANDLER_SHELL=y
CONFIG_ENABLE_SHELL=y
CONFIG_BLUETOOTH_BREDR_NAME="test shell"
CONFIG_BLUETOOTH_ATT_REQ_COUNT=5
CONFIG_BLUETOOTH_INTERNAL_STORAGE=y
CONFIG_FLASH=y
CONFIG_SPI=y
CONFIG_GPIO=y
CONFIG_FILE_SYSTEM=y
CONFIG_FILE_SYSTEM_FAT=y
CONFIG_DISK_ACCESS_FLASH=y
CONFIG_FS_FAT_FLASH_DISK_W25QXXDV=y
CONFIG_FILE_SYSTEM_SHELL=y

View file

@ -1,7 +1,7 @@
[test]
tags = bluetooth
build_only = true
platform_whitelist = qemu_cortex_m3 qemu_x86
platform_whitelist = qemu_cortex_m3 qemu_x86 arduino_101
[test_nble]
tags = bluetooth