diff --git a/matter/si91x/siwx917/BRD4342A/config/sl_si91x_ulp_uart_common_config.h b/matter/si91x/siwx917/BRD4342A/config/sl_si91x_ulp_uart_common_config.h deleted file mode 100644 index 921e7a507c..0000000000 --- a/matter/si91x/siwx917/BRD4342A/config/sl_si91x_ulp_uart_common_config.h +++ /dev/null @@ -1,43 +0,0 @@ -/***************************************************************************/ /** - * @file sl_si91x_ulp_uart_common_config.h - * @brief SL SI91X ULP UART Common Config. - ******************************************************************************* - * # License - * Copyright 2023 Silicon Laboratories Inc. www.silabs.com - ******************************************************************************* - * - * SPDX-License-Identifier: Zlib - * - * The licensor of this software is Silicon Laboratories Inc. - * - * This software is provided 'as-is', without any express or implied - * warranty. In no event will the authors be held liable for any damages - * arising from the use of this software. - * - * Permission is granted to anyone to use this software for any purpose, - * including commercial applications, and to alter it and redistribute it - * freely, subject to the following restrictions: - * - * 1. The origin of this software must not be misrepresented; you must not - * claim that you wrote the original software. If you use this software - * in a product, an acknowledgment in the product documentation would be - * appreciated but is not required. - * 2. Altered source versions must be plainly marked as such, and must not be - * misrepresented as being the original software. - * 3. This notice may not be removed or altered from any source distribution. - * - ******************************************************************************/ - -#ifndef SL_SI91X_ULP_UART_COMMON_CONFIG_H -#define SL_SI91X_ULP_UART_COMMON_CONFIG_H - -// <<< Use Configuration Wizard in Context Menu >>> -// DMA Configuration - -// ULP UART DMA -// Default: 1 -#define SL_ULPUART_DMA_CONFIG_ENABLE 0 - -// -// <<< end of configuration section >>> -#endif // SL_SI91X_ULP_UART_COMMON_CONFIG_H diff --git a/matter/si91x/siwx917/BRD4342A/config/sl_si91x_ulp_uart_config.h b/matter/si91x/siwx917/BRD4342A/config/sl_si91x_ulp_uart_config.h deleted file mode 100644 index 8bd20f97e9..0000000000 --- a/matter/si91x/siwx917/BRD4342A/config/sl_si91x_ulp_uart_config.h +++ /dev/null @@ -1,104 +0,0 @@ -/***************************************************************************/ /** - * @file sl_si91x_ulp_uart_config.h - * @brief SL ULP UART Config. - ******************************************************************************* - * # License - * Copyright 2023 Silicon Laboratories Inc. www.silabs.com - ******************************************************************************* - * - * SPDX-License-Identifier: Zlib - * - * The licensor of this software is Silicon Laboratories Inc. - * - * This software is provided 'as-is', without any express or implied - * warranty. In no event will the authors be held liable for any damages - * arising from the use of this software. - * - * Permission is granted to anyone to use this software for any purpose, - * including commercial applications, and to alter it and redistribute it - * freely, subject to the following restrictions: - * - * 1. The origin of this software must not be misrepresented; you must not - * claim that you wrote the original software. If you use this software - * in a product, an acknowledgment in the product documentation would be - * appreciated but is not required. - * 2. Altered source versions must be plainly marked as such, and must not be - * misrepresented as being the original software. - * 3. This notice may not be removed or altered from any source distribution. - * - ******************************************************************************/ - -#ifndef SL_SI91X_ULP_UART_CONFIG_H -#define SL_SI91X_ULP_UART_CONFIG_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include "sl_si91x_usart.h" - -// <<< Use Configuration Wizard in Context Menu >>> - -// ULP UART UC Configuration -// Enable: Peripheral configuration is taken straight from the configuration set in the universal configuration (UC). -// Disable: If the application demands it to be modified during runtime, use the sl_si91x_uart_set_configuration API to modify the peripheral configuration. -// Default: 1 -#define ULP_UART_UC 1 -#define ULPUART_MODULE 2 - -// UART Configuration -#define ENABLE 1 -#define DISABLE 0 - -#if (ULP_UART_UC) -// Baud Rate (Baud/Second) <300-7372800> -// Default: 115200 -#define SL_ULP_UART_BAUDRATE 115200 - -// Parity -// No Parity -// Even -// Odd -// Default: SL_USART_NO_PARITY -#define SL_ULP_UART_PARITY SL_USART_NO_PARITY - -// Stop Bits -// 1 -// 1.5 -// 2 -// Default: USART_STOP_BITS_1 -#define SL_ULP_UART_STOP_BITS SL_USART_STOP_BITS_1 - -// Data Width -// 5 -// 6 -// 7 -// 8 -// Default: USART_DATA_BITS_8 -#define SL_ULP_UART_DATA_BITS SL_USART_DATA_BITS_8 - -// Flow control -// None -// Default: USART_FLOW_CONTROL_NONE -#define SL_ULP_UART_FLOW_CONTROL_TYPE SL_USART_FLOW_CONTROL_NONE -#endif - -// ULP_UART Configuration -// - -#ifdef __cplusplus -} -#endif -// <<< end of configuration section >>> - -#if (ULP_UART_UC) -sl_si91x_usart_control_config_t ulp_uart_configuration = { .baudrate = SL_ULP_UART_BAUDRATE, - .mode = SL_USART_MODE_ASYNCHRONOUS, - .parity = SL_ULP_UART_PARITY, - .stopbits = SL_ULP_UART_STOP_BITS, - .hwflowcontrol = SL_ULP_UART_FLOW_CONTROL_TYPE, - .databits = SL_ULP_UART_DATA_BITS, - .usart_module = ULPUART_MODULE }; - -#endif //ULP_UART_UC -#endif //SL_SI91X_UART_CONFIG_H