X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fbootloader%2Fbootloader.ld;h=55b605750956013061153ecfbba244349ea1b358;hb=b2a383c4ed0737f7e08711a430c961e572e64a66;hp=b465cecad78cad7d90a9928f724cb737869386b2;hpb=c3a391850f570106207d648196d8d978e875ac76;p=gps-watch.git diff --git a/src/bootloader/bootloader.ld b/src/bootloader/bootloader.ld index b465cec..55b6057 100644 --- a/src/bootloader/bootloader.ld +++ b/src/bootloader/bootloader.ld @@ -7,8 +7,11 @@ /* Linker script to configure memory regions. */ MEMORY { - FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x40000 /* 256k */ - RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x08000 /* 32k */ + FLASH (rx) + : ORIGIN = 0x00008000, LENGTH = 0x38000 + + RAM (rwx) + : ORIGIN = 0x1fffe000, LENGTH = 0x08000 } /* Library configurations */ @@ -39,8 +42,6 @@ GROUP(libgcc.a libc.a libm.a libnosys.a) * __StackLimit * __StackTop * __stack - * __Vectors_End - * __Vectors_Size */ ENTRY(Reset_Handler) @@ -49,8 +50,6 @@ SECTIONS .text : { KEEP(*(.vectors)) - __Vectors_End = .; - __Vectors_Size = __Vectors_End - __Vectors; __end__ = .; *(.text*)