diff options
author | Sam Hurst <shurst@google.com> | 2020-07-02 21:27:00 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-07-07 03:08:28 +0000 |
commit | 221510d14a9b9dfeda7e3ede032273f1b5186a72 (patch) | |
tree | 46042852d29289777d0c31835cfe8fb1ed912f9c /chip | |
parent | cc860070deeacc8ba9eccf1a3d42df7f1d8e07f9 (diff) | |
download | chrome-ec-221510d14a9b9dfeda7e3ede032273f1b5186a72.tar.gz |
EC: Add additional stack sizes
Add two additional stack sizes for tasks that need more
stack space.
BRANCH=none
BUG=b:155813111
TEST=make -j buildall
Manual: Changed waddledee's TypeC ports0 and 1 to
ULTRA_STACK_SIZE and TRENTA_STACK_SIZE and
make -j buildall without errors.
Signed-off-by: Sam Hurst <shurst@google.com>
Change-Id: I927d5b978c705f49d1b3a85a09c4020d7fd9ee84
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2280486
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r-- | chip/it83xx/config_chip.h | 2 | ||||
-rw-r--r-- | chip/mt8192_scp/config_chip.h | 2 | ||||
-rw-r--r-- | chip/npcx/config_chip.h | 2 | ||||
-rw-r--r-- | chip/stm32/config_chip.h | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/chip/it83xx/config_chip.h b/chip/it83xx/config_chip.h index 1eb0c0f05a..2cc683ba20 100644 --- a/chip/it83xx/config_chip.h +++ b/chip/it83xx/config_chip.h @@ -42,6 +42,8 @@ #define IDLE_TASK_STACK_SIZE (512 + CHIP_EXTRA_STACK_SPACE) #define LARGER_TASK_STACK_SIZE (768 + CHIP_EXTRA_STACK_SPACE) #define VENTI_TASK_STACK_SIZE (896 + CHIP_EXTRA_STACK_SPACE) +#define ULTRA_TASK_STACK_SIZE (1056 + CHIP_EXTRA_STACK_SPACE) +#define TRENTA_TASK_STACK_SIZE (1184 + CHIP_EXTRA_STACK_SPACE) /* Default task stack size */ #define TASK_STACK_SIZE (512 + CHIP_EXTRA_STACK_SPACE) diff --git a/chip/mt8192_scp/config_chip.h b/chip/mt8192_scp/config_chip.h index 8ba8a428c6..a17c33df01 100644 --- a/chip/mt8192_scp/config_chip.h +++ b/chip/mt8192_scp/config_chip.h @@ -41,6 +41,8 @@ #define TASK_STACK_SIZE 488 #define LARGER_TASK_STACK_SIZE 640 #define VENTI_TASK_STACK_SIZE 768 +#define ULTRA_TASK_STACK_SIZE 1056 +#define TRENTA_TASK_STACK_SIZE 1184 /* TODO: need to confirm, placeholder */ #define GPIO_PIN(num) ((num) / 32), ((num) % 32) diff --git a/chip/npcx/config_chip.h b/chip/npcx/config_chip.h index 9b7e9bd8eb..f69c15e685 100644 --- a/chip/npcx/config_chip.h +++ b/chip/npcx/config_chip.h @@ -51,6 +51,8 @@ #define IDLE_TASK_STACK_SIZE 672 #define LARGER_TASK_STACK_SIZE 800 #define VENTI_TASK_STACK_SIZE 928 +#define ULTRA_TASK_STACK_SIZE 1056 +#define TRENTA_TASK_STACK_SIZE 1184 #define CHARGER_TASK_STACK_SIZE 800 #define HOOKS_TASK_STACK_SIZE 800 diff --git a/chip/stm32/config_chip.h b/chip/stm32/config_chip.h index a2905ce946..441e261420 100644 --- a/chip/stm32/config_chip.h +++ b/chip/stm32/config_chip.h @@ -104,6 +104,8 @@ /* Even bigger */ #define VENTI_TASK_STACK_SIZE 768 +#define ULTRA_TASK_STACK_SIZE 1056 +#define TRENTA_TASK_STACK_SIZE 1184 /* * Console stack size. For test builds, the console is used to interact with |