2018-08-13 15:46:42 +08:00
|
|
|
cmake_minimum_required(VERSION 3.8.2)
|
2017-11-09 00:35:14 +08:00
|
|
|
set(QEMU_EXTRA_FLAGS -s)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
|
|
|
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
|
|
|
project(NONE)
|
|
|
|
|
|
|
|
target_sources(app PRIVATE src/main.c)
|
|
|
|
target_sources_ifdef(CONFIG_BOARD_BBC_MICROBIT app PRIVATE src/microbit.c)
|
2017-11-08 21:47:38 +08:00
|
|
|
|
|
|
|
if(NODE_ADDR)
|
|
|
|
zephyr_compile_definitions(NODE_ADDR=${NODE_ADDR})
|
|
|
|
endif()
|