diff --git a/STM32F746xG.ld b/STM32F746xG.ld index 4920b20..670403b 100644 --- a/STM32F746xG.ld +++ b/STM32F746xG.ld @@ -44,7 +44,7 @@ MEMORY FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE RAM (rwx) : ORIGIN = MBED_RAM0_START, LENGTH = MBED_RAM0_SIZE DTCM (rwx) : ORIGIN = 0x20040000, LENGTH = 16K - SPI_FLASH(r) : ORIGIN = 0x90000000, LENGTH = 1M +/* SPI_FLASH(r) : ORIGIN = 0x90000000, LENGTH = 1M*/ } /* Linker script to place sections and symbol values. Should be used together @@ -214,7 +214,7 @@ SECTIONS { *(.stack*) } > RAM - +/* ExtFlashSection : { *(ExtFlashSection ExtFlashSection.*) @@ -237,7 +237,7 @@ SECTIONS *(.gnu.linkonce.r.*) . = ALIGN(0x4); } >SPI_FLASH - +*/ /* Set stack top to end of RAM, and stack limit move down by * size of stack_dummy section */ __StackTop = ORIGIN(RAM) + LENGTH(RAM);