1#-------------------------------------------------------------------------------
2# Copyright (c) 2020, Nordic Semiconductor ASA.
3# Copyright (c) 2020-2022, Arm Limited. All rights reserved.
4# Copyright (c) 2021, Laird Connectivity.
5#
6# SPDX-License-Identifier: BSD-3-Clause
7#
8#-------------------------------------------------------------------------------
9
10include(${PLATFORM_PATH}/common/core/${NRF_PLATFORM_PATH}/common/core/config.cmake)
11
12set(SECURE_UART1                        ON                   CACHE BOOL      "Enable secure UART1")
13set(SECURE_QSPI                         ON                   CACHE BOOL      "Enable secure QSPI")
14set(MCUBOOT_UPGRADE_STRATEGY            "SWAP_USING_SCRATCH" CACHE STRING    "Enable using scratch flash section for swapping images")
15if(NOT BL2)
16    set(BL2_TRAILER_SIZE                0x800                CACHE STRING    "Trailer size")
17endif()
18set(NRF_NS_STORAGE                      OFF                  CACHE BOOL      "Enable non-secure storage partition")
19set(NRF_NS_SECONDARY                    OFF                  CACHE BOOL      "Enable non-secure secondary partition")
20set(MCUBOOT_LOG_LEVEL                   "OFF"                CACHE STRING    "Level of logging to use for MCUboot [OFF, ERROR, WARNING, INFO, DEBUG]" FORCE)
21