Skip to content

Commit

Permalink
cmake: Fixed NODE_ADDR
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Boe <[email protected]>
  • Loading branch information
SebastianBoe authored and Anas Nashif committed Nov 9, 2017
1 parent cad811b commit 09f646a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions samples/bluetooth/mesh_demo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ target_link_libraries(app subsys__bluetooth)

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()

0 comments on commit 09f646a

Please sign in to comment.