2021-09-05 03:26:22 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2022-07-03 03:36:23 +08:00
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
2021-09-05 03:26:22 +08:00
|
|
|
|
|
|
|
# This sample is specific to x_nucleo_53l0a1 shield. Enforce -DSHIELD option
|
|
|
|
set(SHIELD x_nucleo_53l0a1)
|
|
|
|
|
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
|
|
|
|
|
|
project(x_nucleo_53l0a1)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
|
|
target_sources(app PRIVATE ${app_sources})
|