From a66b602af6c167b820ed01cbaae9b4d58f05f6dd Mon Sep 17 00:00:00 2001 From: Kyle Kearney Date: Tue, 12 Nov 2019 15:41:12 -0800 Subject: [PATCH] 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. --- .../storage/TESTS/blockdevice/general_block_device/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/storage/TESTS/blockdevice/general_block_device/main.cpp b/features/storage/TESTS/blockdevice/general_block_device/main.cpp index cfe324780b..edf0cb5718 100644 --- a/features/storage/TESTS/blockdevice/general_block_device/main.cpp +++ b/features/storage/TESTS/blockdevice/general_block_device/main.cpp @@ -64,7 +64,7 @@ using namespace utest::v1; #define TEST_BLOCK_COUNT 10 #define TEST_ERROR_MASK 16 #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; uint32_t sectors_addr[TEST_NUM_OF_THREADS * TEST_BLOCK_COUNT] = {0};