Skip to content

Commit

Permalink
bootloader: assume 4k flash, 4k ram
Browse files Browse the repository at this point in the history
this fits on smallest target, the f031
  • Loading branch information
tridge committed Aug 1, 2024
1 parent ff4abc9 commit a676b9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootloader/ldscript_bl.ld
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
/* Entry Point */
ENTRY(Reset_Handler)

_estack = 0x20002000; /* end of RAM */
_estack = 0x20001000; /* end of RAM */
_Min_Heap_Size = 0x200; /* required amount of heap */
_Min_Stack_Size = 0x400; /* required amount of stack */

/* Specify the memory areas */
MEMORY
{
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 4K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 16K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 4K
}

/* Define output sections */
Expand Down

0 comments on commit a676b9e

Please sign in to comment.