Skip to content

Commit 982dcb9

Browse files
treewide: restructure libraries, subsystems and drivers
Restructure libraries, subsystems and drivers including headers. Signed-off-by: Eivind Jølsgard <[email protected]>
1 parent fad8e4a commit 982dcb9

File tree

142 files changed

+190
-124
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+190
-124
lines changed

CODEOWNERS

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,27 +36,25 @@
3636
# Drivers
3737
/drivers/clock_control/ @nrfconnect/ncs-bm
3838
/drivers/console/ @nrfconnect/ncs-bm
39-
/drivers/lpuarte/ @nrfconnect/ncs-bm
39+
/drivers/bm_lpuarte/ @nrfconnect/ncs-bm
4040

4141
# Include
4242
/include/*.h @nrfconnect/ncs-bm
4343
/include/bm/ @nrfconnect/ncs-bm
4444
/include/bm/bluetooth/ @nrfconnect/ncs-bm
4545

4646
# Libraries
47-
/lib/bm_zms/ @nrfconnect/ncs-bm @rghaddab
48-
/lib/ble_adv/ @nrfconnect/ncs-bm
49-
/lib/ble_conn_params/ @nrfconnect/ncs-bm
50-
/lib/ble_conn_state/ @nrfconnect/ncs-bm
51-
/lib/ble_gq/ @nrfconnect/ncs-bm
52-
/lib/ble_qwr/ @nrfconnect/ncs-bm
53-
/lib/ble_racp/ @nrfconnect/ncs-bm
47+
/lib/bluetooth/ble_adv/ @nrfconnect/ncs-bm
48+
/lib/bluetooth/ble_conn_params/ @nrfconnect/ncs-bm
49+
/lib/bluetooth/ble_conn_state/ @nrfconnect/ncs-bm
50+
/lib/bluetooth/ble_gq/ @nrfconnect/ncs-bm
51+
/lib/bluetooth/ble_qwr/ @nrfconnect/ncs-bm
52+
/lib/bluetooth/ble_racp/ @nrfconnect/ncs-bm
53+
/lib/bluetooth/peer_manager/ @nrfconnect/ncs-bm
5454
/lib/bm_buttons/ @nrfconnect/ncs-bm
55-
/lib/bm_storage/ @nrfconnect/ncs-bm
5655
/lib/bm_timer/ @nrfconnect/ncs-bm
5756
/lib/boot_banner/ @nrfconnect/ncs-bm
5857
/lib/event_scheduler/ @nrfconnect/ncs-bm
59-
/lib/peer_manager/ @nrfconnect/ncs-bm
6058
/lib/sensorsim/ @nrfconnect/ncs-bm
6159
/lib/zephyr_queue/ @nrfconnect/ncs-eris
6260

@@ -79,23 +77,25 @@
7977
# Subsystems
8078
/subsys/bluetooth/ @nrfconnect/ncs-bm
8179
/subsys/bm_installs/ @nrfconnect/ncs-eris
80+
/subsys/fs/bm_zms/ @nrfconnect/ncs-bm @rghaddab
8281
/subsys/logging/ @nrfconnect/ncs-bm
8382
/subsys/mgmt/mcumgr/ @nrfconnect/ncs-eris
8483
/subsys/softdevice/ @nrfconnect/ncs-bm
8584
/subsys/softdevice_handler/ @nrfconnect/ncs-bm
85+
/subsys/storage/bm_storage/ @nrfconnect/ncs-bm
8686
/subsys/storage/flash_map/ @nrfconnect/ncs-eris
8787

8888
# Sysbuild
8989
/sysbuild/ @nrfconnect/ncs-co-build-system
9090

9191
# Tests
92-
/tests/lib/bm_zms/ @nrfconnect/ncs-bm @rghaddab
93-
/tests/lib/ble_conn_state/ @nrfconnect/ncs-bm
94-
/tests/lib/ble_qwr/ @nrfconnect/ncs-bm
95-
/tests/lib/ble_racp/ @nrfconnect/ncs-bm
96-
/tests/lib/ble_adv/ @nrfconnect/ncs-bm-test
97-
/tests/lib/bm_storage/ @nrfconnect/ncs-bm
92+
/tests/lib/bluetooth/ble_conn_state/ @nrfconnect/ncs-bm
93+
/tests/lib/bluetooth/ble_qwr/ @nrfconnect/ncs-bm
94+
/tests/lib/bluetooth/ble_racp/ @nrfconnect/ncs-bm
95+
/tests/lib/bluetooth/ble_adv/ @nrfconnect/ncs-bm-test
9896
/tests/subsys/bluetooth/services/ @nrfconnect/ncs-bm @nrfconnect/ncs-bm-test
97+
/tests/subsys/fs/bm_zms/ @nrfconnect/ncs-bm @rghaddab
98+
/tests/subsys/storage/bm_storage/ @nrfconnect/ncs-bm
9999

100100
# Zephyr module
101101
/zephyr/ @nrfconnect/ncs-co-build-system

applications/firmware_loader/ble_mcumgr/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#include <string.h>
1111
#include <ble_gap.h>
1212
#include <nrf_soc.h>
13-
#include <bm/nrf_sdh.h>
14-
#include <bm/nrf_sdh_ble.h>
13+
#include <bm/softdevice_handler/nrf_sdh.h>
14+
#include <bm/softdevice_handler/nrf_sdh_ble.h>
1515
#include <bm/bluetooth/ble_adv.h>
1616
#include <bm/bluetooth/ble_conn_params.h>
1717
#include <bm/bluetooth/ble_conn_params.h>

doc/nrf-bm/doxygen/nrf-bm.doxyfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,8 +957,13 @@ WARN_LOGFILE =
957957

958958
INPUT = ../../../include/ \
959959
../../../include/bm/ \
960+
../../../include/bm/bluetooth \
960961
../../../include/bm/bluetooth/services \
961962
../../../include/bm/bluetooth/peer_manager \
963+
../../../include/bm/drivers \
964+
../../../include/bm/fs \
965+
../../../include/bm/softdevice_handler \
966+
../../../include/bm/storage \
962967
mainpage.dox
963968

964969
# This tag can be used to specify the character encoding of the source files

doc/nrf-bm/libraries/bm_zms.rst

Lines changed: 2 additions & 2 deletions

drivers/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ add_compile_options($<TARGET_PROPERTY:compiler,warning_shadow_variables>)
1010
add_subdirectory_ifdef(CONFIG_CONSOLE console)
1111
add_subdirectory_ifdef(CONFIG_CLOCK_CONTROL clock_control)
1212
add_subdirectory_ifdef(CONFIG_FLASH flash)
13-
add_subdirectory_ifdef(CONFIG_BM_SW_LPUARTE lpuarte)
13+
add_subdirectory_ifdef(CONFIG_BM_SW_LPUARTE bm_lpuarte)

drivers/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ menu "Device Drivers"
88
# zephyr-keep-sorted-start
99
rsource "console/Kconfig"
1010
rsource "flash/Kconfig"
11-
rsource "lpuarte/Kconfig"
11+
rsource "bm_lpuarte/Kconfig"
1212
# zephyr-keep-sorted-stop
1313

1414
endmenu
File renamed without changes.
File renamed without changes.

drivers/lpuarte/lpuarte.c renamed to drivers/bm_lpuarte/lpuarte.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
55
*/
66

7-
#include <bm/bm_lpuarte.h>
7+
#include <bm/drivers/bm_lpuarte.h>
88
#include <nrfx_gpiote.h>
99
#include <nrfx_uarte.h>
1010
#include <zephyr/logging/log.h>

drivers/flash/soc_flash_nrf_rram.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
#include <zephyr/sys/barrier.h>
1616
#include <hal/nrf_rramc.h>
1717
#include <nrf_soc.h>
18-
#include <bm/nrf_sdh.h>
19-
#include <bm/nrf_sdh_soc.h>
18+
#include <bm/softdevice_handler/nrf_sdh.h>
19+
#include <bm/softdevice_handler/nrf_sdh_soc.h>
2020

2121
/* Note that it is supported to compile this driver for both secure
2222
* and non-secure images, but non-secure images cannot call

0 commit comments

Comments
 (0)