/* Internal Flash */ FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1024K
/* Internal RAM */ CCMRAM (rw) : ORIGIN = 0x10000000, LENGTH = 64K SRAM (rw) : ORIGIN = 0x20000000, LENGTH = 128K .mpl files
Here is a practical walkthrough of what a typical embedded .mpl looks like and how to edit it safely. /* File: stm32f4_flash.mpl */ /* Defines memory for STM32F407VG */ MEMORY /* Internal Flash */ FLASH (rx) : ORIGIN
KEEP( (.isr_vector)) > FLASH
/* Define stack size */ _Stack_Size = 0x2000; .mpl files