diff --git a/tests/unittests/tests-tweetnacl/Makefile.include b/tests/unittests/tests-tweetnacl/Makefile.include
index 9c8efe2c4732a4b9498cbad502cd2e6534d857d8..792fd70a9b127c15b6bd1be85818486a76d7cf8e 100644
--- a/tests/unittests/tests-tweetnacl/Makefile.include
+++ b/tests/unittests/tests-tweetnacl/Makefile.include
@@ -1,4 +1,4 @@
 USEMODULE += random
 USEPKG += tweetnacl
 
-CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(2*THREAD_STACKSIZE_DEFAULT+THREAD_EXTRA_STACKSIZE_PRINTF\)
+CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(4*THREAD_STACKSIZE_DEFAULT+THREAD_EXTRA_STACKSIZE_PRINTF\)