Skip to content

Commit

Permalink
Fix STM32F0 to work with smaller devices
Browse files Browse the repository at this point in the history
  • Loading branch information
colinoflynn committed Apr 30, 2021
1 parent 02d3ed8 commit 1edfae5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hardware/victims/firmware/hal/stm32f0/LinkerScript.ld
Expand Up @@ -53,16 +53,16 @@
ENTRY(Reset_Handler)

/* Highest address of the user mode stack */
_estack = 0x20004000; /* end of RAM */
_estack = 0x20002000; /* end of RAM */

_Min_Heap_Size = 0; /* required amount of heap */
_Min_Stack_Size = 0x400; /* required amount of stack */

/* Memories definition */
MEMORY
{
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 16K
ROM (rx) : ORIGIN = 0x8000000, LENGTH = 128K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 8K
ROM (rx) : ORIGIN = 0x8000000, LENGTH = 16K
}

/* Sections */
Expand Down

0 comments on commit 1edfae5

Please sign in to comment.