diff options
-rw-r--r-- | fw/fe310/platform.mk | 5 |
1 files changed, 5 insertions, 0 deletions
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 |