2020-06-13 20:59:41 +02:00
|
|
|
PKG_SOURCE_DIR ?= $(PKGDIRBASE)/cryptoauthlib
|
|
|
|
PKG_TESTINCLDIR = $(PKG_SOURCE_DIR)/test
|
2019-12-18 20:18:50 +01:00
|
|
|
|
2020-06-13 20:59:41 +02:00
|
|
|
INCLUDES += -I$(PKG_SOURCE_DIR)
|
|
|
|
INCLUDES += -I$(PKG_SOURCE_DIR)/lib
|
|
|
|
INCLUDES += -I$(PKG_SOURCE_DIR)/app
|
2022-05-25 15:04:32 +02:00
|
|
|
INCLUDES += -I$(PKG_SOURCE_DIR)/lib/calib
|
2019-12-18 20:18:50 +01:00
|
|
|
INCLUDES += -I$(RIOTPKG)/cryptoauthlib/include
|
|
|
|
|
2023-08-29 19:19:42 +02:00
|
|
|
ifneq (,$(filter psa_crypto, $(USEMODULE)))
|
|
|
|
DIRS += $(RIOTPKG)/cryptoauthlib/psa_atca_driver
|
|
|
|
INCLUDES += -I$(RIOTBASE)/sys/psa_crypto/include
|
|
|
|
endif
|
|
|
|
|
2019-12-18 20:18:50 +01:00
|
|
|
DIRS += $(RIOTPKG)/cryptoauthlib/contrib
|
2020-08-10 14:45:39 +02:00
|
|
|
ARCHIVES += $(BINDIR)/cryptoauthlib.a
|
2019-12-18 20:18:50 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter cryptoauthlib_test,$(USEMODULE)))
|
|
|
|
INCLUDES += -I$(PKG_TESTINCLDIR)
|
|
|
|
INCLUDES += -I$(PKG_TESTINCLDIR)/jwt
|
|
|
|
INCLUDES += -I$(PKG_TESTINCLDIR)/tng
|
|
|
|
INCLUDES += -I$(PKG_TESTINCLDIR)/atcacert
|
2022-05-25 15:04:32 +02:00
|
|
|
INCLUDES += -I$(PKG_TESTINCLDIR)/api_atcab
|
|
|
|
INCLUDES += -I$(PKG_TESTINCLDIR)/api_calib
|
|
|
|
INCLUDES += -I$(PKG_TESTINCLDIR)/api_crypto
|
|
|
|
INCLUDES += -I$(PKG_TESTINCLDIR)/vectors
|
|
|
|
INCLUDES += -I$(PKG_SOURCE_DIR)/third_party/unity
|
2019-12-18 20:18:50 +01:00
|
|
|
endif
|
2023-08-29 19:19:42 +02:00
|
|
|
|
2023-10-19 14:23:35 +02:00
|
|
|
PSEUDOMODULES += psa_secure_element_ateccx08a
|
|
|
|
PSEUDOMODULES += psa_secure_element_ateccx08a_cipher_aes_128
|
|
|
|
PSEUDOMODULES += psa_secure_element_ateccx08a_ecc_p256
|
|
|
|
PSEUDOMODULES += psa_secure_element_ateccx08a_hmac_sha256
|