Skip to content

Commit b01e887

Browse files
nordicjmmbolivar-nordic
authored andcommitted
[nrf fromtree] samples: boards: nrf: mesh: onoff: Remove MCUmgr files
This application does not actually seem to use MCUmgr functionality, therefore remove it. Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit 17e7ca7) (cherry picked from commit fdbe51b)
1 parent b6b198c commit b01e887

File tree

6 files changed

+0
-114
lines changed

6 files changed

+0
-114
lines changed

samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ target_sources(app PRIVATE
1818
src/mesh/transition.c
1919
)
2020

21-
target_sources_ifdef(CONFIG_MCUMGR app PRIVATE src/smp_svr.c)
22-
2321
zephyr_include_directories(
2422
src/
2523
src/mesh

samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/prj_smp_svr.conf

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

samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/sample.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,3 @@ tests:
55
platform_allow: nrf52840dk_nrf52840
66
tags: bluetooth
77
harness: bluetooth
8-
sample.bluetooth.mesh.onoff_level_lighting_vnd.mcumgr:
9-
platform_allow: nrf52840dk_nrf52840
10-
tags: bluetooth
11-
harness: bluetooth
12-
extra_args: OVERLAY_CONFIG="prj_smp_svr.conf"

samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/main.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@
1515
#include "storage.h"
1616
#include "transition.h"
1717

18-
#if defined(CONFIG_MCUMGR)
19-
#include <zephyr/mgmt/mcumgr/transport/smp_bt.h>
20-
#include "smp_svr.h"
21-
#endif
22-
2318
static bool reset;
2419

2520
static void light_default_var_init(void)
@@ -156,10 +151,6 @@ void main(void)
156151

157152
app_gpio_init();
158153

159-
#if defined(CONFIG_MCUMGR)
160-
smp_svr_init();
161-
#endif
162-
163154
printk("Initializing...\n");
164155

165156
ps_settings_init();
@@ -179,11 +170,4 @@ void main(void)
179170

180171
short_time_multireset_bt_mesh_unprovisioning();
181172
k_timer_start(&reset_counter_timer, K_MSEC(7000), K_NO_WAIT);
182-
183-
#if defined(CONFIG_MCUMGR)
184-
/* Initialize the Bluetooth mcumgr transport. */
185-
smp_bt_register();
186-
187-
k_timer_start(&smp_svr_timer, K_NO_WAIT, K_MSEC(1000));
188-
#endif
189173
}

samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/smp_svr.c

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

samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/smp_svr.h

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

0 commit comments

Comments
 (0)