Skip to content

Commit 6281bd4

Browse files
committed
suit: Add flash_ipuc pseudo-driver
Add pseudo-driver to access NVM memory through flash API using IPUC SSF services. Ref: NCSDK-30809 Signed-off-by: Tomasz Chyrowicz <[email protected]>
1 parent 2e8ae9b commit 6281bd4

File tree

7 files changed

+609
-0
lines changed

7 files changed

+609
-0
lines changed

.github/test-spec.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,12 @@
129129
- "include/fw_info.*"
130130
- "include/mgmt/*"
131131
- "include/dfu/**/*"
132+
- "include/drivers/flash/flash_ipuc.h"
132133
- "include/net/**/*"
133134
- "lib/lte_link_control/**/*"
134135
- "modules/mcuboot/**/*"
135136
- "modules/trusted-firmware-m/*"
137+
- "drivers/flash/flash_ipuc/*"
136138
- "samples/cellular/*fota/**/*"
137139
- "samples/cellular/fmfu_smp_svr/**/*"
138140
- "samples/cellular/http_update/**/*"

CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@
290290
/drivers/bluetooth/ @nrfconnect/ncs-co-drivers @nrfconnect/ncs-dragoon
291291
/drivers/entropy/ @nrfconnect/ncs-co-drivers @nrfconnect/ncs-aegir
292292
/drivers/flash/ @nrfconnect/ncs-co-drivers
293+
/drivers/flash/flash_ipuc/ @nrfconnect/ncs-co-drivers @nrfconnect/ncs-charon
293294
/drivers/gpio/ @nrfconnect/ncs-co-drivers @nrfconnect/ncs-ll-ursus
294295
/drivers/hw_cc3xx/ @nrfconnect/ncs-co-drivers @nrfconnect/ncs-aegir
295296
/drivers/mpsl/ @nrfconnect/ncs-co-drivers @nrfconnect/ncs-dragoon
@@ -328,6 +329,7 @@
328329
/include/dfu/suit_dfu_fetch_source.h @nrfconnect/ncs-charon
329330
/include/dfu/suit_dfu.h @nrfconnect/ncs-charon
330331
/include/drivers/flash/ @nrfconnect/ncs-co-drivers
332+
/include/drivers/flash/flash_ipuc.h @nrfconnect/ncs-co-drivers @nrfconnect/ncs-charon
331333
/include/drivers/gpio/ @nrfconnect/ncs-co-drivers @nrfconnect/ncs-ll-ursus
332334
/include/drivers/bme68x_iaq.h @nrfconnect/ncs-co-drivers @nrfconnect/ncs-cia
333335
/include/drivers/mspi/nrfe_mspi.h @nrfconnect/ncs-co-drivers @nrfconnect/ncs-ll-ursus

drivers/flash/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
#
66

77
add_subdirectory_ifdef(CONFIG_FLASH_RPC flash_rpc)
8+
add_subdirectory_ifdef(CONFIG_FLASH_IPUC flash_ipuc)

drivers/flash/Kconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,25 @@
44
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
55
#
66

7+
config FLASH_IPUC
8+
bool "Flash over SUIT IPUC [EXPERIMENTAL]"
9+
depends on SUIT
10+
depends on SUIT_UTILS
11+
depends on SUIT_IPUC
12+
select EXPERIMENTAL
13+
14+
if FLASH_IPUC
15+
16+
config FLASH_IPUC_COUNT
17+
int "Number of available flash IPUC drivers"
18+
default 1
19+
20+
module = FLASH_IPUC
21+
module-str = Flash over SUIT IPUC
22+
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
23+
24+
endif # FLASH_IPUC
25+
726
config FLASH_RPC
827
bool "Flash over RPC [EXPERIMENTAL]"
928
select NRF_RPC
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
zephyr_library()
8+
zephyr_library_sources(flash_ipuc.c)
9+
zephyr_library_link_libraries(suit_utils)
10+
zephyr_library_link_libraries(suit_ipuc)

0 commit comments

Comments
 (0)