Skip to content

Commit 9c8c905

Browse files
alxelaxcarlescufi
authored andcommitted
samples: Bluetooth: Mesh: remove nrf51 support
nrf51 has been discontinued. There is no reason to support ble mesh as well as new mesh features and fitting of samples for nrf51 DK platforms. As alternative support of nrf52840 has been added if there wasn't before. Signed-off-by: Aleksandr Khromykh <[email protected]>
1 parent e5a6e14 commit 9c8c905

File tree

7 files changed

+5
-79
lines changed

7 files changed

+5
-79
lines changed

samples/bluetooth/mesh/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
cmake_minimum_required(VERSION 3.20.0)
44
set(QEMU_EXTRA_FLAGS -s)
55

6-
if((BOARD STREQUAL nrf51_blenano) OR (BOARD STREQUAL nrf51_ble400))
7-
set(CONF_FILE nrf51_qfaa.conf)
8-
endif()
9-
106
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
117
project(mesh)
128

samples/bluetooth/mesh/nrf51_qfaa.conf

Lines changed: 0 additions & 49 deletions
This file was deleted.

samples/bluetooth/mesh/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sample:
33
tests:
44
sample.bluetooth.mesh:
55
harness: bluetooth
6-
platform_allow: bbc_microbit nrf51_blenano qemu_x86
6+
platform_allow: bbc_microbit qemu_x86 nrf52840dk_nrf52840
77
integration_platforms:
88
- qemu_x86
99
tags: bluetooth

samples/bluetooth/mesh_demo/prj_bbc_microbit.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ CONFIG_BT_MESH=y
2121
CONFIG_BT_MESH_RELAY=y
2222
CONFIG_BT_MESH_SEG_BUFS=6
2323
CONFIG_BT_MESH_SUBNET_COUNT=1
24-
CONFIG_BT_MESH_APP_KEY_COUNT=2
24+
CONFIG_BT_MESH_APP_KEY_COUNT=1
2525
CONFIG_BT_MESH_MODEL_GROUP_COUNT=2
2626
CONFIG_BT_MESH_ADV_BUF_COUNT=3
2727
CONFIG_BT_MESH_LOOPBACK_BUFS=8
2828
CONFIG_BT_MESH_PB_ADV=n
2929
CONFIG_BT_MESH_RELAY_BUF_COUNT=2
30+
CONFIG_BT_MESH_MSG_CACHE_SIZE=2
3031
CONFIG_BT_MESH_CFG_CLI=y
3132
CONFIG_BT_MESH_BEACON_ENABLED=n
3233

samples/bluetooth/mesh_demo/prj_nrf51_blenano.conf

Lines changed: 0 additions & 22 deletions
This file was deleted.

samples/bluetooth/mesh_demo/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sample:
33
tests:
44
sample.bluetooth.mesh_demo:
55
harness: bluetooth
6-
platform_allow: bbc_microbit nrf51_blenano qemu_x86
6+
platform_allow: bbc_microbit qemu_x86 nrf52840dk_nrf52840
77
integration_platforms:
88
- qemu_x86
99
- bbc_microbit

samples/bluetooth/mesh_provisioner/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sample:
33
tests:
44
sample.bluetooth.mesh_provisioner:
55
harness: bluetooth
6-
platform_allow: qemu_cortex_m3 qemu_x86 nrf51dk_nrf51422 nrf52dk_nrf52832
6+
platform_allow: qemu_cortex_m3 qemu_x86 nrf52840dk_nrf52840
77
integration_platforms:
88
- qemu_cortex_m3
99
tags: bluetooth

0 commit comments

Comments
 (0)