1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/sys/psa_crypto_ecdsa: Make stacksize backend dependent

This commit is contained in:
Lena Boeckmann 2024-05-13 18:30:36 +02:00
parent a958332f14
commit 545a4dd5e4
2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -6,9 +6,7 @@ BOARD_INSUFFICIENT_MEMORY := \
atmega328p \
atmega328p-xplained-mini \
atmega8 \
nucleo-f031k6 \
nucleo-l011k4 \
samd10-xmini \
stk3200 \
stm32f030f4-demo \
#