From 3b3c7da3ed172b05185faa70b55d26b7f6029ab3 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 3 Nov 2021 01:15:16 +0100 Subject: [PATCH] added memory.x file --- memory.x | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 memory.x diff --git a/memory.x b/memory.x new file mode 100644 index 0000000..c82d080 --- /dev/null +++ b/memory.x @@ -0,0 +1,10 @@ +MEMORY +{ + ROM : ORIGIN = 0x00000000, LENGTH = 0x20000 /* 128K */ + RAM: ORIGIN = 0x10000000, LENGTH = 0x08000 /* 32K */ +} + +/* This is where the call stack will be allocated. */ +/* The stack is of the full descending type. */ +/* NOTE Do NOT modify `_stack_start` unless you know what you are doing */ +_stack_start = ORIGIN(RAM) + LENGTH(RAM);