File tree Expand file tree Collapse file tree 4 files changed +40
-3
lines changed
modules/hal_nxp/bt_controller
samples/bluetooth/peripheral_ht Expand file tree Collapse file tree 4 files changed +40
-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 no_blobs/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 2025 NXP
3
+ *
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ *
6
+ */
7
+
8
+ #ifndef __UART_BT_FW_H__
9
+ #define __UART_BT_FW_H__
10
+
11
+
12
+ const unsigned char * bt_fw_bin ;
13
+ unsigned int bt_fw_bin_len ;
14
+
15
+ #endif /* __UART_BT_FW_H__ */
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2025 NXP
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ / {
8
+ chosen {
9
+ zephyr,sram = &dtcm;
10
+ };
11
+ };
Original file line number Diff line number Diff line change @@ -32,3 +32,10 @@ tests:
32
32
- frdm_rw612
33
33
extra_configs :
34
34
- CONFIG_NXP_MONOLITHIC_NBU=n
35
+ sample.bluetooth.peripheral_ht.nxp_nw612 :
36
+ harness : bluetooth
37
+ platform_allow :
38
+ - mimxrt1170_evk@B/mimxrt1176/cm7
39
+ extra_configs :
40
+ - CONFIG_BT_NXP_NW612=y
41
+ - CONFIG_BUILD_ONLY_NO_BLOBS=y
You can’t perform that action at this time.
0 commit comments