Skip to content

Commit

Permalink
removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthak-Shaha committed Jan 24, 2025
1 parent dd77def commit f4a8091
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 46 deletions.
3 changes: 0 additions & 3 deletions matter/efr32/mgm26/BRD4350A/autogen/sl_component_catalog.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
8 changes: 2 additions & 6 deletions matter/efr32/mgm26/BRD4350A/autogen/sl_event_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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)
Expand All @@ -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();
}
Expand Down
36 changes: 1 addition & 35 deletions matter/efr32/mgm26/BRD4350A/autogen/sl_iostream_handles.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
*/
}
2 changes: 0 additions & 2 deletions matter/efr32/mgm26/BRD4350A/autogen/sl_iostream_handles.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f4a8091

Please sign in to comment.