Skip to content

Commit 6be8d15

Browse files
VivekUppundanordicjm
authored andcommitted
net: lib: nrf70_fw_ext: check for raw binary within system mode check
Raw mode has been brought to be a subset of system mode. Select the appropriate firmware binary if raw mode features are desired. Signed-off-by: Vivekananda Uppunda <[email protected]>
1 parent 26de801 commit 6be8d15

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

subsys/net/lib/nrf70_fw_ext/CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@ if(DEFINED CONFIG_NRF_WIFI_PATCHES_EXT_FLASH_DISABLED OR
2727
set(FW_BINS_BASE ${ZEPHYR_NRFXLIB_MODULE_DIR}/nrf_wifi/bin/ncs)
2828
# RPU FW patch binaries based on the selected configuration
2929
if(CONFIG_NRF70_SYSTEM_MODE)
30-
set(NRF70_PATCH ${FW_BINS_BASE}/default/nrf70.bin)
30+
if(CONFIG_NRF70_SYSTEM_WITH_RAW_MODES)
31+
set(NRF70_PATCH ${FW_BINS_BASE}/system_with_raw/nrf70.bin)
32+
else()
33+
set(NRF70_PATCH ${FW_BINS_BASE}/default/nrf70.bin)
34+
endif()
3135
elseif(CONFIG_NRF70_RADIO_TEST)
3236
set(NRF70_PATCH ${FW_BINS_BASE}/radio_test/nrf70.bin)
3337
elseif(CONFIG_NRF70_SCAN_ONLY)
3438
set(NRF70_PATCH ${FW_BINS_BASE}/scan_only/nrf70.bin)
35-
elseif (CONFIG_NRF70_SYSTEM_WITH_RAW_MODES)
36-
set(NRF70_PATCH ${FW_BINS_BASE}/system_with_raw/nrf70.bin)
3739
elseif(CONFIG_NRF70_OFFLOADED_RAW_TX)
3840
set(NRF70_PATCH ${FW_BINS_BASE}/offloaded_raw_tx/nrf70.bin)
3941
else()

0 commit comments

Comments
 (0)