Skip to content

Commit 1b536c2

Browse files
committed
Sample: bluetooth: Enable MIMXRT1170 EVKB for peripheral_ht
Enable MIMXRT1170 EVKB for peripheral_ht. Signed-off-by: Jiawei Yang <jiawei.yang_1@nxp.com>
1 parent 0728f5d commit 1b536c2

File tree

4 files changed

+40
-3
lines changed

4 files changed

+40
-3
lines changed
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2024 NXP
2+
# Copyright 2024-2025 NXP
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -8,14 +8,18 @@ set(hal_nxp_dir ${ZEPHYR_HAL_NXP_MODULE_DIR})
88
set(hal_nxp_blobs_dir ${hal_nxp_dir}/zephyr/blobs)
99
set(blob_gen_file ${ZEPHYR_BINARY_DIR}/include/generated/bt_nxp_ctlr_fw.h)
1010

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)
1214
set(blob_file ${hal_nxp_blobs_dir}/iw612/uart_nw61x_se.h)
1315
endif()
1416

1517
if (NOT DEFINED blob_file)
1618
message(FATAL_ERROR "Unsupported controller. Please select a BT conntroller, refer to ./driver/bluetooth/hci/Kconfig.nxp")
1719
endif()
1820

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()
2024

2125
configure_file(${blob_file} ${blob_gen_file} COPYONLY)
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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__ */
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
chosen {
9+
zephyr,sram = &dtcm;
10+
};
11+
};

samples/bluetooth/peripheral_ht/sample.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,10 @@ tests:
3232
- frdm_rw612
3333
extra_configs:
3434
- 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

0 commit comments

Comments
 (0)