From 4bd55ed300ec95c2f5e0f1977557d82e9f104061 Mon Sep 17 00:00:00 2001 From: David Garske Date: Tue, 16 Jul 2024 17:44:25 -0700 Subject: [PATCH] TSIP fixes for building source (RX65). --- arch.mk | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/arch.mk b/arch.mk index 4e7affaab..056c6891a 100644 --- a/arch.mk +++ b/arch.mk @@ -347,24 +347,38 @@ ifeq ($(ARCH),RENESAS_RX) endif endif else + CFLAGS+=-DRX_TSIP_SRC ifeq ($(TARGET),rx65n) - RX_TSIP_SRC_PATH?=$(RX_DRIVER_PATH)/r_tsip_rx/src/targets/rx65n + RX_TSIP_SRC_PATH?=$(RX_DRIVER_PATH)/r_tsip_rx/src/targets/rx65n endif ifeq ($(TARGET),rx72n) - RX_TSIP_SRC_PATH?=$(RX_DRIVER_PATH)/r_tsip_rx/src/targets/rx72m_rx72n_rx66n + RX_TSIP_SRC_PATH?=$(RX_DRIVER_PATH)/r_tsip_rx/src/targets/rx72m_rx72n_rx66n endif # Use RX_TSIP_SRC if building TSIP sources directly OBJS+=$(RX_TSIP_SRC_PATH)/r_tsip_rx.o \ + $(RX_TSIP_SRC_PATH)/r_tsip_rx_private.o \ $(RX_TSIP_SRC_PATH)/r_tsip_aes_rx.o \ $(RX_TSIP_SRC_PATH)/r_tsip_hash_rx.o \ $(RX_TSIP_SRC_PATH)/r_tsip_ecc_rx.o \ + $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_pfa.o \ + $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_pfb.o \ + $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_pf1.o \ + $(RX_TSIP_SRC_PATH)/ip/s_flash.o \ $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_p00.o \ $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_p01.o \ $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_p02.o \ $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_p23.o \ $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_p26.o \ + $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_p72.o \ $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_subprc01.o \ $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_subprc02.o \ + $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_function004.o \ + $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_function005.o \ + $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_function006.o \ + $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_function009.o \ + $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_function010.o \ + $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_function011.o \ + $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_function023.o \ $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_function050.o \ $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_function051.o \ $(RX_TSIP_SRC_PATH)/ip/r_tsip_rx_function052.o \ @@ -380,10 +394,10 @@ ifeq ($(ARCH),RENESAS_RX) $(RX_DRIVER_PATH)/r_bsp/mcu/all/r_bsp_interrupts.o \ $(RX_DRIVER_PATH)/r_bsp/mcu/all/r_rx_intrinsic_functions.o ifeq ($(TARGET),rx65n) - #OBJS+=$(RX_DRIVER_PATH)/r_bsp/mcu/rx65n/mcu_interrupts.o + OBJS+=$(RX_DRIVER_PATH)/r_bsp/mcu/rx65n/mcu_interrupts.o endif ifeq ($(TARGET),rx72n) - #OBJS+=$(RX_DRIVER_PATH)/r_bsp/mcu/rx72n/mcu_interrupts.o + OBJS+=$(RX_DRIVER_PATH)/r_bsp/mcu/rx72n/mcu_interrupts.o endif CFLAGS+=-Ihal -I./lib/wolfssl \