Skip to content

Commit

Permalink
tests/sys/psa_crypto_ecdsa: Make stacksize backend dependent
Browse files Browse the repository at this point in the history
  • Loading branch information
Einhornhool committed May 13, 2024
1 parent a958332 commit 545a4dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 7 additions & 1 deletion tests/sys/psa_crypto_ecdsa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions tests/sys/psa_crypto_ecdsa/Makefile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ BOARD_INSUFFICIENT_MEMORY := \
atmega328p \
atmega328p-xplained-mini \
atmega8 \
nucleo-f031k6 \
nucleo-l011k4 \
samd10-xmini \
stk3200 \
stm32f030f4-demo \
#

0 comments on commit 545a4dd

Please sign in to comment.