event queue test: fix out of memory problem for NUCLEO_F070RB

pull/5370/head
Maciej Bocianski 2017-10-24 13:10:02 +02:00
parent 9c1fd48529
commit f28aef4b01
1 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,10 @@
using namespace utest::v1;
#define TEST_EQUEUE_SIZE 1024
// TEST_EQUEUE_SIZE was reduced below 1024B to fit this test to devices with small RAM (RAM <= 16kB)
// additionally TEST_EQUEUE_SIZE was expressed in EVENTS_EVENT_SIZE to increase readability
// (for more details about EVENTS_EVENT_SIZE see EventQueue constructor)
#define TEST_EQUEUE_SIZE (18*EVENTS_EVENT_SIZE)
// flag for called
volatile bool touched = false;