File tree Expand file tree Collapse file tree 6 files changed +22
-10
lines changed Expand file tree Collapse file tree 6 files changed +22
-10
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,6 @@ config BT_MAX_CONN
6767
6868endif # IPC_RADIO_BT
6969
70- config IPC_RADIO_USE_RPC_FLASH_SYNC_CONTROLLER
71- bool
72- default y if SOC_NRF54H20_CPURAD
73- imply SOC_FLASH_NRF_RADIO_SYNC_RPC_CONTROLLER
74-
7570module = IPC_RADIO
7671module-str = "ipc_radio"
7772source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
Original file line number Diff line number Diff line change 66
77if SOC_FLASH_NRF || SOC_FLASH_NRF_RRAM || SOC_NRF54H20
88
9+ config SOC_FLASH_NRF_RADIO_SYNC_RPC
10+ bool "Enable flash driver synchronization with radio protocols through RPC"
11+ help
12+ Enable the flash synchronization between the application core and the radio core.
13+ This Kconfig option is set based on the value of the SB_CONFIG_SOC_FLASH_NRF_RADIO_SYNC_RPC
14+ sysbuild configuration option.
15+
916choice SOC_FLASH_NRF_RADIO_SYNC_CHOICE
1017 prompt "Nordic nRFx flash driver synchronization"
1118 default SOC_FLASH_NRF_RADIO_SYNC_MPSL if MPSL
@@ -19,7 +26,8 @@ config SOC_FLASH_NRF_RADIO_SYNC_MPSL
1926config SOC_FLASH_NRF_RADIO_SYNC_RPC_HOST
2027 bool "Nordic nRFx flash driver synchronized on the application core via RPC"
2128 depends on SOC_NRF54H20_CPUAPP
22- depends on BT # If synchronization with other radio protocols is needed, extend this
29+ depends on BT # If sync with other radio protocols is needed, extend this
30+ depends on SOC_FLASH_NRF_RADIO_SYNC_RPC
2331 select NRF_RPC
2432 select NRF_RPC_CBOR
2533 help
3240
3341config SOC_FLASH_NRF_RADIO_SYNC_RPC_CONTROLLER
3442 bool "Nordic nRFx flash driver RPC synchronization controller"
43+ default y if SOC_FLASH_NRF_RADIO_SYNC_RPC
3544 depends on SOC_FLASH_NRF_RADIO_SYNC_MPSL
3645 select NRF_RPC
3746 select NRF_RPC_CBOR
Original file line number Diff line number Diff line change @@ -12,5 +12,3 @@ CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
1212CONFIG_LOG=n
1313CONFIG_LOG_PRINTK=n
1414CONFIG_UART_CONSOLE=n
15-
16- CONFIG_SOC_FLASH_NRF_RADIO_SYNC_RPC_CONTROLLER=y
Original file line number Diff line number Diff line change @@ -12,5 +12,3 @@ CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
1212CONFIG_LOG=n
1313CONFIG_LOG_PRINTK=n
1414CONFIG_UART_CONSOLE=n
15-
16- CONFIG_SOC_FLASH_NRF_RADIO_SYNC_RPC_CONTROLLER=y
Original file line number Diff line number Diff line change @@ -314,7 +314,11 @@ endif # SUIT_BUILD_FLASH_COMPANION
314314
315315config SUIT_BUILD_AB_UPDATE
316316 bool "Build AB variant"
317+ imply SUIT_SOC_FLASH_NRF_RADIO_SYNC_RPC
317318 help
318319 Build two applications for the A and B update.
319320
321+ config SUIT_SOC_FLASH_NRF_RADIO_SYNC_RPC
322+ bool "Enable flash driver synchronization with radio protocols through RPC"
323+
320324endmenu
Original file line number Diff line number Diff line change @@ -65,3 +65,11 @@ if(SB_CONFIG_SUIT_BUILD_AB_UPDATE)
6565 set_config_bool(${variant_image} CONFIG_NRF_REGTOOL_GENERATE_UICR n)
6666 endforeach ()
6767endif ()
68+
69+ if (SB_CONFIG_SUIT_SOC_FLASH_NRF_RADIO_SYNC_RPC)
70+ get_property (images GLOBAL PROPERTY sysbuild_images)
71+
72+ foreach (image ${images} )
73+ set_config_bool(${image} CONFIG_SOC_FLASH_NRF_RADIO_SYNC_RPC y)
74+ endforeach ()
75+ endif ()
You can’t perform that action at this time.
0 commit comments