zephyr/samples/bluetooth/hci_uart/CMakeLists.txt

13 lines
277 B
CMake

if(BOARD STREQUAL bbc_microbit)
set(CONF_FILE microbit.conf)
else()
set(CONF_FILE nrf5.conf)
endif()
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
project(NONE)
target_link_libraries(app subsys__bluetooth)
target_sources(app PRIVATE src/main.c)