summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 227feb6)
raw | patch | inline | side by side (parent: 227feb6)
author | Hao Zhang <hzhang@ti.com> | |
Wed, 9 Oct 2019 14:18:25 +0000 (10:18 -0400) | ||
committer | Hao Zhang <hzhang@ti.com> | |
Wed, 9 Oct 2019 14:19:13 +0000 (10:19 -0400) |
Increase the task stack size to fix for C7x core to fix the task
creation problem
Signed-off-by: Hao Zhang <hzhang@ti.com>
creation problem
Signed-off-by: Hao Zhang <hzhang@ti.com>
test/src/main_uart_test.c | patch | blob | history |
index 2552f9848325e7079c10d62852c58c8a990828f6..c26d9b43ed86b1f8eb12c5f651599e3f5b32e8c4 100755 (executable)
Task_Params_init(&writeTaskParams);
writeTaskParams.arg0 = (UArg)uart;
writeTaskParams.arg1 = (UArg)dmaMode;
+#if defined (__C7100__)
+ writeTaskParams.stackSize = 1024*16;
+#else
writeTaskParams.stackSize = 1024*8;
+#endif
/*
* Set the write task priority to the default priority (1)
* lower than the read task priority (2)