diff options
author | Uros Majstorovic <majstor@majstor.org> | 2022-01-31 21:52:23 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2022-01-31 21:52:23 +0100 |
commit | 6594778ab99958c3efb7325e4203bb4e593fc1a6 (patch) | |
tree | a3c08ea0bc9da7dfbc304625940a454b26f5a443 | |
parent | ce5b6bc9faf38c7feaf5053424176d39e91c7323 (diff) |
fixed build
-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 |