2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2017-12-05 18:11:29 +08:00
|
|
|
zephyr_library()
|
2018-06-27 18:57:26 +08:00
|
|
|
zephyr_library_include_directories(. ${ZEPHYR_BASE}/subsys/net/ip)
|
2017-12-05 18:11:29 +08:00
|
|
|
zephyr_library_compile_definitions_ifdef(
|
|
|
|
CONFIG_NEWLIB_LIBC __LINUX_ERRNO_EXTENSIONS__
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources(
|
|
|
|
ieee802154.c
|
|
|
|
ieee802154_frame.c
|
2023-09-02 20:26:44 +08:00
|
|
|
ieee802154_utils.c
|
2017-12-05 18:11:29 +08:00
|
|
|
)
|
|
|
|
|
2022-08-03 02:19:10 +08:00
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_NET_6LO
|
|
|
|
ieee802154_6lo.c
|
|
|
|
)
|
|
|
|
|
2017-12-05 18:11:29 +08:00
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_NET_L2_IEEE802154_FRAGMENT
|
2022-08-03 02:27:40 +08:00
|
|
|
ieee802154_6lo_fragment.c
|
2017-12-05 18:11:29 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_NET_L2_IEEE802154_MGMT
|
|
|
|
ieee802154_mgmt.c
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_NET_L2_IEEE802154_RADIO_ALOHA
|
|
|
|
ieee802154_radio_aloha.c
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_NET_L2_IEEE802154_RADIO_CSMA_CA
|
|
|
|
ieee802154_radio_csma_ca.c
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_NET_L2_IEEE802154_SECURITY
|
|
|
|
ieee802154_security.c
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_NET_L2_IEEE802154_SHELL
|
|
|
|
ieee802154_shell.c
|
|
|
|
)
|