[simulator] Increase stack size in debug mode

This way we can try the tests in DEBUG mode
This commit is contained in:
Léa Saviot
2019-11-13 15:18:03 +01:00
committed by EmilieNumworks
parent 5c070355ad
commit cfdc6344bf

View File

@@ -14,7 +14,11 @@
#endif
constexpr int kHeapSize = 131072;
#if DEBUG
constexpr int kStackSize = 32768*2; // In DEBUG mode, we increase the stack to be able to pass the tests
#else
constexpr int kStackSize = 32768;
#endif
char heap[kHeapSize];
extern "C" {