2023-10-19 14:23:35 +02:00
|
|
|
BOARD ?= nrf52840dk
|
|
|
|
|
|
|
|
include ../Makefile.sys_common
|
|
|
|
|
|
|
|
USEMODULE += ztimer
|
|
|
|
USEMODULE += ztimer_usec
|
|
|
|
|
|
|
|
USEMODULE += psa_crypto
|
|
|
|
|
|
|
|
USEMODULE += psa_secure_element
|
|
|
|
USEMODULE += psa_secure_element_ateccx08a
|
|
|
|
USEMODULE += psa_secure_element_ateccx08a_hmac_sha256
|
|
|
|
|
2024-03-26 10:45:16 +01:00
|
|
|
ifneq (1, $(SHOULD_RUN_KCONFIG))
|
2023-10-19 14:23:35 +02:00
|
|
|
CFLAGS += -DCONFIG_PSA_PROTECTED_KEY_COUNT=1
|
|
|
|
endif
|
|
|
|
|
|
|
|
CFLAGS += -DSECURE_ELEMENT
|
|
|
|
CFLAGS += -DCUSTOM_ATCA_PARAMS
|
|
|
|
|
|
|
|
INCLUDES += -I$(APPDIR) # Application specific (not needed by PSA)
|
|
|
|
|
|
|
|
SHOULD_RUN_KCONFIG :=
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|