summaryrefslogtreecommitdiff
path: root/chip/host/config_chip.h
diff options
context:
space:
mode:
authorChe-yu Wu <cheyuw@google.com>2017-08-08 08:06:59 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-08-08 04:01:44 -0700
commit02aa4ee1e5d73d65b9aae5915e284a2ff6ceadc6 (patch)
tree41941103f66cc5e366be6e0f8715ab603ac6a256 /chip/host/config_chip.h
parent640e0d15763fb356cf42281b0e285f06e2c4a03f (diff)
downloadchrome-ec-02aa4ee1e5d73d65b9aae5915e284a2ff6ceadc6.tar.gz
chip/host/config_chip: Fix TASK_STACK_SIZE of the host board.
Define TASK_STACK_SIZE as standard value 512 for the host board. BUG=chromium:752923 BRANCH=none TEST=make runtests Change-Id: I3e5120847e9b14fbf96d00c428b2db9d59d38fe2 Signed-off-by: Che-yu Wu <cheyuw@google.com> Reviewed-on: https://chromium-review.googlesource.com/604850 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'chip/host/config_chip.h')
-rw-r--r--chip/host/config_chip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chip/host/config_chip.h b/chip/host/config_chip.h
index 37ea9a9f44..dceb685ed5 100644
--- a/chip/host/config_chip.h
+++ b/chip/host/config_chip.h
@@ -32,6 +32,9 @@ extern char __host_flash[CONFIG_FLASH_SIZE];
/* Compute the rest of the flash params from these */
#include "config_std_internal_flash.h"
+/* Default task stack size */
+#define TASK_STACK_SIZE 512
+
/* Interval between HOOK_TICK notifications */
#define HOOK_TICK_INTERVAL_MS 250
#define HOOK_TICK_INTERVAL (HOOK_TICK_INTERVAL_MS * MSEC)