Skip to content

Commit b8cab9e

Browse files
krish2718kartben
authored andcommitted
drivers: wifi: Fix blobs handling
The blobs are now part of nrf_wifi module, and remove the manual check and add verifying the blobs and their integrity using helper function. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent da26d02 commit b8cab9e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

drivers/wifi/nrf_wifi/CMakeLists.txt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ if (CONFIG_NRF_WIFI_BUILD_ONLY_MODE)
9696
------------------------------------------------------------------------
9797
")
9898
elseif(CONFIG_NRF_WIFI_PATCHES_BUILTIN)
99+
zephyr_blobs_verify(MODULE nrf_wifi REQUIRED)
99100
# RPU FW patch binaries based on the selected configuration
100101
if(CONFIG_NRF70_SYSTEM_MODE)
101102
set(NRF70_PATCH ${FW_BINS_BASE}/default/nrf70.bin)
@@ -112,15 +113,6 @@ elseif(CONFIG_NRF_WIFI_PATCHES_BUILTIN)
112113
message(FATAL_ERROR "Unsupported nRF70 patch configuration")
113114
endif()
114115

115-
if(NOT EXISTS ${NRF70_PATCH})
116-
message(FATAL_ERROR "
117-
------------------------------------------------------------------------
118-
Missing blobs for nRF70 device driver, please install by running:
119-
$ west update
120-
$ west blobs fetch hal_nordic
121-
------------------------------------------------------------------------")
122-
endif()
123-
124116
set(gen_inc_dir ${ZEPHYR_BINARY_DIR}/misc/generated)
125117
zephyr_include_directories(${gen_inc_dir})
126118
set(gen_dir ${gen_inc_dir}/nrf70_fw_patch)

0 commit comments

Comments
 (0)