/****************************************************************************** * * stm32f4_2MiB_flash.ld - linker script for nutos on cortex-m3 STM32F42x and * F43x with 2 MiB Flash * *****************************************************************************/ ENTRY(NutInit) SEARCH_DIR(.) "bootloader_offset" = 0x00; MEMORY { FLASH0 (rx) : ORIGIN = 0x08000000, LENGTH = 2048K SRAM0 (rwx) : ORIGIN = 0x20000000, LENGTH = 112K DMA (rwx) : ORIGIN = 0x2001c000, LENGTH = 16K SRAM2 (rwx) : ORIGIN = 0x20020000, LENGTH = 64K CCM (rwx) : ORIGIN = 0x10000000, LENGTH = 64K } INCLUDE stm32f10x_flash.ld