diff --git a/stm32f103x8-dfu.ld b/stm32f103x8-dfu.ld index ad079d4..2cbfb69 100644 --- a/stm32f103x8-dfu.ld +++ b/stm32f103x8-dfu.ld @@ -12,15 +12,12 @@ * along with this library. If not, see . */ -/* linker script for STM32F103x8 based boards (64kB flash, 20kB RAM) - * with additional STM32duino-booloader USB DFU bootloader (8kB flash, 0kB RAM) - * from https://github.com/rogerclarkmelbourne/STM32duino-bootloader - */ +/* linker script for STM32F103x8 based boards (64kB flash, 20kB RAM) */ /* Define memory regions. */ MEMORY { - rom (rx) : ORIGIN = 0x08002000, LENGTH = 56K + rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K } diff --git a/stm32f103xb-dfu.ld b/stm32f103xb-dfu.ld index 5d1af38..fa0958d 100644 --- a/stm32f103xb-dfu.ld +++ b/stm32f103xb-dfu.ld @@ -12,15 +12,12 @@ * along with this library. If not, see . */ -/* linker script for STM32F103xB based boards (128kB flash, 20kB RAM) - * with additional STM32duino-booloader USB DFU bootloader (8kB flash, 0kB RAM) - * from https://github.com/rogerclarkmelbourne/STM32duino-bootloader - */ +/* linker script for STM32F103xB based boards (128kB flash, 20kB RAM) */ /* Define memory regions. */ MEMORY { - rom (rx) : ORIGIN = 0x08002000, LENGTH = 120K + rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K }