From 8752d76b6722d61880ceeecc97624dd7d80577c0 Mon Sep 17 00:00:00 2001 From: zylx Date: Wed, 30 May 2018 10:22:34 +0800 Subject: [PATCH] =?UTF-8?q?[gcc]=EF=BC=9A=E4=BF=AE=E6=94=B9GCC=E5=88=86?= =?UTF-8?q?=E6=95=A3=E5=8A=A0=E8=BD=BD=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Libraries/gcc/MIMXRT1052xxxxx_flexspi_nor.ld | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bsp/imxrt1052-evk/Libraries/gcc/MIMXRT1052xxxxx_flexspi_nor.ld b/bsp/imxrt1052-evk/Libraries/gcc/MIMXRT1052xxxxx_flexspi_nor.ld index b0178bdcdd..b8c229ae3c 100644 --- a/bsp/imxrt1052-evk/Libraries/gcc/MIMXRT1052xxxxx_flexspi_nor.ld +++ b/bsp/imxrt1052-evk/Libraries/gcc/MIMXRT1052xxxxx_flexspi_nor.ld @@ -53,8 +53,8 @@ STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x0400; /* Specify the memory areas */ MEMORY { - m_boot_data (RX) : ORIGIN = 0x60000000, LENGTH = 0x00000400 - m_image_vertor_table (RX) : ORIGIN = 0x60001000, LENGTH = 0x00000400 + m_boot_data (RX) : ORIGIN = 0x60000000, LENGTH = 0x00001000 + m_image_vertor_table (RX) : ORIGIN = 0x60001000, LENGTH = 0x00001000 m_interrupts (RX) : ORIGIN = 0x60002000, LENGTH = 0x00000400 m_text (RX) : ORIGIN = 0x60002400, LENGTH = 0x1F7FDC00 @@ -72,12 +72,14 @@ SECTIONS { .boot_data : { - KEEP(*(.bootdata)) + KEEP(*(.boot_hdr.conf)) } > m_boot_data .image_vertor_table : { - KEEP(*(.ivt)) + KEEP(*(.boot_hdr.ivt)) + KEEP(*(.boot_hdr.boot_data)) + KEEP(*(.boot_hdr.dcd_data)) } > m_image_vertor_table /* The startup code goes first into internal RAM */