Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
a1bdd91
2025.12.0 update
Sarthak-Shaha Feb 5, 2026
3bfdd0a
remove duplicate files
Sarthak-Shaha Feb 5, 2026
800fe3c
cleanup
Sarthak-Shaha Feb 10, 2026
0aa8b36
CSA changes
Sarthak-Shaha Feb 11, 2026
765ee89
copy over spidrv files
Sarthak-Shaha Feb 26, 2026
7655867
remove no op line
Sarthak-Shaha Feb 26, 2026
be6baa4
revert to original
Sarthak-Shaha Feb 26, 2026
b3f91f9
remove PTI
Sarthak-Shaha Feb 26, 2026
117b5df
fix macros
Sarthak-Shaha Feb 26, 2026
a96fbfc
fix macros
Sarthak-Shaha Feb 26, 2026
4902059
fix macros
Sarthak-Shaha Feb 26, 2026
d779edc
fix macros
Sarthak-Shaha Feb 26, 2026
843a5b4
fix macros
Sarthak-Shaha Feb 26, 2026
bf6bb72
fix macros
Sarthak-Shaha Feb 26, 2026
837e914
fix macros
Sarthak-Shaha Feb 26, 2026
c11d6b8
checking rgb
Sarthak-Shaha Feb 26, 2026
c681cc9
spidrv config
Sarthak-Shaha Feb 26, 2026
5b3448c
check in original spidrv files
Sarthak-Shaha Feb 26, 2026
2f44e18
remove extra filed
Sarthak-Shaha Feb 26, 2026
3e8f6a5
add siwx ble condition
Sarthak-Shaha Feb 26, 2026
59268ae
indent fix
Sarthak-Shaha Feb 26, 2026
0dc6829
add siwx ble condition
Sarthak-Shaha Feb 26, 2026
6d77819
add siwx ble condition
Sarthak-Shaha Feb 26, 2026
45c4a4e
add siwx ble condition
Sarthak-Shaha Feb 26, 2026
59d989c
ifdef
Sarthak-Shaha Feb 26, 2026
1b2d7e6
check in original file
Sarthak-Shaha Feb 26, 2026
73bf0b4
remove spidrv
Sarthak-Shaha Feb 26, 2026
d2a9f9f
ifdef cpp
Sarthak-Shaha Feb 26, 2026
fd62848
remove spidrv
Sarthak-Shaha Feb 27, 2026
1f04dd9
include spidrv
Sarthak-Shaha Feb 27, 2026
5258fe7
add config
Sarthak-Shaha Feb 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 14 additions & 6 deletions board-support/efr32/efr32mg24/BRD2601B/autogen/sl_bluetooth.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@

