From 2fbf684fc5814c4793e8a9a4a067a3b8b0205ec1 Mon Sep 17 00:00:00 2001
From: Koen Zandberg <koen@bergzand.net>
Date: Tue, 3 Jul 2018 17:36:49 +0200
Subject: [PATCH] tests/monocypher: Increase stack space

As should have been done in the initial commit. Stack space set to the
amount described in the doc
---
 tests/pkg_monocypher/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/pkg_monocypher/Makefile b/tests/pkg_monocypher/Makefile
index 3e1118065c..7f7416ca29 100644
--- a/tests/pkg_monocypher/Makefile
+++ b/tests/pkg_monocypher/Makefile
@@ -5,6 +5,11 @@ BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-uno chronos \
         jiminy-mega256rfr2 mega-xplained msb-430 msb-430h telosb \
         waspmote-pro wsn430-v1_3b wsn430-v1_4 z1
 
+BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6
+
+# required for Monocypher (as described in the package documentation)
+CFLAGS += "-DTHREAD_STACKSIZE_MAIN=(3072 + THREAD_STACKSIZE_DEFAULT + THREAD_EXTRA_STACKSIZE_PRINTF)"
+
 USEMODULE += embunit
 USEMODULE += random
 USEPKG += monocypher
-- 
GitLab