Skip to content

Commit

Permalink
TSIP fixes for building source (RX65).
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarske committed Jul 17, 2024
1 parent a15f34e commit 4bd55ed
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions arch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit 4bd55ed

Please sign in to comment.