diff options
author | martin yan <martin.yan@microchip.corp-partner.google.com> | 2021-06-07 13:35:06 -0400 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-10 21:39:27 +0000 |
commit | e1a4f619b08dd49b3784cbd4b64c4e60414ec8c0 (patch) | |
tree | ad9b98319a206ad2007e2b08fe82715007c02e65 | |
parent | 297a01b67e5405c80b12a83ac8c12511841918a0 (diff) | |
download | chrome-ec-e1a4f619b08dd49b3784cbd4b64c4e60414ec8c0.tar.gz |
mchp: Update stack size MACROs
add ULTRA_TASK_STACK_SIZE and TRENTA_TASK_STACK_SIZE for PD tasks
which requires larger stack size, and reduce other stack sizes which
were configured for development purpose
BRANCH=none
BUG=none
TEST=make buildall -j
Signed-off-by: martin yan <martin.yan@microchip.corp-partner.google.com>
Change-Id: Ib055253a9a8e45da46b81f8f1ea2e60a8f738484
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2945630
Reviewed-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r-- | chip/mchp/config_chip.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/chip/mchp/config_chip.h b/chip/mchp/config_chip.h index fb39ea7870..71b765894a 100644 --- a/chip/mchp/config_chip.h +++ b/chip/mchp/config_chip.h @@ -93,10 +93,11 @@ #define CONFIG_STACK_SIZE 2048 /* non-standard task stack sizes */ -/* temporarily expanded for debug */ -#define IDLE_TASK_STACK_SIZE 1024 /* 512 */ -#define LARGER_TASK_STACK_SIZE 1024 /* 640 */ -#define VENTI_TASK_STACK_SIZE 1024 /* 768 */ +#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 1024 /* 640 */ #define HOOKS_TASK_STACK_SIZE 1024 /* 640 */ @@ -111,7 +112,7 @@ #define PD_TASK_STACK_SIZE 2048 /* Default task stack size */ -#define TASK_STACK_SIZE 1024 /* 512 */ +#define TASK_STACK_SIZE 672 /************************************************************************/ /* Define our flash layout. */ |