diff options
author | Aseda Aboagye <aaboagye@google.com> | 2020-12-11 20:25:29 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-14 19:52:13 +0000 |
commit | a23ef3d074335f2b6953194671f966117fd1fe60 (patch) | |
tree | f8774c2eb03de8f4f938f8f58bd352e3dd52176e /board | |
parent | ca355523ad84bdae71942a1043848e6bb1faa286 (diff) | |
download | chrome-ec-a23ef3d074335f2b6953194671f966117fd1fe60.tar.gz |
drawcia: Increase task stack sizes
After running the analyzestack target, I noticed that some of
drawcia's stack usage may exceed the currently defined sizes. This
commit simply increases those that were under the usage shown by the
tool.
BUG=None
BRANCH=dedede
TEST=Build and flash drawlat, verify that new task stacks sizes are
present and that there is plenty of free RAM left.
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: I813ffe2463f9bece5047a9a633db22f2e1c61fa4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2587794
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/drawcia/ec.tasklist | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/board/drawcia/ec.tasklist b/board/drawcia/ec.tasklist index 2b8c14e25d..2edf48ee05 100644 --- a/board/drawcia/ec.tasklist +++ b/board/drawcia/ec.tasklist @@ -12,13 +12,13 @@ TASK_ALWAYS(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \ TASK_ALWAYS(USB_CHG_P0, usb_charger_task, 0, LARGER_TASK_STACK_SIZE) \ TASK_ALWAYS(USB_CHG_P1, usb_charger_task, 1, LARGER_TASK_STACK_SIZE) \ - TASK_ALWAYS(CHARGER, charger_task, NULL, VENTI_TASK_STACK_SIZE) \ + TASK_ALWAYS(CHARGER, charger_task, NULL, TRENTA_TASK_STACK_SIZE) \ TASK_NOTEST(CHIPSET, chipset_task, NULL, VENTI_TASK_STACK_SIZE) \ - TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, TASK_STACK_SIZE) \ + TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_ALWAYS(HOSTCMD, host_command_task, NULL, VENTI_TASK_STACK_SIZE) \ TASK_ALWAYS(CONSOLE, console_task, NULL, VENTI_TASK_STACK_SIZE) \ - TASK_ALWAYS(POWERBTN, power_button_task, NULL, VENTI_TASK_STACK_SIZE) \ - TASK_NOTEST(KEYSCAN, keyboard_scan_task, NULL, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS(POWERBTN, power_button_task, NULL, ULTRA_TASK_STACK_SIZE) \ + TASK_NOTEST(KEYSCAN, keyboard_scan_task, NULL, ULTRA_TASK_STACK_SIZE) \ TASK_ALWAYS(PD_C0, pd_task, NULL, ULTRA_TASK_STACK_SIZE) \ TASK_ALWAYS(PD_C1, pd_task, NULL, ULTRA_TASK_STACK_SIZE) \ TASK_ALWAYS(PD_INT_C1, pd_interrupt_handler_task, 1, ULTRA_TASK_STACK_SIZE) |