Skip to content

Commit 3e9f1ed

Browse files
VivekUppundanordicjm
authored andcommitted
cmake: sysbuild: bring raw mode binary check within system mode
Wi-Fi raw mode is now a subset of system mode. bring the firmware load check within the ambit of system mode. Signed-off-by: Vivekananda Uppunda <[email protected]>
1 parent 2e78b34 commit 3e9f1ed

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

cmake/sysbuild/nrf700x.cmake

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,17 @@ function(setup_nrf700x_xip_data)
1111
set(NRF70_FW_BINS ${ZEPHYR_NRFXLIB_MODULE_DIR}/nrf_wifi/bin/ncs)
1212

1313
if(SB_CONFIG_WIFI_NRF70_SYSTEM_MODE)
14-
set(NRF70_PATCH ${NRF70_FW_BINS}/default/nrf70.bin)
14+
if(SB_CONFIG_WIFI_NRF70_SYSTEM_WITH_RAW_MODES)
15+
set(NRF70_PATCH ${NRF70_FW_BINS}/system_with_raw/nrf70.bin)
16+
else()
17+
set(NRF70_PATCH ${NRF70_FW_BINS}/default/nrf70.bin)
18+
endif()
1519
elseif(SB_CONFIG_WIFI_NRF70_RADIO_TEST)
1620
set(NRF70_PATCH ${NRF70_FW_BINS}/radio_test/nrf70.bin)
1721
elseif(SB_CONFIG_WIFI_NRF70_SCAN_ONLY)
1822
set(NRF70_PATCH ${NRF70_FW_BINS}/scan_only/nrf70.bin)
1923
elseif(SB_CONFIG_WIFI_NRF70_OFFLOADED_RAW_TX)
2024
set(NRF70_PATCH ${NRF70_FW_BINS}/offloaded_raw_tx/nrf70.bin)
21-
elseif(SB_CONFIG_WIFI_NRF70_SYSTEM_WITH_RAW_MODES)
22-
set(NRF70_PATCH ${NRF70_FW_BINS}/system_with_raw/nrf70.bin)
2325
else()
2426
# Error
2527
message(FATAL_ERROR "Unsupported nRF70 patch configuration")

0 commit comments

Comments
 (0)