/* * Copyright (c) 2021, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * */ #ifndef TFM_PERIPHERALS_CONFIG_H__ #define TFM_PERIPHERALS_CONFIG_H__ #ifdef __cplusplus extern "C" { #endif #ifdef SECURE_UART1 #define TFM_PERIPHERAL_UARTE1_SECURE 1 #endif #ifdef SECURE_QSPI #define TFM_PERIPHERAL_QSPI_SECURE 1 #endif #if TEST_NS_SLIH_IRQ || TEST_NS_FLIH_IRQ #define TFM_PERIPHERAL_TIMER0_SECURE 1 #endif #ifdef PSA_API_TEST_IPC #define TFM_PERIPHERAL_EGU5_SECURE 1 #define TFM_PERIPHERAL_WDT0_SECURE 1 #endif #if defined(NRF5340_XXAA_APPLICATION) #include #else #error "Unknown device." #endif #ifdef __cplusplus } #endif #endif /* TFM_PERIPHERAL_CONFIG_H__ */