samples: drivers: counter: alarm: Add support to TFM
Add cmake rules to allow build boards with TFM enabled. Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
This commit is contained in:
parent
1d4ef686ec
commit
5c773ae45e
2 changed files with 13 additions and 0 deletions
|
@ -6,3 +6,9 @@ project(counter)
|
|||
|
||||
FILE(GLOB app_sources src/*.c)
|
||||
target_sources(app PRIVATE ${app_sources})
|
||||
|
||||
if(CONFIG_BUILD_WITH_TFM)
|
||||
target_include_directories(app PRIVATE
|
||||
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/install/interface/include
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
#
|
||||
# Copyright (c) 2022 O.S.Systems
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
CONFIG_BUILD_WITH_TFM=y
|
||||
CONFIG_TFM_PROFILE_TYPE_MEDIUM=y
|
Loading…
Add table
Add a link
Reference in a new issue