summaryrefslogtreecommitdiff
path: root/linker_script.ld
diff options
context:
space:
mode:
Diffstat (limited to 'linker_script.ld')
-rw-r--r--linker_script.ld3
1 files changed, 3 insertions, 0 deletions
diff --git a/linker_script.ld b/linker_script.ld
index 8ae98d0..347a8c4 100644
--- a/linker_script.ld
+++ b/linker_script.ld
@@ -7,6 +7,9 @@ MEMORY
SECTIONS
{
+ __Periph_base = 0x40000000;
+ __Pwr_base = __Periph_base + 0x7000;
+
/* By default the start of the stack is at the top of sram1. */
PROVIDE(_stack_start = ORIGIN(sram1) + LENGTH(sram1));