Skip to content

Commit 52061a7

Browse files
committedAug 20, 2024
Fix wifi ncp builds
1 parent 70e6861 commit 52061a7

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed
 

‎examples/platform/silabs/SiWx917/SiWx917/sl_wifi_if.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ extern "C" {
4444
#include "sl_net.h"
4545
#include "sl_si91x_driver.h"
4646
#include "sl_si91x_host_interface.h"
47-
#include "sl_si91x_m4_ps.h"
4847
#include "sl_si91x_types.h"
4948
#include "sl_wifi.h"
5049
#include "sl_wifi_callback_framework.h"

‎src/platform/silabs/rs911x/ble_config.h

-1
This file was deleted.
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*******************************************************************************
2+
* @file ble_config.h
3+
* @brief
4+
*******************************************************************************
5+
* # License
6+
* <b>Copyright 2020 Silicon Laboratories Inc. www.silabs.com</b>
7+
*******************************************************************************
8+
*
9+
* The licensor of this software is Silicon Laboratories Inc. Your use of this
10+
* software is governed by the terms of Silicon Labs Master Software License
11+
* Agreement (MSLA) available at
12+
* www.silabs.com/about-us/legal/master-software-license-agreement. This
13+
* software is distributed to you in Source Code format and is governed by the
14+
* sections of the MSLA applicable to Source Code.
15+
*
16+
******************************************************************************/
17+
18+
#include <rsi_ble_config.h>

‎src/platform/silabs/rs911x/rsi_ble_config.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
#include <rsi_data_types.h>
2525
#endif
2626

27+
#if SL_MATTER_GN_BUILD == 0
28+
#include "sl_matter_wifi_config.h"
29+
#endif // SL_MATTER_GN_BUILD
30+
2731
/******************************************************
2832
* * Macros
2933
* ******************************************************/
@@ -107,7 +111,7 @@
107111
#else
108112
#define RSI_BLE_MAX_NBR_ATT_REC (80)
109113

110-
#if (SLI_SI91X_MCU_INTERFACE | EXP_BOARD)
114+
#if (EXP_BOARD)
111115
#define RSI_BLE_MAX_NBR_PERIPHERALS (3)
112116
#else
113117
#define RSI_BLE_MAX_NBR_SLAVES (3)

0 commit comments

Comments
 (0)