Created
June 24, 2020 19:16
-
-
Save mtthw-meyer/3b84297f9a0dc67c527098432b3b0e06 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Generated by LinkerScriptGenerator [http://visualgdb.com/tools/LinkerScriptGenerator] | |
* Target: STM32H750IB | |
* The file is provided under the BSD license. | |
*/ | |
ENTRY(Reset_Handler) | |
MEMORY | |
{ | |
FLASH (RX) : ORIGIN = 0x08000000, LENGTH = 128K | |
DTCMRAM (RWX) : ORIGIN = 0x20000000, LENGTH = 128K | |
SRAM (RWX) : ORIGIN = 0x24000000, LENGTH = 512K | |
RAM_D2 (RWX) : ORIGIN = 0x30000000, LENGTH = 288K | |
RAM_D3 (RWX) : ORIGIN = 0x38000000, LENGTH = 64K | |
ITCMRAM (RWX) : ORIGIN = 0x00000000, LENGTH = 64K | |
SDRAM (RWX) : ORIGIN = 0xc0000000, LENGTH = 64M | |
QSPIFLASH (RX): ORIGIN = 0x90000000, LENGTH = 8M | |
} | |
/* stm32h7xx-hal uses a PROVIDE that expects RAM symbol to exist | |
*/ | |
REGION_ALIAS(RAM, SRAM); | |
_estack = 0x20020000; | |
SECTIONS | |
{ | |
.dtcmram_bss (NOLOAD) : | |
{ | |
. = ALIGN(4); | |
_sdtcmram_bss = .; | |
PROVIDE(__dtcmram_bss_start__ = _sdtcmram_bss); | |
*(.dtcmram_bss) | |
*(.dtcmram_bss*) | |
. = ALIGN(4); | |
_edtcmram_bss = .; | |
PROVIDE(__dtcmram_bss_end__ = _edtcmram_bss); | |
} > DTCMRAM | |
.sram1_bss (NOLOAD) : | |
{ | |
. = ALIGN(4); | |
_ssram1_bss = .; | |
PROVIDE(__sram1_bss_start__ = _sram1_bss); | |
*(.sram1_bss) | |
*(.sram1_bss*) | |
. = ALIGN(4); | |
_esram1_bss = .; | |
PROVIDE(__sram1_bss_end__ = _esram1_bss); | |
} > RAM_D2 | |
.qspiflash_text : | |
{ | |
. = ALIGN(4); | |
_sqspiflash_text = .; | |
PROVIDE(__qspiflash_text_start = _sqspiflash_text); | |
*(.qspiflash_text) | |
*(.qspiflash_text*) | |
. = ALIGN(4); | |
_eqspiflash_text = .; | |
PROVIDE(__qspiflash_text_end = _eqspiflash_text); | |
} > QSPIFLASH | |
.qspiflash_data : | |
{ | |
. = ALIGN(4); | |
_sqspiflash_data = .; | |
PROVIDE(__qspiflash_data_start = _sqspiflash_data); | |
*(.qspiflash_data) | |
*(.qspiflash_data*) | |
. = ALIGN(4); | |
_eqspiflash_data = .; | |
PROVIDE(__qspiflash_data_end = _eqspiflash_data); | |
} > QSPIFLASH | |
.qspiflash_bss (NOLOAD) : | |
{ | |
. = ALIGN(4); | |
_sqspiflash_bss = .; | |
PROVIDE(__qspiflash_bss_start = _sqspiflash_bss); | |
*(.qspiflash_bss) | |
*(.qspiflash_bss*) | |
. = ALIGN(4); | |
_eqspiflash_bss = .; | |
PROVIDE(__qspiflash_bss_end = _eqspiflash_bss); | |
} > QSPIFLASH | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment