blob: b8ac1acbbba7f92e009cd24b155c391405db5b75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
##############################################################################
if SOC_SERIES_NPCX7
# Zephyr internal stack sizes
config IDLE_STACK_SIZE
default 192
config ISR_STACK_SIZE
default 1024
config SHELL_STACK_SIZE
default 1536
config SYSTEM_WORKQUEUE_STACK_SIZE
default 704
# Chromium EC stack sizes
config TASK_CHARGER_STACK_SIZE
default 704
config TASK_CHG_RAMP_STACK_SIZE
default 608
config TASK_CHIPSET_STACK_SIZE
default 1056 if AP_x86
default 684 if AP_ARM
default 1200 # Safe default
config TASK_HOSTCMD_STACK_SIZE
default 672
config TASK_KEYPROTO_STACK_SIZE
default 640
config TASK_KEYSCAN_STACK_SIZE
default 640
config TASK_MOTIONSENSE_STACK_SIZE
default 800
config TASK_POWERBTN_STACK_SIZE
default 672
config TASK_PD_STACK_SIZE
default 1184
config TASK_PD_INT_STACK_SIZE
default 736
config TASK_USB_CHG_STACK_SIZE
default 544
endif # SOC_SERIES_NPCX7
##############################################################################
##############################################################################
if SOC_SERIES_NPCX9
# Zephyr internal stack sizes
config IDLE_STACK_SIZE
default 192
config MAIN_STACK_SIZE
default 1200
config ISR_STACK_SIZE
default 1024
config SHELL_STACK_SIZE
default 1536
config SYSTEM_WORKQUEUE_STACK_SIZE
default 1024
# Chromium EC stack sizes
config TASK_CHARGER_STACK_SIZE
default 1056
config TASK_CHIPSET_STACK_SIZE
default 1056 if AP_x86
default 1056 if AP_ARM
default 1200 # Safe default
config TASK_HOSTCMD_STACK_SIZE
default 800
config TASK_KEYSCAN_STACK_SIZE
default 700
config TASK_MOTIONSENSE_STACK_SIZE
default 812
config TASK_PD_STACK_SIZE
default 1184
config TASK_PD_INT_STACK_SIZE
default 736
config TASK_USB_CHG_STACK_SIZE
default 800
endif # SOC_SERIES_NPCX9
##############################################################################
##############################################################################
if SOC_SERIES_RISCV32_IT8XXX2
# Zephyr internal stack sizes
config SHELL_STACK_SIZE
default 1560
endif # SOC_SERIES_RISCV32_IT8XXX2
##############################################################################
|