Skip to content

Commit 51e9821

Browse files
nirav-agrawalmmahadevan108
authored andcommitted
zephyr: src: update folder name for NXP wireless controller support
- rename folder name from "rt" to "wireless" to correctly describe wireless SoC support for hosted platform. Signed-off-by: nirav-agrawal <[email protected]>
1 parent b46fd20 commit 51e9821

File tree

8 files changed

+12
-1
lines changed

8 files changed

+12
-1
lines changed

zephyr/src/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
add_subdirectory_ifdef(CONFIG_SOC_FAMILY_NXP_IMXRT rt)
21
add_subdirectory_ifdef(CONFIG_SOC_SERIES_RW6XX rw61x)
2+
3+
if (CONFIG_NXP_MONOLITHIC_WIFI OR CONFIG_BT_H4_NXP_CTLR)
4+
add_subdirectory(wireless)
5+
endif()

zephyr/src/rt/CMakeLists.txt renamed to zephyr/src/wireless/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ if(CONFIG_NXP_MONOLITHIC_WIFI OR CONFIG_BT_H4_NXP_CTLR)
4545
list(APPEND output_includes_list ${ZEPHYR_BINARY_DIR}/include/generated/iw610_wifi_fw.bin.se.inc)
4646
set(wifi_binary_blob_name sd_iw610.bin.se)
4747
zephyr_library_sources(${CMAKE_CURRENT_LIST_DIR}/IW610/IW610_cpu1.c)
48+
set_source_files_properties(
49+
${CMAKE_CURRENT_LIST_DIR}/IW610/IW610_cpu1.c
50+
PROPERTIES OBJECT_DEPENDS ${ZEPHYR_BINARY_DIR}/include/generated/iw610_wifi_fw.bin.se.inc
51+
)
4852
list(APPEND wifi_bt_binary_blobs_list ${hal_blobs_dir}/IW610/${wifi_binary_blob_name})
4953
else()
5054
message(FATAL_ERROR "Couldn't determine soc revision")
@@ -74,6 +78,10 @@ if(CONFIG_NXP_MONOLITHIC_WIFI OR CONFIG_BT_H4_NXP_CTLR)
7478
list(APPEND output_includes_list ${ZEPHYR_BINARY_DIR}/include/generated/iw610_bt_fw.bin.inc)
7579
set(bt_binary_blob_name uart_iw610_bt.bin.se)
7680
zephyr_library_sources(${CMAKE_CURRENT_LIST_DIR}/IW610/IW610_cpu2.c)
81+
set_source_files_properties(
82+
${CMAKE_CURRENT_LIST_DIR}/IW610/IW610_cpu2.c
83+
PROPERTIES OBJECT_DEPENDS ${ZEPHYR_BINARY_DIR}/include/generated/iw610_bt_fw.bin.inc
84+
)
7785
list(APPEND wifi_bt_binary_blobs_list ${hal_blobs_dir}/IW610/${bt_binary_blob_name})
7886
else()
7987
message(FATAL_ERROR "Unsupported controller. Please select a BT conntroller, refer to ./driver/bluetooth/hci/Kconfig.nxp")

0 commit comments

Comments
 (0)