cmake_minimum_required(VERSION 3.20.0) set(BOARD "nucleo_f767zi") set(ZEPHYR_MODULES "${CMAKE_CURRENT_SOURCE_DIR}/zephyrproject/modules/hal/cmsis;${CMAKE_CURRENT_SOURCE_DIR}/zephyrproject/modules/hal/stm32") find_package(Zephyr REQUIRED HINTS "${CMAKE_CURRENT_SOURCE_DIR}/zephyrproject/zephyr") project(iot-contact) target_sources(app PRIVATE src/main.c)