Skip to content

Commit dc1262c

Browse files
author
rogerclarkmelbourne
committed
Changed bootloader linker settings, so match the space allocated in Flash by the sketch (offset to 0x8002000)
1 parent 6a36686 commit dc1262c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

usb_bootloader/STM32F1/stm32_lib/c_only_md.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ _Minimum_Stack_Size = 0x100 ;
2424

2525
MEMORY
2626
{
27-
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 20K
28-
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 128K
27+
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 3K
28+
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 8K
2929
}
3030

3131
/* higher address of the user mode stack */

0 commit comments

Comments
 (0)