2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-12-11 23:33:23 +08:00
|
|
|
cmake_minimum_required(VERSION 3.13.1)
|
2017-10-27 21:43:34 +08:00
|
|
|
if(BOARD STREQUAL bbc_microbit)
|
|
|
|
set(CONF_FILE microbit.conf)
|
2019-01-25 01:25:10 +08:00
|
|
|
elseif(BOARD STREQUAL nrf52840_pca10090)
|
|
|
|
set(CONF_FILE nrf52840_pca10090.conf)
|
2017-10-27 21:43:34 +08:00
|
|
|
else()
|
|
|
|
set(CONF_FILE nrf5.conf)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
2018-10-25 22:54:09 +08:00
|
|
|
project(hci_uart)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
|
|
|
target_sources(app PRIVATE src/main.c)
|