From 6594778ab99958c3efb7325e4203bb4e593fc1a6 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Mon, 31 Jan 2022 21:52:23 +0100 Subject: fixed build --- fw/fe310/platform.mk | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 fw/fe310/platform.mk (limited to 'fw/fe310') diff --git a/fw/fe310/platform.mk b/fw/fe310/platform.mk new file mode 100644 index 0000000..ab45367 --- /dev/null +++ b/fw/fe310/platform.mk @@ -0,0 +1,5 @@ +CC = $(RISCV_HOME)/bin/riscv64-unknown-elf-gcc +AR = $(RISCV_HOME)/bin/riscv64-unknown-elf-ar +RANLIB = $(RISCV_HOME)/bin/riscv64-unknown-elf-ranlib + +CFLAGS = -march=rv32imac -mabi=ilp32 -mcmodel=medlow -ffunction-sections -fdata-sections --specs=nano.specs -O2 -- cgit v1.2.3