#include <sl_common.h>
#include "sl_bluetooth.h"
#include "sli_bt_api.h"
#include "sli_bgapi.h"
#include "sl_assert.h"
#include "sl_bt_stack_init.h"
#include "sl_component_catalog.h"
Expand Down Expand Up @@ -68,17 +70,23 @@ void sl_bt_step(void)
{
sl_bt_msg_t evt;

// Run the Bluetooth host stack processing step
sl_bt_run();
uint32_t event_len = sl_bt_event_pending_len();
// For preventing from data loss, the event will be kept in the stack's queue
// if application cannot process it at the moment.

// Check the length of the next event, if any, and verify that the application
// can process it. To prevent data loss, the event will be kept in the stack's
// queue if the application cannot process it at the moment.
size_t event_len = sli_bgapi_device_peek_event_len(&sli_bt_bgapi_device);
if ((event_len == 0) || (!sl_bt_can_process_event(event_len))) {
return;
}

// Pop (non-blocking) a Bluetooth stack event from event queue.
sl_status_t status = sl_bt_pop_event(&evt);
if(status != SL_STATUS_OK){
// Pop the event and process it if successful
sl_status_t status = sli_bgapi_device_pop_event(&sli_bt_bgapi_device,
sizeof(evt),
&evt);

if (status != SL_STATUS_OK) {
return;
}
sl_bt_process_event(&evt);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

// APIs present in project
#define SL_CATALOG_BGAPI_PROTOCOL_PRESENT
#define SL_CATALOG_BGAPI_PROTOCOL_RTOS_ADAPTATION_PRESENT
#define SL_CATALOG_BLUETOOTH_CONFIGURATION_PRESENT
#define SL_CATALOG_BLUETOOTH_CTE_SUPPORT_PRESENT
#define SL_CATALOG_BLUETOOTH_CS_SUPPORT_PRESENT
Expand All @@ -24,7 +25,6 @@
#define SL_CATALOG_CMSIS_OS_COMMON_PRESENT
#define SL_CATALOG_CPP_SUPPORT_PRESENT
#define SL_CATALOG_DEVICE_INIT_PRESENT
#define SL_CATALOG_DEVICE_INIT_CORE_PRESENT
#define SL_CATALOG_DEVICE_INIT_DCDC_PRESENT
#define SL_CATALOG_EMLIB_CORE_PRESENT
#define SL_CATALOG_EMLIB_RMU_PRESENT
Expand All @@ -33,6 +33,7 @@
#define SL_CATALOG_GATT_CONFIGURATION_PRESENT
#define SL_CATALOG_GPIO_PRESENT
#define SL_CATALOG_GPIOINTERRUPT_PRESENT
#define SL_CATALOG_HAL_SYSTEM_PRESENT
#define SL_CATALOG_HFXO_MANAGER_PRESENT
#define SL_CATALOG_INTERRUPT_MANAGER_PRESENT
#define SL_CATALOG_IOSTREAM_PRESENT
Expand All @@ -48,11 +49,11 @@
#define SL_CATALOG_OT_GP_INTERFACE_PRESENT
#define SL_CATALOG_OPENTHREAD_STACK_PRESENT
#define SL_CATALOG_POWER_MANAGER_PRESENT
#define SL_CATALOG_POWER_MANAGER_DEEPSLEEP_PRESENT
#define SL_CATALOG_PSA_CRYPTO_PRESENT
#define SL_CATALOG_RADIO_PRIORITY_15_4_PRESENT
#define SL_CATALOG_RAIL_LIB_PRESENT
#define SL_CATALOG_RAIL_UTIL_PTI_PRESENT
#define SL_CATALOG_SE_MANAGER_PRESENT
#define SL_CATALOG_SECURITY_MANAGER_PRESENT
#define SL_CATALOG_SEGGER_RTT_PRESENT
#define SL_CATALOG_BTN0_PRESENT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@
#include "sl_board_init.h"
#include "sl_clock_manager.h"
#include "sl_hfxo_manager.h"
#include "pa_conversions_efr32.h"
#include "sl_rail_util_compatible_pa.h"
#if !(defined(SLI_SI91X_ENABLE_BLE) && SLI_SI91X_ENABLE_BLE)
#include "sl_bluetooth.h"
#include "sl_rail_util_power_manager_init.h"
#endif // !SLI_SI91X_ENABLE_BLE
#include "sl_rail_util_power_manager_init.h"
#include "sl_rail_util_pti.h"
#include "sl_rail_util_rssi.h"
#include "btl_interface.h"
#include "sl_board_control.h"
#include "platform-efr32.h"
#include "sl_bt_rtos_adaptation.h"
#include "sl_bluetooth.h"
#include "sl_debug_swo.h"
#include "sl_gpio.h"
#include "gpiointerrupt.h"
#if defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
Expand All @@ -28,18 +30,17 @@
#else
#include "sl_simple_led_instances.h"
#endif //(SL_MATTER_RGB_LED_ENABLED) && SL_MATTER_RGB_LED_ENABLED == 1)

#if defined(CONFIG_ENABLE_UART)
#include "sl_uartdrv_instances.h"
#endif
#endif // CONFIG_ENABLE_UART
#include "psa/crypto.h"
#include "sl_se_manager.h"
#include "sli_protocol_crypto.h"
#include "sli_crypto.h"
#include "sl_iostream_init_instances.h"
#include "cmsis_os2.h"
#include "nvm3_default.h"
#include "sl_cos.h"

#include "sl_iostream_handles.h"

void sli_driver_permanent_allocation(void)
Expand Down Expand Up @@ -93,7 +94,9 @@ void sl_driver_init(void)
#else
sl_simple_led_init_instances();
#endif //(SL_MATTER_RGB_LED_ENABLED) && SL_MATTER_RGB_LED_ENABLED == 1)
#if defined(CONFIG_ENABLE_UART)
sl_uartdrv_init_instances();
#endif // CONFIG_ENABLE_UART
}

void sl_service_init(void)
Expand All @@ -112,18 +115,24 @@ void sl_service_init(void)

void sl_stack_init(void)
{
#if !SLI_SI91X_ENABLE_BLE
sl_rail_util_pa_init();
sl_rail_util_power_manager_init();
sl_rail_util_pti_init();
sl_rail_util_rssi_init();
sl_ot_sys_init();
sli_bt_stack_functional_init();
#endif // !SLI_SI91X_ENABLE_BLE
#ifdef SL_OT_ENABLE
sl_ot_sys_init();
#endif // SL_OT_ENABLE
}

void sl_internal_app_init(void)
{
#ifdef SL_OT_ENABLE
sl_ot_rtos_stack_init();
sl_ot_rtos_app_init();
#endif // SL_OT_ENABLE
}

void sl_iostream_init_instances_stage_1(void)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@
#define PSA_WANT_ALG_TLS12_PSK_TO_MS 1
#define MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG

#if defined(KSU_MAX_KEY_SLOTS)
#include "sli_ksu_keyslots_config.h"
#define MBEDTLS_PSA_KEY_SLOT_COUNT (22 + 15 + 1 + SL_PSA_KEY_USER_SLOT_COUNT + SLI_KSU_MAX_KEY_SLOTS - SLI_KSU_KEY_SLOT_USER_START + 1)
#else
#define MBEDTLS_PSA_KEY_SLOT_COUNT (22 + 15 + 1 + SL_PSA_KEY_USER_SLOT_COUNT + 1)
#endif
#ifndef SL_PSA_ITS_MAX_FILES
#define SL_PSA_ITS_MAX_FILES (1 + SL_PSA_ITS_USER_MAX_FILES)
#endif
Expand Down
Loading
Loading