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
|
|
|
misc.c
|
|
|
|
platform.c
|
|
|
|
radio.c
|
|
|
|
spi.c
|
|
|
|
)
|
|
|
|
|
2023-12-05 23:13:06 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_OPENTHREAD_BLE_TCAT ble.c)
|
2020-07-08 18:52:08 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_OPENTHREAD_DIAG diag.c)
|
2020-10-12 22:41:25 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_OPENTHREAD_COPROCESSOR uart.c)
|
2021-05-14 17:25:40 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_OPENTHREAD_CRYPTO_PSA crypto_psa.c)
|
2018-01-15 18:06:11 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_OPENTHREAD_SHELL shell.c)
|
2021-02-17 19:41:00 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_OPENTHREAD_EXTERNAL_HEAP memory.c)
|
2021-11-17 15:45:18 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_SETTINGS settings.c)
|
2020-06-15 20:21:16 +08:00
|
|
|
zephyr_library_sources_ifndef(CONFIG_LOG_BACKEND_SPINEL logging.c)
|
2020-06-17 21:27:00 +08:00
|
|
|
|
|
|
|
zephyr_include_directories(.)
|