Files
NJU_PA/abstract-machine/scripts/riscv32e-npc.mk
zzy c98a19c586 NJU-ProjectN/abstract-machine ics2023 initialized
NJU-ProjectN/abstract-machine c383159000a2975dabde43f221deae3d54bc48b0 am,npc: add uart config function
2024-08-16 20:17:51 +08:00

11 lines
399 B
Makefile

include $(AM_HOME)/scripts/isa/riscv.mk
include $(AM_HOME)/scripts/platform/npc.mk
COMMON_CFLAGS += -march=rv32e_zicsr -mabi=ilp32e # overwrite
LDFLAGS += -melf32lriscv # overwrite
AM_SRCS += riscv/npc/libgcc/div.S \
riscv/npc/libgcc/muldi3.S \
riscv/npc/libgcc/multi3.c \
riscv/npc/libgcc/ashldi3.c \
riscv/npc/libgcc/unused.c