diff --git a/tests/bluetooth/shell/Makefile b/tests/bluetooth/shell/Makefile index 83dadc4c687..a099c14190e 100644 --- a/tests/bluetooth/shell/Makefile +++ b/tests/bluetooth/shell/Makefile @@ -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 diff --git a/tests/bluetooth/shell/arduino_101.conf b/tests/bluetooth/shell/arduino_101.conf new file mode 100644 index 00000000000..d746005614e --- /dev/null +++ b/tests/bluetooth/shell/arduino_101.conf @@ -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 diff --git a/tests/bluetooth/shell/testcase.ini b/tests/bluetooth/shell/testcase.ini index 2e188a9cf8f..917110ce3dc 100644 --- a/tests/bluetooth/shell/testcase.ini +++ b/tests/bluetooth/shell/testcase.ini @@ -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