mirror of https://github.com/ARMmbed/mbed-os.git
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/5767/head
parent
3ca6dbf864
commit
6852fffd49
|
@ -26,7 +26,11 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define THREAD_STACK_SIZE 512
|
#define THREAD_STACK_SIZE 512
|
||||||
|
#if defined(__CORTEX_A9)
|
||||||
|
#define PARALLEL_THREAD_STACK_SIZE 512
|
||||||
|
#else
|
||||||
#define PARALLEL_THREAD_STACK_SIZE 384
|
#define PARALLEL_THREAD_STACK_SIZE 384
|
||||||
|
#endif
|
||||||
#define CHILD_THREAD_STACK_SIZE 384
|
#define CHILD_THREAD_STACK_SIZE 384
|
||||||
|
|
||||||
using namespace utest::v1;
|
using namespace utest::v1;
|
||||||
|
|
Loading…
Reference in New Issue