diff options
author | Bunnaroath Sou <bsou@sifive.com> | 2019-03-21 18:04:29 -0700 |
---|---|---|
committer | Bunnaroath Sou <bsou@sifive.com> | 2019-03-21 18:04:29 -0700 |
commit | 66901a72d41fb1f350e1d972b5b920c6d61b33a1 (patch) | |
tree | df8bd771d4d765ceedfa9875cd822e4eea4a4db9 /bsp/coreip-e24-rtl | |
parent | 318ac16f2b0fdab7ac82758993e7e6835b94115d (diff) |
Update lds files to exclude itim in .text and PLIC subinterrupts
Diffstat (limited to 'bsp/coreip-e24-rtl')
-rw-r--r-- | bsp/coreip-e24-rtl/metal.h | 3 | ||||
-rw-r--r-- | bsp/coreip-e24-rtl/settings.mk | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/bsp/coreip-e24-rtl/metal.h b/bsp/coreip-e24-rtl/metal.h index 40f92c8..e0403b1 100644 --- a/bsp/coreip-e24-rtl/metal.h +++ b/bsp/coreip-e24-rtl/metal.h @@ -5,6 +5,9 @@ #ifdef __METAL_MACHINE_MACROS +#ifndef __METAL_PLIC_SUBINTERRUPTS +#define __METAL_PLIC_SUBINTERRUPTS 0 +#endif #define __METAL_CLIC_SUBINTERRUPTS 143 #ifndef __METAL_CLIC_SUBINTERRUPTS diff --git a/bsp/coreip-e24-rtl/settings.mk b/bsp/coreip-e24-rtl/settings.mk index f60f250..880c000 100644 --- a/bsp/coreip-e24-rtl/settings.mk +++ b/bsp/coreip-e24-rtl/settings.mk @@ -1,5 +1,5 @@ -RISCV_ARCH=rv32imac -RISCV_ABI=ilp32 +RISCV_ARCH=rv32imafc +RISCV_ABI=ilp32f RISCV_CMODEL=medlow COREIP_MEM_WIDTH=32 |