File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed
modules/hal_nxp/bt_controller Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 1
1
#
2
- # Copyright 2024 NXP
2
+ # Copyright 2024-2025 NXP
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
@@ -8,14 +8,18 @@ set(hal_nxp_dir ${ZEPHYR_HAL_NXP_MODULE_DIR})
8
8
set (hal_nxp_blobs_dir ${hal_nxp_dir} /zephyr/blobs )
9
9
set (blob_gen_file ${ZEPHYR_BINARY_DIR} /include/generated/bt_nxp_ctlr_fw.h )
10
10
11
- if (CONFIG_BT_NXP_NW612 )
11
+ if (CONFIG_BUILD_ONLY_NO_BLOBS )
12
+ set (blob_file src/no_blobs.h )
13
+ elseif (CONFIG_BT_NXP_NW612 )
12
14
set (blob_file ${hal_nxp_blobs_dir} /iw612/uart_nw61x_se.h )
13
15
endif ()
14
16
15
17
if (NOT DEFINED blob_file )
16
18
message (FATAL_ERROR "Unsupported controller. Please select a BT conntroller, refer to ./driver/bluetooth/hci/Kconfig.nxp" )
17
19
endif ()
18
20
19
- zephyr_blobs_verify (FILES ${blob_file} REQUIRED )
21
+ if (NOT CONFIG_BUILD_ONLY_NO_BLOBS )
22
+ zephyr_blobs_verify (FILES ${blob_file} REQUIRED )
23
+ endif ()
20
24
21
25
configure_file (${blob_file} ${blob_gen_file} COPYONLY )
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2024 NXP
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ #ifndef __UART_BT_FW_H__
8
+ #define __UART_BT_FW_H__
9
+
10
+
11
+ const unsigned char * bt_fw_bin ;
12
+ unsigned int bt_fw_bin_len ;
13
+
14
+ #endif /* __UART_BT_FW_H__ */
You can’t perform that action at this time.
0 commit comments