1cmake_minimum_required(VERSION 3.20.0) 2 3if(DEFINED CUSTOM_BOILERPLATE) 4 include(${CUSTOM_BOILERPLATE}) 5 return() 6endif() 7 8set(COMMON_PATH ${CMAKE_CURRENT_LIST_DIR}/../../../common) 9include(${COMMON_PATH}/common.cmake) 10 11GET_DEVICE_CONFIG_FILES(${BOARD} ../boards) 12 13find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) 14project(nrfx_example) 15target_sources(app PRIVATE main.c) 16target_include_directories(app PRIVATE ../../../common) 17