summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@sifive.com>2018-12-13 18:45:09 -0800
committerPalmer Dabbelt <palmer@sifive.com>2018-12-13 18:45:09 -0800
commit2077ff04a25b4393d9b88cd0ee69db3f8eb40276 (patch)
treebe7b0dcc478fc97978a7efccce04a17557a37b22 /bsp
parent0c3b3d75eadffb9ab1d85e811cac55d54ac9d3ca (diff)
Add support for generating coreip hex files via elf2hex
This just calls elf2hex on the compiled elf files, producing a hex file that can be fed into RTL simulation. Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'bsp')
-rw-r--r--bsp/coreip-e31-arty/settings.mk3
-rw-r--r--bsp/coreip-s51-arty/settings.mk3
-rw-r--r--bsp/coreip-s51/settings.mk3
3 files changed, 3 insertions, 6 deletions
diff --git a/bsp/coreip-e31-arty/settings.mk b/bsp/coreip-e31-arty/settings.mk
index eacecc3..3017c12 100644
--- a/bsp/coreip-e31-arty/settings.mk
+++ b/bsp/coreip-e31-arty/settings.mk
@@ -1,4 +1,3 @@
-#write_config_file
-
RISCV_ARCH=rv32imac
RISCV_ABI=ilp32
+COREIP_HEX_WIDTH=32
diff --git a/bsp/coreip-s51-arty/settings.mk b/bsp/coreip-s51-arty/settings.mk
index 31aca11..433aab1 100644
--- a/bsp/coreip-s51-arty/settings.mk
+++ b/bsp/coreip-s51-arty/settings.mk
@@ -1,4 +1,3 @@
-#write_config_file
-
RISCV_ARCH=rv64imac
RISCV_ABI=lp64
+COREIP_HEX_WIDTH=32
diff --git a/bsp/coreip-s51/settings.mk b/bsp/coreip-s51/settings.mk
index 31aca11..002e8cd 100644
--- a/bsp/coreip-s51/settings.mk
+++ b/bsp/coreip-s51/settings.mk
@@ -1,4 +1,3 @@
-#write_config_file
-
RISCV_ARCH=rv64imac
RISCV_ABI=lp64
+COREIP_MEM_WIDTH=32