summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
Diffstat (limited to 'platforms')
-rw-r--r--platforms/cortex-m.yaml3
-rw-r--r--platforms/riscv.yaml3
2 files changed, 6 insertions, 0 deletions
diff --git a/platforms/cortex-m.yaml b/platforms/cortex-m.yaml
index ea77615..0a15611 100644
--- a/platforms/cortex-m.yaml
+++ b/platforms/cortex-m.yaml
@@ -21,6 +21,9 @@
toolchains:
- arm-none-eabi
+ define:
+ - CORTEX_M
+
# cortex-m3
- match:
cpu: !re cortex-m3
diff --git a/platforms/riscv.yaml b/platforms/riscv.yaml
index ec9ecd7..16db64b 100644
--- a/platforms/riscv.yaml
+++ b/platforms/riscv.yaml
@@ -36,3 +36,6 @@
toolchains:
- riscv64-unknown-elf
+
+ define:
+ - RISCV