2019-01-29 00:29:39 +08:00
|
|
|
# Copyright (c) 2019 STMicroelectronics
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
2021-08-10 20:44:56 +08:00
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
2019-01-29 00:29:39 +08:00
|
|
|
|
|
|
|
# This sample is specific to x_nucleo_iks01a3 shield. Enforce -DSHIELD option
|
|
|
|
set(SHIELD x_nucleo_iks01a3)
|
|
|
|
|
2020-11-26 18:00:26 +08:00
|
|
|
if(BOARD STREQUAL stm32mp157c_dk2)
|
|
|
|
set(CONF_FILE stm32mp157c_dk2.conf)
|
|
|
|
endif()
|
2019-01-29 00:29:39 +08:00
|
|
|
|
2020-05-29 12:02:17 +08:00
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
2019-01-29 00:29:39 +08:00
|
|
|
project(x_nucleo_iks01a3)
|
|
|
|
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
|
|
target_sources(app PRIVATE ${app_sources})
|