summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-09-04 18:10:33 +0200
committerUros Majstorovic <majstor@majstor.org>2022-09-04 18:10:33 +0200
commit7f8e473ac12191ca4449de96033e2acda07dc4c4 (patch)
tree97b8bc7c41893f0fdb2532b783b21ad3d2f1f69d
parentd270025746308f755c59d295db46875eba5efe08 (diff)
support for jlink
-rw-r--r--fw/fe310/platform.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/fw/fe310/platform.mk b/fw/fe310/platform.mk
index ab45367..1222957 100644
--- a/fw/fe310/platform.mk
+++ b/fw/fe310/platform.mk
@@ -1,5 +1,6 @@
-CC = $(RISCV_HOME)/bin/riscv64-unknown-elf-gcc
-AR = $(RISCV_HOME)/bin/riscv64-unknown-elf-ar
-RANLIB = $(RISCV_HOME)/bin/riscv64-unknown-elf-ranlib
+CC = $(RISCV_HOME)/bin/riscv64-unknown-elf-gcc
+AR = $(RISCV_HOME)/bin/riscv64-unknown-elf-ar
+RANLIB = $(RISCV_HOME)/bin/riscv64-unknown-elf-ranlib
+OBJCOPY = $(RISCV_HOME)/bin/riscv64-unknown-elf-objcopy
CFLAGS = -march=rv32imac -mabi=ilp32 -mcmodel=medlow -ffunction-sections -fdata-sections --specs=nano.specs -O2