diff --git a/tests/sys/psa_crypto_ecdsa/Makefile b/tests/sys/psa_crypto_ecdsa/Makefile index 0eb1e488a4bc..2f00387a9131 100644 --- a/tests/sys/psa_crypto_ecdsa/Makefile +++ b/tests/sys/psa_crypto_ecdsa/Makefile @@ -13,6 +13,12 @@ USEMODULE += psa_asymmetric_ecc_p256r1 CFLAGS += -DCONFIG_PSA_ASYMMETRIC_KEYPAIR_COUNT=1 CFLAGS += -DCONFIG_PSA_SINGLE_KEY_COUNT=1 -CFLAGS += -DTHREAD_STACKSIZE_MAIN=7000 +ifneq (,$(filter psa_asymmetric_ecc_p256r1_backend_microecc,$(USEMODULE))) + CFLAGS += -DTHREAD_STACKSIZE_MAIN=4096 +endif + +ifneq (,$(filter psa_asymmetric_ecc_p256r1_backend_periph,$(USEMODULE))) + CFLAGS += -DTHREAD_STACKSIZE_MAIN=7000 +endif include $(RIOTBASE)/Makefile.include diff --git a/tests/sys/psa_crypto_ecdsa/Makefile.ci b/tests/sys/psa_crypto_ecdsa/Makefile.ci index 6a2fca3cafc6..04da97e287d4 100644 --- a/tests/sys/psa_crypto_ecdsa/Makefile.ci +++ b/tests/sys/psa_crypto_ecdsa/Makefile.ci @@ -6,9 +6,7 @@ BOARD_INSUFFICIENT_MEMORY := \ atmega328p \ atmega328p-xplained-mini \ atmega8 \ - nucleo-f031k6 \ nucleo-l011k4 \ samd10-xmini \ - stk3200 \ stm32f030f4-demo \ #