diff options
-rw-r--r-- | firmware/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/CMakeLists.txt b/firmware/CMakeLists.txt index c520b2b..b0093d0 100644 --- a/firmware/CMakeLists.txt +++ b/firmware/CMakeLists.txt @@ -1,5 +1,9 @@ cmake_minimum_required(VERSION 3.20.0) -find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) + +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) |