mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #6518 from marcuschangarm/fix-nvstore-stack
Inrease thread stack size to 1024 bytes in NVStore test for NRF52pull/6157/merge
commit
1529ad62c2
|
|
@ -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_buffs = 5;
|
||||||
static const int thr_test_num_secs = 5;
|
static const int thr_test_num_secs = 5;
|
||||||
static const int thr_test_max_data_size = 32;
|
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;
|
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 {
|
typedef struct {
|
||||||
uint8_t *buffs[max_test_keys][thr_test_num_buffs];
|
uint8_t *buffs[max_test_keys][thr_test_num_buffs];
|
||||||
uint16_t sizes[max_test_keys][thr_test_num_buffs];
|
uint16_t sizes[max_test_keys][thr_test_num_buffs];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue