summaryrefslogtreecommitdiff
path: root/firmware/memory.x
diff options
context:
space:
mode:
authorGuillaume Pinot <texitoi@texitoi.eu>2020-08-02 19:49:35 +0200
committerGuillaume Pinot <texitoi@texitoi.eu>2020-08-02 19:49:35 +0200
commit0a9f2cca71889e78fb0bad31a63fdb6c8e54e20f (patch)
tree2bec18262c5d2dedd8ab1c958fdc791011a99ae8 /firmware/memory.x
parent4589117f02c7813495719f78e581d7c812664af2 (diff)
first compiling firmware
Diffstat (limited to 'firmware/memory.x')
-rw-r--r--firmware/memory.x6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/memory.x b/firmware/memory.x
new file mode 100644
index 0000000..5153cb7
--- /dev/null
+++ b/firmware/memory.x
@@ -0,0 +1,6 @@
+/* Linker script for the STM32F103C8T6 */
+MEMORY
+{
+ FLASH : ORIGIN = 0x08000000, LENGTH = 128K
+ RAM : ORIGIN = 0x20000000, LENGTH = 16K
+}