13 lines
317 B
CMake
13 lines
317 B
CMake
set(QEMU_EXTRA_FLAGS -s)
|
|
set(IS_TEST 1)
|
|
|
|
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)
|
|
|
|
if(NODE_ADDR)
|
|
zephyr_compile_definitions(NODE_ADDR=${NODE_ADDR})
|
|
endif()
|