2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-08-10 20:44:56 +08:00
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
2018-04-09 22:35:19 +08:00
|
|
|
|
2019-01-14 23:11:15 +08:00
|
|
|
# This sample is specific to x_nucleo_iks01a1 shield. Enforce -DSHIELD option
|
|
|
|
set(SHIELD x_nucleo_iks01a1)
|
|
|
|
|
2020-05-29 12:02:17 +08:00
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
2018-10-25 22:54:09 +08:00
|
|
|
project(x_nucleo_iks01a1)
|
2018-04-09 22:35:19 +08:00
|
|
|
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
|
|
target_sources(app PRIVATE ${app_sources})
|