Skip to content

Commit

Permalink
tests/sys/psa_crypto_ecdsa: fix stacksize determination
Browse files Browse the repository at this point in the history
  • Loading branch information
mguetschow committed Jun 24, 2024
1 parent 0ebb657 commit 050e887
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/sys/psa_crypto_ecdsa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ USEMODULE += psa_asymmetric_ecc_p256r1
CFLAGS += -DCONFIG_PSA_ASYMMETRIC_KEYPAIR_COUNT=1
CFLAGS += -DCONFIG_PSA_SINGLE_KEY_COUNT=1

include $(RIOTBASE)/Makefile.include

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

0 comments on commit 050e887

Please sign in to comment.