File tree 3 files changed +18
-12
lines changed
3 files changed +18
-12
lines changed Original file line number Diff line number Diff line change 18
18
#include " AppConfig.h"
19
19
#include " matter_shell.h"
20
20
#include < cmsis_os2.h>
21
- #include < lib/shell/Engine.h>
21
+ // #include <lib/shell/Engine.h>
22
22
#include < platform/CHIPDeviceLayer.h>
23
23
#include < sl_cmsis_os2_common.h>
24
24
Original file line number Diff line number Diff line change 24
24
25
25
#pragma once
26
26
27
+ #include <app/icd/server/ICDServerConfig.h>
27
28
#include <stdint.h>
28
29
29
30
#if (SL_MATTER_GN_BUILD == 0 )
99
100
#define CHIP_CONFIG_MAX_FABRICS 5 // 4 fabrics + 1 for rotation slack
100
101
#endif
101
102
102
- #ifdef SL_ICD_ENABLED
103
+ #if defined( CHIP_CONFIG_ENABLE_ICD_SERVER ) && CHIP_CONFIG_ENABLE_ICD_SERVER
103
104
104
105
#ifndef CHIP_CONFIG_ICD_IDLE_MODE_DURATION_SEC
105
106
#define CHIP_CONFIG_ICD_IDLE_MODE_DURATION_SEC SL_IDLE_MODE_DURATION_S
117
118
#define CHIP_CONFIG_ICD_CLIENTS_SUPPORTED_PER_FABRIC SL_ICD_SUPPORTED_CLIENTS_PER_FABRIC
118
119
#endif // CHIP_CONFIG_ICD_CLIENTS_SUPPORTED_PER_FABRIC
119
120
120
- #endif // SL_ICD_ENABLED
121
+ #endif // defined(CHIP_CONFIG_ENABLE_ICD_SERVER) && CHIP_CONFIG_ENABLE_ICD_SERVER
122
+
123
+ /**
124
+ * @brief CHIP_SHELL_MAX_LINE_SIZE
125
+ *
126
+ * @brief Platform maximum line for the Matter Shell
127
+ */
128
+ #ifndef CHIP_SHELL_MAX_LINE_SIZE
129
+ #define CHIP_SHELL_MAX_LINE_SIZE 256
130
+ #endif // CHIP_SHELL_MAX_LINE_SIZE
121
131
122
132
// ==================== FreeRTOS Configuration Overrides ====================
123
133
#ifndef CHIP_CONFIG_FREERTOS_USE_STATIC_TASK
Original file line number Diff line number Diff line change @@ -249,7 +249,6 @@ template("siwx917_sdk") {
249
249
" UDMA_ROMDRIVER_PRESENT=1" ,
250
250
" PLL_ROMDRIVER_PRESENT=1" ,
251
251
" SL_MATTER_GN_BUILD=1" ,
252
- " SLI_SI91X_MCU_INTR_BASED_RX_ON_UART=1" ,
253
252
]
254
253
255
254
if (silabs_log_enabled && chip_logging ) {
@@ -259,7 +258,10 @@ template("siwx917_sdk") {
259
258
}
260
259
261
260
if (chip_build_libshell ) {
262
- defines += [ " ENABLE_CHIP_SHELL" ]
261
+ defines += [
262
+ " ENABLE_CHIP_SHELL" ,
263
+ " SLI_SI91X_MCU_INTR_BASED_RX_ON_UART=1" ,
264
+ ]
263
265
}
264
266
265
267
defines += [ " LWIP_NETIF_API=1" ]
@@ -301,7 +303,6 @@ template("siwx917_sdk") {
301
303
302
304
if (! disable_lcd ) {
303
305
defines += [
304
- " CONFIG_ENABLE_UART" ,
305
306
" SYSCALLS_WRITE" ,
306
307
" SPI_MULTI_SLAVE" ,
307
308
" SL_ULP_TIMER" ,
@@ -310,12 +311,7 @@ template("siwx917_sdk") {
310
311
311
312
# Enabling led interface
312
313
if (use_wstk_leds ) {
313
- defines += [
314
- " ENABLE_WSTK_LEDS" ,
315
-
316
- # TODO: remove this when it is added to the board config from wifi sdk
317
- " SL_CATALOG_SIMPLE_LED_LED1_PRESENT" ,
318
- ]
314
+ defines += [ " ENABLE_WSTK_LEDS" ]
319
315
}
320
316
321
317
if (chip_enable_icd_server ) {
You can’t perform that action at this time.
0 commit comments