From: Tilman Sauerbeck Date: Mon, 17 Jun 2019 19:45:34 +0000 (+0200) Subject: bootloader: Put the binary at offset 0x8000 in flash. X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=af574683a1a9583d34a13deee2e41170295f7461;hp=ee61ed4d926df56bf03586466deff64ca7d40b44;p=gps-watch.git bootloader: Put the binary at offset 0x8000 in flash. This generates a binary that can be loaded as an application, which allows for easy testing of the code. --- diff --git a/src/bootloader/bootloader.ld b/src/bootloader/bootloader.ld index 8083a7e..55b6057 100644 --- a/src/bootloader/bootloader.ld +++ b/src/bootloader/bootloader.ld @@ -7,7 +7,8 @@ /* Linker script to configure memory regions. */ MEMORY { - FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x40000 /* 256k */ + FLASH (rx) + : ORIGIN = 0x00008000, LENGTH = 0x38000 RAM (rwx) : ORIGIN = 0x1fffe000, LENGTH = 0x08000