19 lines
467 B
CMake
19 lines
467 B
CMake
# Copyright (c) 2019 STMicroelectronics
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
cmake_minimum_required(VERSION 3.13.1)
|
|
|
|
# This sample is specific to x_nucleo_iks01a3 shield. Enforce -DSHIELD option
|
|
set(SHIELD x_nucleo_iks01a3)
|
|
|
|
if(BOARD STREQUAL stm32mp157c_dk2)
|
|
set(CONF_FILE stm32mp157c_dk2.conf)
|
|
endif()
|
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(x_nucleo_iks01a3)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|