.mpl - Files ^new^
The .mpl file is a chameleon of the technical world. Depending on your industry, it could be a lifeline for debugging a crashing radar system or the key to programming a fleet of microcontrollers.
/* Program code */ .text : ALIGN(4)
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 .mpl files
/* Define stack size */ _Stack_Size = 0x2000; LENGTH = 128K
/* Internal RAM */ CCMRAM (rw) : ORIGIN = 0x10000000, LENGTH = 64K SRAM (rw) : ORIGIN = 0x20000000, LENGTH = 128K .mpl files
FLASH (RX) : ORIGIN = 0x08000000, LENGTH = 512K SRAM (RWX) : ORIGIN = 0x20000000, LENGTH = 128K