Skip to content

Commit

Permalink
[Wi-Fi] [SiWx917] Adding the bring up changes for new Wi-Fi SDK 917 N…
Browse files Browse the repository at this point in the history
…CP (#168)

* Added changes for 917 NCP autogen files

* Removed not req defines from the componnent file

* Removed the mpu fucntion

* Added changes for the bootloader function

* Removed unwanted code
  • Loading branch information
shgutte authored Jan 10, 2024
1 parent 73fcd8b commit 766bc4b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define SL_COMPONENT_CATALOG_H

// APIs present in project

#define SL_CATALOG_BLUETOOTH_FEATURE_ADVERTISER_PRESENT
#define SL_CATALOG_BLUETOOTH_FEATURE_CONNECTION_PRESENT
#define SL_CATALOG_BLUETOOTH_FEATURE_GAP_PRESENT
Expand Down
3 changes: 2 additions & 1 deletion matter/efr32/efr32mg24/BRD4186C/autogen/sl_event_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#ifdef SL_WIFI
#include "sl_spidrv_instances.h"
#endif

#include "psa/crypto.h"
#include "sli_protocol_crypto.h"
#include "cmsis_os2.h"
Expand Down Expand Up @@ -72,9 +71,11 @@ void sl_kernel_start(void)
void sl_driver_init(void)
{
GPIOINT_Init();
#ifndef CHIP_917
#ifdef SL_WIFI
sl_spidrv_init_instances();
#endif
#endif
#if defined(USE_TEMP_SENSOR)
sl_i2cspm_init_instances();
#endif
Expand Down
14 changes: 9 additions & 5 deletions matter/efr32/efr32mg24/BRD4187C/autogen/sl_event_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
#include "sl_iostream_init_instances.h"
#include "sl_bluetooth.h"
#include "sl_power_manager.h"
#if !RSI_BLE_ENABLE
#include "sl_rail_util_power_manager_init.h"
#endif // !RSI_BLE_ENABLE

void sl_platform_init(void)
{
Expand All @@ -62,18 +64,20 @@ void sl_kernel_start(void)
{
#if !RSI_BLE_ENABLE
sli_bt_rtos_adaptation_kernel_start();
#endif
#endif // !RSI_BLE_ENABLE
osKernelStart();
}

void sl_driver_init(void)
{
GPIOINT_Init();
#if defined(USE_TEMP_SENSOR)
sl_i2cspm_init_instances();
#endif
#ifndef CHIP_917
#ifdef SL_WIFI
sl_spidrv_init_instances();
#endif
#endif
#if defined(USE_TEMP_SENSOR)
sl_i2cspm_init_instances();
#endif
sl_simple_button_init_instances();
sl_simple_led_init_instances();
Expand All @@ -100,7 +104,7 @@ void sl_stack_init(void)
sl_rail_util_pti_init();
sl_bt_rtos_init();
sl_rail_util_power_manager_init();
#endif
#endif
}

void sl_internal_app_init(void)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#ifdef __cplusplus
extern "C" {
#endif

#include "sl_simple_led.h"

extern const sl_led_t sl_led_led0;
Expand Down

0 comments on commit 766bc4b

Please sign in to comment.