Bluetooth: Controller: add init test for BT 4.0 only controller

Add a test configuration to build a controller that
supports only Bluetooth v4.0 features.

This is copy of prj_controller.conf, but Kconfig defines
will be added in subsequent commits to conditionally
compile out feature not in Bluetooth v4.0 specification.

Also, added nrf52840_pca10056 and arduino_101_ble board
builds be tested.

Change-id: I36891bfc54cc36a8588c9b019de582e3193e8aa3
Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no>
This commit is contained in:
Vinayak Chettimada 2016-12-28 05:42:06 +01:00 committed by Johan Hedberg
commit 04794ba1c1
2 changed files with 20 additions and 2 deletions

View file

@ -0,0 +1,11 @@
CONFIG_BLUETOOTH=y
CONFIG_BLUETOOTH_CONTROLLER=y
CONFIG_BLUETOOTH_PERIPHERAL=y
CONFIG_BLUETOOTH_CENTRAL=y
CONFIG_BLUETOOTH_SMP=y
CONFIG_BLUETOOTH_SIGNING=y
CONFIG_BLUETOOTH_SMP_SC_ONLY=y
CONFIG_BLUETOOTH_L2CAP_DYNAMIC_CHANNEL=y
CONFIG_BLUETOOTH_GATT_DYNAMIC_DB=y
CONFIG_BLUETOOTH_GATT_CLIENT=y
CONFIG_BLUETOOTH_BREDR=n

View file

@ -8,14 +8,21 @@ tags = bluetooth
build_only = true
extra_args = CONF_FILE=prj_controller.conf
# Only run on nRF5x, the only supported radio
platform_whitelist = nrf52_pca10040 nrf51_pca10028 96b_nitrogen
platform_whitelist = nrf52840_pca10056 nrf52_pca10040 nrf51_pca10028 arduino_101_ble 96b_nitrogen
[test_controller_4_0]
tags = bluetooth
build_only = true
extra_args = CONF_FILE=prj_controller_4_0.conf
# Only run on nRF5x, the only supported radio
platform_whitelist = nrf52840_pca10056 nrf52_pca10040 nrf51_pca10028 arduino_101_ble
[test_controller_dbg]
tags = bluetooth
build_only = true
extra_args = CONF_FILE=prj_controller_dbg.conf
# Only run on nRF5x, the only supported radio
platform_whitelist = nrf52_pca10040 nrf51_pca10028 96b_nitrogen
platform_whitelist = nrf52840_pca10056 nrf52_pca10040 nrf51_pca10028 arduino_101_ble 96b_nitrogen
[test_h5]
tags = bluetooth