summaryrefslogtreecommitdiff
path: root/bsp/coreip-e24-arty
diff options
context:
space:
mode:
authorBunnaroath Sou <35707615+bsousi5@users.noreply.github.com>2019-03-22 11:03:01 -0700
committerGitHub <noreply@github.com>2019-03-22 11:03:01 -0700
commitaeb8cfb4769080b1b3ce5cf0af8be67a9087ece7 (patch)
tree8879e2b142e86e55d6f60c393f218d1e87fc9cf6 /bsp/coreip-e24-arty
parent12355e0034f6b46c1026acde8dfacc423d3864f2 (diff)
parenta9f41bbbb4cbdc1f7bd732effc772fc156c9bc97 (diff)
Merge pull request #212 from sifive/floating-pt
Pickup floating point support from freedom-metal
Diffstat (limited to 'bsp/coreip-e24-arty')
-rw-r--r--bsp/coreip-e24-arty/metal.h3
-rw-r--r--bsp/coreip-e24-arty/settings.mk4
2 files changed, 5 insertions, 2 deletions
diff --git a/bsp/coreip-e24-arty/metal.h b/bsp/coreip-e24-arty/metal.h
index c9ccb86..3aeddeb 100644
--- a/bsp/coreip-e24-arty/metal.h
+++ b/bsp/coreip-e24-arty/metal.h
@@ -5,6 +5,9 @@
#ifdef __METAL_MACHINE_MACROS
+#ifndef __METAL_PLIC_SUBINTERRUPTS
+#define __METAL_PLIC_SUBINTERRUPTS 0
+#endif
#define __METAL_CLIC_SUBINTERRUPTS 153
#ifndef __METAL_CLIC_SUBINTERRUPTS
diff --git a/bsp/coreip-e24-arty/settings.mk b/bsp/coreip-e24-arty/settings.mk
index 0b9c2cb..62d3775 100644
--- a/bsp/coreip-e24-arty/settings.mk
+++ b/bsp/coreip-e24-arty/settings.mk
@@ -1,5 +1,5 @@
-RISCV_ARCH=rv32imac
-RISCV_ABI=ilp32
+RISCV_ARCH=rv32imafc
+RISCV_ABI=ilp32f
RISCV_CMODEL=medlow
TARGET_TAGS=fpga openocd