Skip to content

Commit

Permalink
[Silabs] Adds WiseConnect 3 SDK 3.0.13 support (#28915)
Browse files Browse the repository at this point in the history
* Adds support for WiSeConnect 3 SDK v3.0.13

* Update(s) SDK support for WiseConnect 3 SDK 3.0.12+

* Adds support for WiseConnect 3.0.12

* Adds changes for WiseConnect 3.0.13 changes

* Adds NVIC API changes

* ports NVIC API in SDK support

* Adds fix for NVIC snippet

* revert .vscode changes

* Restyled by gn

* Updates SDK support

---------

Co-authored-by: Restyled.io <commits@restyled.io>
  • Loading branch information
rosahay-silabs and restyled-commits authored Sep 2, 2023
1 parent 5ccb774 commit fbce0e2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions examples/platform/silabs/FreeRTOSConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,12 @@ to all Cortex-M ports, and do not rely on any particular library functions. */
#define configKERNEL_INTERRUPT_PRIORITY (255)
/* !!!! configMAX_SYSCALL_INTERRUPT_PRIORITY must not be set to zero !!!!
See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
#ifdef SIWX_917
#define configMAX_SYSCALL_INTERRUPT_PRIORITY 20
#else
#define configMAX_SYSCALL_INTERRUPT_PRIORITY 48
#endif // SIWX_917

#define configENABLE_FPU 0
#define configENABLE_MPU 0
/* FreeRTOS Secure Side Only and TrustZone Security Extension */
Expand Down
4 changes: 4 additions & 0 deletions src/platform/silabs/platformAbstraction/WiseMcuSpam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

// TODO add includes ?
extern "C" {
#include "em_core.h"
#include "sl_event_handler.h"

void RSI_Board_LED_Set(int, bool);
Expand Down Expand Up @@ -56,6 +57,9 @@ CHIP_ERROR SilabsPlatform::Init(void)

sl_system_init();

// TODO: Setting the highest priority for SVCall_IRQn to avoid the HardFault issue
NVIC_SetPriority(SVCall_IRQn, CORE_INTERRUPT_HIGHEST_PRIORITY);

// Configuration the clock rate
soc_pll_config();

Expand Down
2 changes: 2 additions & 0 deletions third_party/silabs/SiWx917_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ template("siwx917_sdk") {
"${sdk_support_root}/matter/si91x/siwx917/BRD4325x/support/hal",
"${efr32_sdk_root}/platform/emdrv/nvm3/inc",
"${efr32_sdk_root}/platform/emdrv/common/inc",
"${efr32_sdk_root}/platform/service/device_init/inc",
"${sdk_support_root}/matter/mbedtls/tinycrypt/inc",
"${sdk_support_root}/matter/si91x/siwx917/BRD4325x/autogen",
"${sdk_support_root}/matter/si91x/siwx917/BRD4325x/config",
Expand Down Expand Up @@ -350,6 +351,7 @@ template("siwx917_sdk") {
"${efr32_sdk_root}/platform/emdrv/nvm3/src/nvm3_default_common_linker.c",
"${efr32_sdk_root}/platform/emdrv/nvm3/src/nvm3_lock.c",
"${efr32_sdk_root}/platform/emlib/src/em_core.c",
"${efr32_sdk_root}/platform/service/device_init/src/sl_device_init_nvic.c",
"${efr32_sdk_root}/platform/service/system/src/sl_system_init.c",
"${efr32_sdk_root}/util/third_party/freertos/kernel/croutine.c",
"${efr32_sdk_root}/util/third_party/freertos/kernel/event_groups.c",
Expand Down
2 changes: 1 addition & 1 deletion third_party/silabs/wifi_sdk
Submodule wifi_sdk updated 1294 files

0 comments on commit fbce0e2

Please sign in to comment.