diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2016-12-18 18:27:46 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-12-20 18:05:07 -0800 |
commit | 47b7390858287ff18d246c097a79c4f2350668c2 (patch) | |
tree | f1619490e9995445828b6325851460807b4f4d56 /chip | |
parent | 5faf0984717dc18fdd28c2308e0217a2d817effc (diff) | |
download | chrome-ec-47b7390858287ff18d246c097a79c4f2350668c2.tar.gz |
g: increase idle task size
The idle task on g devices seems to be very close to its stack
capacity. Adding debug code, print statements, etc., causes occasional
stack overflow panics.
Let's increase the stack size to avoid these problems.
BRANCH=none
BUG=none
TEST=the stack overflow panics do not happen anymore when debug
processing on the idle task context is added.
Change-Id: Id259719c1b644e2743f3bb3dbf0d99d667662901
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/422078
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r-- | chip/g/config_chip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/g/config_chip.h b/chip/g/config_chip.h index ad5f95cf4d..531883c504 100644 --- a/chip/g/config_chip.h +++ b/chip/g/config_chip.h @@ -46,7 +46,7 @@ #define CONFIG_STACK_SIZE 1024 /* Idle task stack size */ -#define IDLE_TASK_STACK_SIZE 256 +#define IDLE_TASK_STACK_SIZE 512 /* Default task stack size */ #define TASK_STACK_SIZE 488 |