From f4a8091ad4230f5b25b64933ba5876697e219e93 Mon Sep 17 00:00:00 2001 From: Sarthak Shaha Date: Fri, 24 Jan 2025 11:55:12 -0500 Subject: [PATCH] removed comments --- .../BRD4350A/autogen/sl_component_catalog.h | 3 -- .../mgm26/BRD4350A/autogen/sl_event_handler.c | 8 ++--- .../BRD4350A/autogen/sl_iostream_handles.c | 36 +------------------ .../BRD4350A/autogen/sl_iostream_handles.h | 2 -- 4 files changed, 3 insertions(+), 46 deletions(-) diff --git a/matter/efr32/mgm26/BRD4350A/autogen/sl_component_catalog.h b/matter/efr32/mgm26/BRD4350A/autogen/sl_component_catalog.h index 5f509688c0..505d5411ce 100644 --- a/matter/efr32/mgm26/BRD4350A/autogen/sl_component_catalog.h +++ b/matter/efr32/mgm26/BRD4350A/autogen/sl_component_catalog.h @@ -43,7 +43,6 @@ #define SL_CATALOG_OPENTHREAD_CLI_PRESENT #define SL_CATALOG_OT_GP_INTERFACE_PRESENT #define SL_CATALOG_OPENTHREAD_STACK_PRESENT -// #define SL_CATALOG_OPENTHREAD_UART_PRESENT //not present in 4187c #define SL_CATALOG_POWER_MANAGER_PRESENT #define SL_CATALOG_PSA_CRYPTO_PRESENT #define SL_CATALOG_RADIO_PRIORITY_15_4_PRESENT @@ -65,8 +64,6 @@ #define SL_CATALOG_SL_CORE_PRESENT #define SL_CATALOG_SLEEPTIMER_PRESENT #define SL_CATALOG_SLI_PROTOCOL_CRYPTO_PRESENT -#if defined(CONFIG_ENABLE_UART) #define SL_CATALOG_UARTDRV_EUSART_PRESENT -#endif #endif // SL_COMPONENT_CATALOG_H diff --git a/matter/efr32/mgm26/BRD4350A/autogen/sl_event_handler.c b/matter/efr32/mgm26/BRD4350A/autogen/sl_event_handler.c index 1747232d66..df584e3232 100644 --- a/matter/efr32/mgm26/BRD4350A/autogen/sl_event_handler.c +++ b/matter/efr32/mgm26/BRD4350A/autogen/sl_event_handler.c @@ -12,7 +12,7 @@ #include "sl_rail_util_power_manager_init.h" #include "sl_rail_util_pti.h" #include "sl_rail_util_rssi.h" -//#include "sl_fem_util.h" // not present in 4187c +#include "sl_fem_util.h" #include "sl_board_control.h" #include "sl_bt_rtos_adaptation.h" #include "platform-efr32.h" @@ -27,9 +27,7 @@ #include "sl_ot_rtos_adaptation.h" #include "sl_simple_button_instances.h" #include "sl_simple_led_instances.h" -#if defined(CONFIG_ENABLE_UART) #include "sl_uartdrv_instances.h" -#endif // CONFIG_ENABLE_UART #include "psa/crypto.h" #include "sl_se_manager.h" #include "sli_protocol_crypto.h" @@ -70,9 +68,7 @@ void sl_driver_init(void) #endif // defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR sl_simple_button_init_instances(); sl_simple_led_init_instances(); -#if defined(CONFIG_ENABLE_UART) sl_uartdrv_init_instances(); -#endif // CONFIG_ENABLE_UART } void sl_service_init(void) @@ -95,7 +91,7 @@ void sl_stack_init(void) sl_rail_util_power_manager_init(); sl_rail_util_pti_init(); sl_rail_util_rssi_init(); - //sl_fem_util_init(); //not present in 4187c + sl_fem_util_init(); //not present in 4187c sl_bt_rtos_init(); sl_ot_sys_init(); } diff --git a/matter/efr32/mgm26/BRD4350A/autogen/sl_iostream_handles.c b/matter/efr32/mgm26/BRD4350A/autogen/sl_iostream_handles.c index 4135eff037..038b3feb91 100644 --- a/matter/efr32/mgm26/BRD4350A/autogen/sl_iostream_handles.c +++ b/matter/efr32/mgm26/BRD4350A/autogen/sl_iostream_handles.c @@ -26,38 +26,4 @@ sl_iostream_t *sl_iostream_get_handle(char *name) } return NULL; -} - -/***************************************************************************//** - * Set iostream recommended instance for a console - ******************************************************************************/ -/* //not present in 4187c -void sl_iostream_set_console_instance(void) -{ - sl_iostream_type_t console = SL_IOSTREAM_TYPE_UNDEFINED; - - for (uint32_t i = 0; i < sl_iostream_instances_count; i++) { - switch (sl_iostream_instances_info[i]->type) { - case SL_IOSTREAM_TYPE_UART: - case SL_IOSTREAM_TYPE_RTT: - if (console != SL_IOSTREAM_TYPE_UART) { - console = sl_iostream_instances_info[i]->type; - sl_iostream_recommended_console_stream = sl_iostream_instances_info[i]->handle; - } - break; - - case SL_IOSTREAM_TYPE_VUART: - if (console != SL_IOSTREAM_TYPE_UART && console != SL_IOSTREAM_TYPE_RTT) { - console = sl_iostream_instances_info[i]->type; - sl_iostream_recommended_console_stream = sl_iostream_instances_info[i]->handle; - } - break; - - case SL_IOSTREAM_TYPE_LOOPBACK: - default: - // Ignore loopback interface - break; - } - } -} -*/ +} \ No newline at end of file diff --git a/matter/efr32/mgm26/BRD4350A/autogen/sl_iostream_handles.h b/matter/efr32/mgm26/BRD4350A/autogen/sl_iostream_handles.h index 433d5079bc..3c85dbcbb4 100644 --- a/matter/efr32/mgm26/BRD4350A/autogen/sl_iostream_handles.h +++ b/matter/efr32/mgm26/BRD4350A/autogen/sl_iostream_handles.h @@ -15,8 +15,6 @@ extern const uint32_t sl_iostream_instances_count; sl_iostream_t *sl_iostream_get_handle(char *name); -// void sl_iostream_set_console_instance(void); //not present in 4187c - #ifdef __cplusplus } #endif