add SPL06 in Matek targets
[inav/snaewe.git] / src / main / target / link / stm32_flash_f303xc.ld
blob1917843495def2f4ed0f5bbb7bf46e3d208d22dd
1 /*
2 *****************************************************************************
3 **
4 **  File        : stm32_flash.ld
5 **
6 **  Abstract    : Linker script for STM32F30x Device with
7 **                256KByte FLASH and 40KByte RAM
8 **
9 *****************************************************************************
12 /* Stack & Heap sizes */
13 _Min_Heap_Size = 0;
14 _Min_Stack_Size = 0x1800;
16 /* Specify the memory areas. */
17 MEMORY
19     FLASH (rx)        : ORIGIN = 0x08000000, LENGTH = 250K
20     FLASH_CONFIG (r)  : ORIGIN = 0x0803E800, LENGTH = 6K
22     RAM (xrw)         : ORIGIN = 0x20000000, LENGTH = 40K
23     CCM (xrw)         : ORIGIN = 0x10000000, LENGTH = 8K
24     MEMORY_B1 (rx)    : ORIGIN = 0x60000000, LENGTH = 0K
27 REGION_ALIAS("STACKRAM", CCM)
28 REGION_ALIAS("FASTRAM", CCM)
30 INCLUDE "stm32_flash.ld"