summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2022-10-05 10:36:25 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2022-10-05 10:36:25 +0200
commit41636f4a36f39be0afefde5682040da767b86122 (patch)
tree8efda16e0a820a709408aba278a9da8e8dd70373 /platforms
parentbab201ae1db6905b8c3ad1b7dd1cdd65d8192120 (diff)
orbtrace: Add initial support.orbtrace
Diffstat (limited to 'platforms')
-rw-r--r--platforms/index.yaml5
-rw-r--r--platforms/orbtrace.yaml42
2 files changed, 47 insertions, 0 deletions
diff --git a/platforms/index.yaml b/platforms/index.yaml
index 15a83e6..2018e00 100644
--- a/platforms/index.yaml
+++ b/platforms/index.yaml
@@ -9,6 +9,11 @@
-: !import gd32v.yaml
- match:
+ mcu: orbtrace
+
+ -: !import orbtrace.yaml
+
+- match:
cpu: !re cortex-m
-: !import cortex-m.yaml
diff --git a/platforms/orbtrace.yaml b/platforms/orbtrace.yaml
new file mode 100644
index 0000000..47ba74c
--- /dev/null
+++ b/platforms/orbtrace.yaml
@@ -0,0 +1,42 @@
+- match:
+ mcu: !re orbtrace
+
+ mem:
+ flash:
+ origin: 0x20000000
+ size: 1M
+ #origin: 0x08400000
+ #size: 4M
+
+ ram:
+ origin: 0x20100000
+ size: 7M
+ #origin: 0x20000000
+ #size: 8M
+
+ periph:
+ litex_timer:
+ TIMER0:
+ offset: 0xf0002800
+
+ litex_uart:
+ UART:
+ offset: 0xf0003000
+
+ orbtrace_dbgif:
+ DBGIF:
+ offset: 0xf0004000
+
+ litex_wishbone_dma_writer:
+ CMSIS_DAP_OUT:
+ offset: 0xf0006000
+
+ litex_wishbone_dma_reader:
+ CMSIS_DAP_IN:
+ offset: 0xf0006800
+
+ interrupt:
+ irq: {}
+
+ meta:
+ cpu: rv32im