1# Copyright (c) 2024 Silicon Laboratories Inc.
2# SPDX-License-Identifier: Apache-2.0
3
4if SOC_FAMILY_SILABS_SIWX91X
5
6config WISECONNECT_NETWORK_STACK
7	bool
8	select CMSIS_RTOS_V2
9	select POLL
10	select DYNAMIC_THREAD
11	select THREAD_NAME
12	select THREAD_STACK_INFO
13	select THREAD_MONITOR
14	select INIT_STACKS
15
16if WISECONNECT_NETWORK_STACK
17
18# WiseConnect create threads with realtime priority. Default (10kHz) clock tick
19# prevent proper use of the system with these threads.
20config SYS_CLOCK_TICKS_PER_SEC
21	default 1024
22
23config NUM_PREEMPT_PRIORITIES
24	default 56
25
26config CMSIS_V2_THREAD_DYNAMIC_MAX_COUNT
27	default 2
28
29config CMSIS_V2_THREAD_DYNAMIC_STACK_SIZE
30	default 1024
31
32config CMSIS_V2_THREAD_MAX_STACK_SIZE
33	default 2048
34
35endif # WISECONNECT_NETWORK_STACK
36
37rsource "*/Kconfig.defconfig"
38
39endif # SOC_FAMILY_SILABS_SIWX91X
40