summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
Diffstat (limited to 'platforms')
-rw-r--r--platforms/riscv.yaml18
1 files changed, 17 insertions, 1 deletions
diff --git a/platforms/riscv.yaml b/platforms/riscv.yaml
index f66a3ef..5764af2 100644
--- a/platforms/riscv.yaml
+++ b/platforms/riscv.yaml
@@ -4,8 +4,24 @@
cflags:
- -march=rv32imac
- -mabi=ilp32
- - -msmall-data-limit=0
+
+- match:
+ cpu: rv32ima
+ cflags:
+ - -march=rv32ima
+ - -mabi=ilp32
+
+- match:
+ cpu: rv32im
+
+ cflags:
+ - -march=rv32im
+ - -mabi=ilp32
+
+- cflags:
+ - -msmall-data-limit=0
+
interrupt:
exception:
0: InstructionMisaligned