blob: 000039e375db685a6bb6081026eb8808d496986b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# This Source Code Form is subject to the terms of the Mozilla Public License,
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
# obtain one at https://mozilla.org/MPL/2.0/.
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-fw)
target_sources(app
PRIVATE
"${CMAKE_CURRENT_SOURCE_DIR}/src/main.c"
)
|