diff --git a/hardware/victims/firmware/hal/stm32f0/LinkerScript.ld b/hardware/victims/firmware/hal/stm32f0/LinkerScript.ld index e585f83487..727b6805a9 100644 --- a/hardware/victims/firmware/hal/stm32f0/LinkerScript.ld +++ b/hardware/victims/firmware/hal/stm32f0/LinkerScript.ld @@ -53,7 +53,7 @@ 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 */ @@ -61,8 +61,8 @@ _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 */