2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-01-15 18:06:11 +08:00
|
|
|
zephyr_library_named(openthread_platform)
|
|
|
|
zephyr_library_sources(
|
|
|
|
alarm.c
|
2019-10-24 19:15:30 +08:00
|
|
|
entropy.c
|
2018-01-15 18:06:11 +08:00
|
|
|
logging.c
|
|
|
|
misc.c
|
|
|
|
platform.c
|
|
|
|
radio.c
|
2019-10-10 15:26:09 +08:00
|
|
|
settings.c
|
2018-01-15 18:06:11 +08:00
|
|
|
spi.c
|
|
|
|
)
|
|
|
|
|
2020-07-08 18:52:08 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_OPENTHREAD_DIAG diag.c)
|
2020-03-25 16:21:12 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_OPENTHREAD_NCP uart.c)
|
2018-01-15 18:06:11 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_OPENTHREAD_SHELL shell.c)
|
2020-06-17 21:27:00 +08:00
|
|
|
|
|
|
|
zephyr_include_directories(.)
|