1CONFIG_WIFI_NXP=y
2CONFIG_NXP_RW610=y
3CONFIG_NXP_WIFI_SHELL=y
4
5#
6# C Library
7#
8CONFIG_REQUIRES_FULL_LIBC=y
9CONFIG_CBPRINTF_FP_SUPPORT=y
10
11# log
12CONFIG_WIFI_LOG_LEVEL_DBG=y
13CONFIG_THREAD_LOCAL_STORAGE=y
14CONFIG_ASSERT=y
15CONFIG_ASSERT_LEVEL=2
16CONFIG_LOG_MODE_IMMEDIATE=y
17CONFIG_LOG_PRINTK=n
18
19# os
20CONFIG_THREAD_CUSTOM_DATA=y
21CONFIG_EVENTS=y
22CONFIG_SYS_HEAP_AUTO=y
23CONFIG_SCHED_MULTIQ=y
24CONFIG_ZVFS_OPEN_MAX=30
25
26# shell
27CONFIG_SHELL_ARGC_MAX=48
28CONFIG_WIFI_SHELL_MAX_AP_STA=8
29CONFIG_WIFI_MGMT_AP_MAX_NUM_STA=8
30CONFIG_SHELL_CMD_BUFF_SIZE=512
31
32# net
33CONFIG_NET_L2_ETHERNET=y
34CONFIG_NET_DHCPV4_SERVER_ADDR_COUNT=32
35CONFIG_NET_IPV4=y
36CONFIG_NET_IPV6=y
37CONFIG_ETH_MCUX=n
38CONFIG_NET_ZPERF=y
39CONFIG_NET_ZPERF_MAX_PACKET_SIZE=1500
40CONFIG_NET_BUF_LOG=y
41CONFIG_NET_PKT_RX_COUNT=60
42CONFIG_NET_PKT_TX_COUNT=40
43CONFIG_NET_BUF_RX_COUNT=60
44CONFIG_NET_BUF_TX_COUNT=80
45CONFIG_NET_BUF_DATA_SIZE=1744
46CONFIG_NET_TC_TX_COUNT=1
47CONFIG_NET_TC_RX_COUNT=1
48CONFIG_NET_MGMT_EVENT_QUEUE_SIZE=20
49CONFIG_NET_IF_MAX_IPV4_COUNT=2
50CONFIG_NET_IF_MAX_IPV6_COUNT=2
51CONFIG_DNS_RESOLVER=y
52CONFIG_DNS_RESOLVER_MAX_SERVERS=2
53CONFIG_NET_SOCKETS_POLL_MAX=14
54CONFIG_NET_ZPERF_MAX_SESSIONS=6
55CONFIG_NET_IPV4_FRAGMENT=y
56CONFIG_NET_IPV4_FRAGMENT_MAX_COUNT=3
57CONFIG_NET_IPV4_FRAGMENT_MAX_PKT=7
58CONFIG_NET_IPV4_FRAGMENT_TIMEOUT=3
59CONFIG_NET_IPV6_FRAGMENT=y
60CONFIG_NET_IPV6_FRAGMENT_MAX_COUNT=3
61CONFIG_NET_IPV6_FRAGMENT_MAX_PKT=8
62CONFIG_NET_IPV6_FRAGMENT_TIMEOUT=3
63CONFIG_NET_MAX_CONN=10
64CONFIG_NET_DHCPV4_SERVER_ICMP_PROBE_TIMEOUT=100
65
66# net threads priority
67CONFIG_NET_TC_THREAD_PRIO_CUSTOM=y
68CONFIG_NET_TC_THREAD_PREEMPTIVE=y
69CONFIG_NET_TCP_WORKER_PRIO=-16
70CONFIG_NET_TC_TX_THREAD_BASE_PRIO=3
71CONFIG_NET_TC_RX_THREAD_BASE_PRIO=3
72CONFIG_ZPERF_WORK_Q_THREAD_PRIORITY=3
73CONFIG_NET_SOCKETS_SERVICE_THREAD_PRIO=3
74CONFIG_NET_TC_SKIP_FOR_HIGH_PRIO=y
75CONFIG_NET_CONTEXT_PRIORITY=y
76CONFIG_NET_MGMT_THREAD_PRIO_CUSTOM=y
77CONFIG_NET_MGMT_THREAD_PRIORITY=3
78
79# power management
80CONFIG_PM=y
81CONFIG_PM_DEVICE=y
82CONFIG_PM_LOG_LEVEL_OFF=y
83CONFIG_PM_DEVICE_LOG_LEVEL_OFF=y
84CONFIG_IDLE_STACK_SIZE=1024
85
86# stack size
87CONFIG_SHELL_STACK_SIZE=6144
88CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
89CONFIG_NET_MGMT_EVENT_STACK_SIZE=4608
90CONFIG_NET_TCP_WORKQ_STACK_SIZE=2048
91CONFIG_MAIN_STACK_SIZE=4096
92CONFIG_NET_SOCKETS_SERVICE_STACK_SIZE=4096
93
94# optimization level
95# refer to Kconfig.zephyr for Optimizations Level
96CONFIG_SPEED_OPTIMIZATIONS=y
97#CONFIG_SIZE_OPTIMIZATIONS=y
98#CONFIG_DEBUG_OPTIMIZATIONS=y
99#CONFIG_NO_OPTIMIZATIONS=y
100
101# debug & stats
102CONFIG_SYS_HEAP_VALIDATE=y
103CONFIG_SYS_HEAP_RUNTIME_STATS=y
104#CONFIG_NET_PKT_TXTIME_STATS=y
105#CONFIG_NET_PKT_TXTIME_STATS_DETAIL=y
106CONFIG_NET_STATISTICS_WIFI=y
107CONFIG_NET_STATISTICS_USER_API=y
108#CONFIG_NET_STATISTICS_PERIODIC_OUTPUT=y
109#CONFIG_NET_BUF_POOL_USAGE=y
110#CONFIG_NET_DEBUG_NET_PKT_ALLOC=y
111
112# stack size for -O0
113#CONFIG_SHELL_STACK_SIZE=8192
114#CONFIG_NET_TCP_WORKQ_STACK_SIZE=4096
115#CONFIG_NET_TX_STACK_SIZE=4096
116#CONFIG_NET_RX_STACK_SIZE=4096
117#CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
118#CONFIG_ZPERF_WORK_Q_STACK_SIZE=4096
119#CONFIG_MAIN_STACK_SIZE=4096
120#CONFIG_IDLE_STACK_SIZE=2048
121
122# comment out for -O0
123CONFIG_CODE_DATA_RELOCATION_SRAM=y
124