diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2015-09-20 13:58:56 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-09-20 23:33:18 -0700 |
commit | dbfb5c1deeb6ee54663baaee6052849b8cba5bd5 (patch) | |
tree | 0f16bf2cf7010678554bd3b500c33c1dd5af81bd /chip/stm32/config_chip.h | |
parent | 56670f5d8dfe784f9db8ad102fa2b282c50a0a12 (diff) | |
download | chrome-ec-dbfb5c1deeb6ee54663baaee6052849b8cba5bd5.tar.gz |
stm32: Define a larger task size for HOST_CMD
The current largest task size is not big enough,
we get stack overflow after one or several calibration requests.
BRANCH=smaug
BUG=chrome-os-partner:45570
TEST=After the change a loop of calibrate does not crash the EC.
Change-Id: I9681a890eddf274ab496e8ca6249c7ebca5edab5
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/301215
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'chip/stm32/config_chip.h')
-rw-r--r-- | chip/stm32/config_chip.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chip/stm32/config_chip.h b/chip/stm32/config_chip.h index b2fdecdc2f..3668d1b7e5 100644 --- a/chip/stm32/config_chip.h +++ b/chip/stm32/config_chip.h @@ -57,14 +57,17 @@ /* Idle task stack size */ #define IDLE_TASK_STACK_SIZE 256 +/* Smaller task stack size */ +#define SMALLER_TASK_STACK_SIZE 384 + /* Default task stack size */ #define TASK_STACK_SIZE 488 /* Larger task stack size, for hook task */ #define LARGER_TASK_STACK_SIZE 640 -/* Smaller task stack size */ -#define SMALLER_TASK_STACK_SIZE 384 +/* Even bigger */ +#define VENTI_TASK_STACK_SIZE 768 /* Interval between HOOK_TICK notifications */ #define HOOK_TICK_INTERVAL_MS 500 |