mirror of https://github.com/ARMmbed/mbed-os.git
General Block Device Test: Expand Thread Stack
The addition of trace logging during greentea tests pushes the multithreaded read-write test beyond the limits of the stack it allocates for its threads. The increase of 128 bytes was chosen by experimentation.pull/11894/head
parent
649234e7e7
commit
a66b602af6
|
@ -64,7 +64,7 @@ using namespace utest::v1;
|
||||||
#define TEST_BLOCK_COUNT 10
|
#define TEST_BLOCK_COUNT 10
|
||||||
#define TEST_ERROR_MASK 16
|
#define TEST_ERROR_MASK 16
|
||||||
#define TEST_NUM_OF_THREADS 5
|
#define TEST_NUM_OF_THREADS 5
|
||||||
#define TEST_THREAD_STACK_SIZE 1024
|
#define TEST_THREAD_STACK_SIZE 1152
|
||||||
|
|
||||||
uint8_t num_of_sectors = TEST_NUM_OF_THREADS * TEST_BLOCK_COUNT;
|
uint8_t num_of_sectors = TEST_NUM_OF_THREADS * TEST_BLOCK_COUNT;
|
||||||
uint32_t sectors_addr[TEST_NUM_OF_THREADS * TEST_BLOCK_COUNT] = {0};
|
uint32_t sectors_addr[TEST_NUM_OF_THREADS * TEST_BLOCK_COUNT] = {0};
|
||||||
|
|
Loading…
Reference in New Issue