Merge pull request #6518 from marcuschangarm/fix-nvstore-stack

Inrease thread stack size to 1024 bytes in NVStore test for NRF52
pull/6157/merge
Martin Kojtal 2018-04-04 09:04:53 +02:00 committed by GitHub
commit 1529ad62c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -40,9 +40,14 @@ static const size_t basic_func_max_data_size = 128;
static const int thr_test_num_buffs = 5;
static const int thr_test_num_secs = 5;
static const int thr_test_max_data_size = 32;
static const int thr_test_stack_size = 768;
static const int thr_test_num_threads = 3;
#ifdef TARGET_NRF52
static const int thr_test_stack_size = 1024;
#else
static const int thr_test_stack_size = 768;
#endif
typedef struct {
uint8_t *buffs[max_test_keys][thr_test_num_buffs];
uint16_t sizes[max_test_keys][thr_test_num_buffs];