Skip to content

Commit 1529ad6

Browse files
authored
Merge pull request #6518 from marcuschangarm/fix-nvstore-stack
Inrease thread stack size to 1024 bytes in NVStore test for NRF52
2 parents 4a5ac14 + 791e42e commit 1529ad6

File tree

1 file changed

+6
-1
lines changed
  • features/nvstore/TESTS/nvstore/functionality

1 file changed

+6
-1
lines changed

features/nvstore/TESTS/nvstore/functionality/main.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,14 @@ static const size_t basic_func_max_data_size = 128;
4040
static const int thr_test_num_buffs = 5;
4141
static const int thr_test_num_secs = 5;
4242
static const int thr_test_max_data_size = 32;
43-
static const int thr_test_stack_size = 768;
4443
static const int thr_test_num_threads = 3;
4544

45+
#ifdef TARGET_NRF52
46+
static const int thr_test_stack_size = 1024;
47+
#else
48+
static const int thr_test_stack_size = 768;
49+
#endif
50+
4651
typedef struct {
4752
uint8_t *buffs[max_test_keys][thr_test_num_buffs];
4853
uint16_t sizes[max_test_keys][thr_test_num_buffs];

0 commit comments

Comments
 (0)