2017-10-27 21:43:34 +08:00
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources(
|
|
|
|
util/mem.c
|
|
|
|
util/memq.c
|
|
|
|
util/mayfly.c
|
|
|
|
util/util.c
|
|
|
|
ticker/ticker.c
|
2018-01-09 22:17:15 +08:00
|
|
|
ll_sw/ll_addr.c
|
|
|
|
ll_sw/ll_tx_pwr.c
|
|
|
|
crypto/crypto.c
|
2017-10-27 21:43:34 +08:00
|
|
|
hci/hci_driver.c
|
|
|
|
hci/hci.c
|
|
|
|
)
|
|
|
|
|
2018-01-09 22:17:15 +08:00
|
|
|
if(CONFIG_BT_LL_SW)
|
|
|
|
zephyr_library_sources(
|
|
|
|
ll_sw/ctrl.c
|
|
|
|
ll_sw/ll.c
|
|
|
|
)
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_BT_BROADCASTER
|
|
|
|
ll_sw/ll_adv.c
|
|
|
|
)
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_BT_OBSERVER
|
|
|
|
ll_sw/ll_scan.c
|
|
|
|
)
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_BT_CENTRAL
|
|
|
|
ll_sw/ll_master.c
|
|
|
|
)
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_BT_CTLR_DTM
|
|
|
|
ll_sw/ll_test.c
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_BT_CTLR_FILTER
|
|
|
|
ll_sw/ll_filter.c
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(
|
2018-03-19 20:51:25 +08:00
|
|
|
CONFIG_SOC_FAMILY_NRF
|
2018-01-09 22:17:15 +08:00
|
|
|
hal/nrf5/cntr.c
|
|
|
|
hal/nrf5/ecb.c
|
|
|
|
hal/nrf5/radio/radio.c
|
2018-01-09 22:03:33 +08:00
|
|
|
hal/nrf5/mayfly.c
|
2018-01-09 22:03:33 +08:00
|
|
|
hal/nrf5/ticker.c
|
2018-01-09 22:17:15 +08:00
|
|
|
)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
|
|
|
zephyr_library_include_directories(
|
|
|
|
.
|
|
|
|
util
|
|
|
|
hal
|
|
|
|
ticker
|
|
|
|
include
|
2018-01-09 22:17:15 +08:00
|
|
|
)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
|
|
|
zephyr_library_compile_options_ifdef(
|
|
|
|
CONFIG_BT_CTLR_FAST_ENC
|
|
|
|
-Ofast
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_link_libraries(subsys__bluetooth)
|