Change the "thread" test main for Cortex-A

In pararell threads of "thread" test is a simple thread, but it seems that there is a difference in the stack used between Cortex-A and Cortex-M.
As a result of check, in Cortex-A, program aborts because of the lack of stack when PARALLEL_THREAD_STACK_SIZE is 384, workes properly when PARALLEL_THREAD_STACK_SIZE is 512 at least.
pull/5628/head
TomoYamanaka 2017-12-14 20:41:28 +09:00
parent a105f6f356
commit 4f4b4ddf36
1 changed files with 4 additions and 0 deletions

View File

@ -26,7 +26,11 @@
#endif
#define THREAD_STACK_SIZE 512
#if defined(__CORTEX_A9)
#define PARALLEL_THREAD_STACK_SIZE 512
#else
#define PARALLEL_THREAD_STACK_SIZE 384
#endif
#define CHILD_THREAD_STACK_SIZE 384
using namespace utest::v1;