From e7b5ddcdef5c31151ca42f37cc9927927ce9f4a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Thu, 9 Jan 2020 20:43:25 +0100 Subject: [PATCH] ld: limit to 64kB flash to be compatible with most MCU --- bootloader.ld | 1 + 1 file changed, 1 insertion(+) diff --git a/bootloader.ld b/bootloader.ld index b662f14..9fd7ab2 100644 --- a/bootloader.ld +++ b/bootloader.ld @@ -23,6 +23,7 @@ PROVIDE(__flash_end = ORIGIN(rom) + LENGTH(rom)); */ PROVIDE(__application_end = 0); PROVIDE(__flash_end = 0); + /* RAM location reserved so application can talk to bootloader and tell to start DFU */ PROVIDE(__dfu_magic = ORIGIN(ram) - 4);