Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ VPATH += $(PLATFORM_DIR) target
ENABLE_DEBUG ?= 0
ENABLE_CORTEXAR ?= 0
ENABLE_RISCV ?= 0
ENABLE_RENESAS ?= 0

SYS = $(shell $(CC) -dumpmachine)

Expand Down Expand Up @@ -87,7 +88,6 @@ SRC = \
stm32l0.c \
stm32l4.c \
stm32g0.c \
renesas_ra.c \
target.c \
target_flash.c \
target_probe.c \
Expand All @@ -113,6 +113,13 @@ SRC += \
riscv_jtag_dtm.c
endif

ifeq ($(ENABLE_RENESAS), 1)
CFLAGS += -DENABLE_RENESAS
SRC += \
renesas_ra.c \
renesas_mf4_flash.c
endif

ifneq ($(PC_HOSTED),1)
# Output memory usage information
LDFLAGS += -Wl,--print-memory-usage
Expand Down
Loading