diff options
| author | Michal Hanus <mikehanus@protonmail.com> | 2025-04-19 22:50:44 +0200 |
|---|---|---|
| committer | Michal Hanus <mikehanus@protonmail.com> | 2025-04-19 22:50:44 +0200 |
| commit | 9078b7ec09b135f091cb951ed234bf013c9c838e (patch) | |
| tree | ba953e144c2dd42d327a83720cdfc9fb5bb9fe34 /nrfdemo/build/tfm/api_ns/interface/include/device_cfg.h | |
| parent | 2e13c372f1419f08dab7797b244681f889dd9bcf (diff) | |
bme680 added
Diffstat (limited to 'nrfdemo/build/tfm/api_ns/interface/include/device_cfg.h')
| -rw-r--r-- | nrfdemo/build/tfm/api_ns/interface/include/device_cfg.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/nrfdemo/build/tfm/api_ns/interface/include/device_cfg.h b/nrfdemo/build/tfm/api_ns/interface/include/device_cfg.h deleted file mode 100644 index ef2bfba..0000000 --- a/nrfdemo/build/tfm/api_ns/interface/include/device_cfg.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (c) 2022 Nordic Semiconductor ASA - * - * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause - */ - -#ifndef DEVICE_CFG_H__ -#define DEVICE_CFG_H__ - -#include <autoconf.h> - -/* ARRAY_SIZE causes a conflict as it is defined both by TF-M and indirectly by devicetree.h */ -#undef ARRAY_SIZE -#include <zephyr/devicetree.h> - -#if !defined(NRF54L15_ENGA_XXAA) -#if defined(CONFIG_TFM_SECURE_UART0) || DOMAIN_NS == 1U -#define TFM_UART uart0 -#endif /* defined(CONFIG_TFM_SECURE_UART0) || DOMAIN_NS == 1U */ - -#if defined(CONFIG_TFM_SECURE_UART1) && DOMAIN_NS != 1U -#define TFM_UART uart1 -#endif /* defined(CONFIG_TFM_SECURE_UART1) */ - -#else /* NRF54L15_ENGA_XXAA */ -#if defined(CONFIG_TFM_SECURE_UART00) && DOMAIN_NS != 1U -#define TFM_UART uart00 -#endif /* defined(CONFIG_TFM_SECURE_UART00) */ - -#if defined(CONFIG_TFM_SECURE_UART20) && DOMAIN_NS != 1U -#define TFM_UART uart20 -#endif /* defined(CONFIG_TFM_SECURE_UART20) */ - -#if defined(CONFIG_TFM_SECURE_UART21) && DOMAIN_NS != 1U -#define TFM_UART uart21 -#endif /* defined(CONFIG_TFM_SECURE_UART21) */ - -#if defined(CONFIG_TFM_SECURE_UART22) && DOMAIN_NS != 1U -#define TFM_UART uart22 -#endif /* defined(CONFIG_TFM_SECURE_UART22) */ - -#if defined(CONFIG_TFM_SECURE_UART30) && DOMAIN_NS != 1U -#define TFM_UART uart30 -#endif /* defined(CONFIG_TFM_SECURE_UART30) */ -#endif /* NRF54L15_ENGA_XXAA */ - -#define DEFAULT_UART_BAUDRATE DT_PROP_OR(DT_NODELABEL(TFM_UART), current_speed, 115200) - -#if DT_PROP(DT_NODELABEL(TFM_UART), hw_flow_control) -#define DEFAULT_UART_CONTROL ARM_USART_FLOW_CONTROL_RTS_CTS -#else -#define DEFAULT_UART_CONTROL 0 -#endif - -#endif /* DEVICE_CFG_H__ */ |
