summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/mptask.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc3200/mptask.h')
-rw-r--r--cc3200/mptask.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/cc3200/mptask.h b/cc3200/mptask.h
index 6ac419b9d6..e0d2f0eec1 100644
--- a/cc3200/mptask.h
+++ b/cc3200/mptask.h
@@ -31,7 +31,13 @@
DEFINE CONSTANTS
******************************************************************************/
#define MICROPY_TASK_PRIORITY (2)
-#define MICROPY_TASK_STACK_SIZE ((6 * 1024) + 512)
+#define MICROPY_TASK_STACK_SIZE ((6 * 1024) + 512) // in bytes
+#define MICROPY_TASK_STACK_LEN (MICROPY_TASK_STACK_SIZE / sizeof(StackType_t))
+
+/******************************************************************************
+ EXPORTED DATA
+ ******************************************************************************/
+extern StackType_t mpTaskStack[];
/******************************************************************************
DECLARE PUBLIC FUNCTIONS