From f44500491d63fca1fe9b0af56e5eedaf04f8eeb6 Mon Sep 17 00:00:00 2001
From: schneider <schneider@blinkenlichts.net>
Date: Tue, 16 Jul 2019 21:00:01 +0200
Subject: [PATCH] fix(docs): add memory map

---
 Documentation/index.rst     |  1 +
 Documentation/memorymap.rst | 53 +++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)
 create mode 100644 Documentation/memorymap.rst

diff --git a/Documentation/index.rst b/Documentation/index.rst
index c2f4c57a..76ae8f74 100644
--- a/Documentation/index.rst
+++ b/Documentation/index.rst
@@ -33,6 +33,7 @@ Last but not least, if you want to start hacking the lower-level firmware, the
    how-to-flash
    debugger
    pycardium-guide
+   memory-map
 
 .. toctree::
    :maxdepth: 1
diff --git a/Documentation/memorymap.rst b/Documentation/memorymap.rst
new file mode 100644
index 00000000..a64fde73
--- /dev/null
+++ b/Documentation/memorymap.rst
@@ -0,0 +1,53 @@
+.. _memory_map:
+
+Memory Map
+============================
+.. _memory_map:
+
+Memory Map
+============================
+
+Flash::
+  
+  | Address    | Usage              |
+  |------------|--------------------|
+  |0x100F FFFF |                    |
+  |            | Core 1: 512 kB     |
+  |0x1008 0000 |                    |
+  |------------|--------------------|
+  |0x1007 FFFF |                    |
+  |            | Core 0: 448 kB     |
+  |0x1001 0000 |                    |
+  |------------|--------------------|
+  |0x1000 FFFF |                    |
+  |            | Bootloader: 64 kB  |
+  |0x1000 0000 |                    |
+  |------------|--------------------|
+
+
+Ram::
+
+  | Address    | Usage                 |
+  |------------|-----------------------|
+  |0x2008 BFFF |                       |
+  |            | API Parameters: 48 kB |
+  |0x2008 0000 |                       |
+  |------------|-----------------------|
+  |0x2007 FFFF |                       |
+  |            | Core 1: 256 kB        |
+  |0x2004 0000 |                       |
+  |------------|-----------------------|
+  |0x2003 FFFF |                       |
+  |            | Core 0: 256 kB        |
+  |0x2000 0000 |                       |
+  |------------|-----------------------|
+
+External Flash::
+
+  | Address    | Usage                 |
+  |------------|-----------------------|
+  |0x0080 0000 |                       |
+  |            | FAT file system: 8 MB |
+  |0x0000 0000 |                       |
+  |------------|-----------------------|
+
-- 
GitLab