@@ -24,6 +24,10 @@ config CHIP_PROJECT_CONFIG
24
24
string "Project configuration file for Matter"
25
25
default "include/CHIPProjectConfig.h"
26
26
27
+ config ZEPHYR_VERSION_3_3
28
+ bool "Using Zephyr version 3.3"
29
+ default n
30
+
27
31
config LOG
28
32
default y
29
33
@@ -63,7 +67,7 @@ config POSIX_MAX_FDS
63
67
# Application stack size
64
68
config MAIN_STACK_SIZE
65
69
default 3240 if PM || SOC_RISCV_TELINK_TL321X
66
- default 4608 if SOC_RISCV_TELINK_W91
70
+ default 4608 if SOC_RISCV_TELINK_W91 && !ZEPHYR_VERSION_3_3
67
71
default 4096
68
72
69
73
config INIT_STACKS
@@ -81,11 +85,12 @@ config SYSTEM_WORKQUEUE_STACK_SIZE
81
85
default 616 if PM
82
86
83
87
config HEAP_MEM_POOL_SIZE
88
+ default 256 if ZEPHYR_VERSION_3_3
84
89
default 1280
85
90
86
91
config COMMON_LIBC_MALLOC_ARENA_SIZE
87
- default 20716 if SOC_SERIES_RISCV_TELINK_B9X_RETENTION
88
- default 16384 if SOC_RISCV_TELINK_TL321X || SOC_RISCV_TELINK_TL721X
92
+ default 20716 if SOC_SERIES_RISCV_TELINK_B9X_RETENTION || (SOC_RISCV_TELINK_TL321X && ZEPHYR_VERSION_3_3)
93
+ default 16384 if SOC_RISCV_TELINK_TL721X || (SOC_RISCV_TELINK_TL321X && !ZEPHYR_VERSION_3_3)
89
94
default 12288
90
95
91
96
config NET_IPV6_MLD
@@ -173,6 +178,7 @@ config BT_DEVICE_NAME_GATT_WRITABLE
173
178
if SOC_RISCV_TELINK_B9X || SOC_RISCV_TELINK_TLX
174
179
175
180
config TL_BLE_CTRL_THREAD_STACK_SIZE
181
+ default 648 if ZEPHYR_VERSION_3_3
176
182
default 680
177
183
178
184
config TL_BLE_CTRL_MASTER_MAX_NUM
@@ -188,7 +194,6 @@ config TL_BLE_CTRL_RF_POWER
188
194
189
195
choice TL_BLE_CTRL_MAC_TYPE
190
196
default TL_BLE_CTRL_MAC_TYPE_RANDOM_STATIC
191
-
192
197
endchoice
193
198
194
199
endif # SOC_RISCV_TELINK_B9X || SOC_RISCV_TELINK_TLX
@@ -405,10 +410,14 @@ config CHIP_WIFI_CONNECTION_RECOVERY_JITTER
405
410
within range [-JITTER; +JITTER].
406
411
407
412
config NET_MGMT_EVENT_STACK_SIZE
413
+ default 1128 if ZEPHYR_VERSION_3_3
408
414
default 1250
409
415
416
+ if !ZEPHYR_VERSION_3_3
410
417
config IPC_SERVICE_BACKEND_ICMSG_WQ_STACK_SIZE
418
+ int "Size of RX work queue stack"
411
419
default 2304 if TELINK_W91_IPC_DISPATCHER
420
+ endif
412
421
413
422
endif # CHIP_WIFI
414
423
@@ -423,9 +432,6 @@ config CHIP_ENABLE_PAIRING_AUTOSTART
423
432
config MBEDTLS
424
433
default y
425
434
426
- config MBEDTLS_ENTROPY_POLL_ZEPHYR
427
- default y
428
-
429
435
config MBEDTLS_CIPHER_AES_ENABLED
430
436
default y
431
437
@@ -447,18 +453,29 @@ config MBEDTLS_ECDH_C
447
453
config MBEDTLS_ECDSA_C
448
454
default y
449
455
450
- config MBEDTLS_HKDF_C
456
+ config MBEDTLS_PKCS5_C
451
457
default y
452
458
453
- config MBEDTLS_PKCS5_C
459
+ config MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED
454
460
default y
455
461
456
- config MBEDTLS_X509_CSR_WRITE_C
462
+ if !ZEPHYR_VERSION_3_3
463
+ config MBEDTLS_ENTROPY_POLL_ZEPHYR
464
+ bool "Provide entropy data to Mbed TLS through entropy driver or random generator"
457
465
default y
458
466
459
- config MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED
467
+ config MBEDTLS_HKDF_C
468
+ bool "HMAC-based Extract-and-Expand Key Derivation Function"
460
469
default y
461
470
471
+ config MBEDTLS_X509_CSR_WRITE_C
472
+ bool "X.509 Certificate Signing Requests writing"
473
+ default y
474
+ endif # !ZEPHYR_VERSION_3_3
475
+
476
+ config GETOPT_LONG
477
+ default y if ZEPHYR_VERSION_3_3
478
+
462
479
# Disable not used shell modules
463
480
464
481
config SHELL_WILDCARD
0 commit comments