File tree Expand file tree Collapse file tree 2 files changed +748
-1
lines changed
mcux-sdk-middleware-ieee_802.15.4/ieee_802_15_4/mac/source/App Expand file tree Collapse file tree 2 files changed +748
-1
lines changed Original file line number Diff line number Diff line change 1- if (CONFIG_BT OR CONFIG_NET_L2_OPENTHREAD OR CONFIG_IEEE802154 )
1+ if (CONFIG_NET_L2_OPENTHREAD OR CONFIG_NXP_NBU )
22 list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} /mcux-sdk-middleware-connectivity-framework )
33 include (connectivity_framework)
44 if (CONFIG_SOC_SERIES_MCXW7XX)
@@ -43,6 +43,20 @@ if(CONFIG_BT OR CONFIG_NET_L2_OPENTHREAD OR CONFIG_IEEE802154)
4343 zephyr_compile_definitions(USE_NBU=1)
4444 zephyr_compile_definitions(MEM_USE_ZEPHYR=1U)
4545 endif ()
46+
47+ if (CONFIG_NXP_IEEE802154_MAC)
48+ zephyr_include_directories(
49+ ${CMAKE_CURRENT_LIST_DIR} /mcux-sdk-middleware-ieee_802.15.4/ieee_802_15_4/phy/interface
50+ ${CMAKE_CURRENT_LIST_DIR} /mcux-sdk-middleware-ieee_802.15.4/ieee_802_15_4/mac/interface
51+ )
52+
53+ zephyr_library_sources(
54+ ${CMAKE_CURRENT_LIST_DIR} /mcux-sdk-middleware-ieee_802.15.4/ieee_802_15_4/mac/source /App/mac_intf_rpmsg.c
55+ ${CMAKE_CURRENT_LIST_DIR} /mcux-sdk-middleware-ieee_802.15.4/ieee_802_15_4/phy/source /SerialDevice/Phy.c
56+ )
57+ zephyr_compile_definitions(USE_NBU=1)
58+ zephyr_compile_definitions(MEM_USE_ZEPHYR=1U)
59+ endif ()
4660 endif ()
4761endif ()
4862
You can’t perform that action at this time.
0 commit comments