summaryrefslogtreecommitdiff
path: root/fw/CMakeLists.txt
blob: 32a4571c7e39a37b63e8f279e8ea8fd7b9190853 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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 "native_sim/native/64")
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"
		"${CMAKE_CURRENT_SOURCE_DIR}/src/syslog.c"
		"${CMAKE_CURRENT_SOURCE_DIR}/src/mac.c"
)