@@ -1214,9 +1214,11 @@ ifeq ($(TARGET),lpc55s69)
12141214 -I$(MCUXPRESSO_DRIVERS ) /drivers \
12151215 -I$(MCUXPRESSO_DRIVERS ) /../periph \
12161216 -I$(MCUXPRESSO ) /drivers \
1217+ -I$(MCUXPRESSO ) /drivers/casper \
12171218 -I$(MCUXPRESSO ) /drivers/common \
12181219 -I$(MCUXPRESSO ) /drivers/flexcomm \
12191220 -I$(MCUXPRESSO ) /drivers/flexcomm/usart \
1221+ -I$(MCUXPRESSO ) /drivers/hashcrypt \
12201222 -I$(MCUXPRESSO ) /drivers/iap1 \
12211223 -I$(MCUXPRESSO ) /drivers/lpc_gpio \
12221224 -I$(MCUXPRESSO ) /drivers/lpc_iocon \
@@ -1235,15 +1237,23 @@ ifeq ($(TARGET),lpc55s69)
12351237 $(MCUXPRESSO ) /drivers/common/fsl_common_arm.o \
12361238 $(MCUXPRESSO ) /drivers/iap1/fsl_iap.o \
12371239 $(MCUXPRESSO ) /drivers/lpc_gpio/fsl_gpio.o
1238- ifeq ($(WOLFCRYPT_TZ),1)
1239- OBJS+ =$(MCUXPRESSO ) /drivers/rng_1/fsl_rng.o
1240- endif
12411240 ifeq ($(DEBUG_UART),1)
12421241 OBJS+ =\
12431242 $(MCUXPRESSO_DRIVERS ) /drivers/fsl_reset.o \
12441243 $(MCUXPRESSO ) /drivers/flexcomm/fsl_flexcomm.o \
12451244 $(MCUXPRESSO ) /drivers/flexcomm/usart/fsl_usart.o
12461245 endif
1246+ ifeq ($(PKA),1)
1247+ CFLAGS+ =-DWOLFSSL_NXP_CASPER -DWOLFSSL_NXP_HASHCRYPT
1248+ OBJS+ =\
1249+ $(MCUXPRESSO ) /drivers/casper/fsl_casper.o \
1250+ $(MCUXPRESSO ) /drivers/hashcrypt/fsl_hashcrypt.o \
1251+ $(WOLFBOOT_LIB_WOLFSSL ) /wolfcrypt/src/port/nxp/casper_port.o \
1252+ $(WOLFBOOT_LIB_WOLFSSL ) /wolfcrypt/src/port/nxp/hashcrypt_port.o
1253+ endif
1254+ ifeq ($(WOLFCRYPT_TZ),1)
1255+ OBJS+ =$(MCUXPRESSO ) /drivers/rng_1/fsl_rng.o
1256+ endif
12471257endif
12481258
12491259ifeq ($(TARGET ) ,psoc6)
0 commit comments