summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2020-12-11 20:25:29 -0800
committerCommit Bot <commit-bot@chromium.org>2020-12-14 20:28:27 +0000
commit86ebd89b1abd6666bf8a1a9986391281f350eef4 (patch)
treef8774c2eb03de8f4f938f8f58bd352e3dd52176e
parent6d14464b6e37cc32db0b967f36e38773f32c5e2b (diff)
downloadchrome-ec-86ebd89b1abd6666bf8a1a9986391281f350eef4.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> Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2590865
-rw-r--r--board/drawcia/ec.tasklist8
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)