From 9f5e87d5744d23a64a4475cc162bcb2201c213a7 Mon Sep 17 00:00:00 2001 From: ArdaFu Date: Sun, 13 May 2018 12:12:09 +0800 Subject: [PATCH] [BSP] TM4C129X: Fix last commit error. Modify .icf IAR Link file, move block RTT_INIT_FUNC to flash region. --- bsp/tm4c129x/tm4c_rom.icf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bsp/tm4c129x/tm4c_rom.icf b/bsp/tm4c129x/tm4c_rom.icf index 6b4fde42e1..4bda7a154a 100644 --- a/bsp/tm4c129x/tm4c_rom.icf +++ b/bsp/tm4c129x/tm4c_rom.icf @@ -1,6 +1,6 @@ //***************************************************************************** // -// blinky.icf - Linker configuration file for blinky. +// tm4c_room.icf - Linker configuration file for RT-Thread BSP. // // Copyright (c) 2013-2017 Texas Instruments Incorporated. All rights reserved. // Software License Agreement @@ -53,7 +53,7 @@ define block RTT_INIT_FUNC with fixed order { readonly section .rti_fn* }; // Indicate that the read/write values should be initialized by copying from // flash. // -initialize by copy { readwrite , RTT_INIT_FUNC }; +initialize by copy { readwrite }; // // Indicate that the noinit values should be left alone. This includes the @@ -70,7 +70,7 @@ place at start of FLASH { readonly section .intvec }; // // Place the remainder of the read-only items into flash. // -place in FLASH { readonly }; +place in FLASH { readonly, block RTT_INIT_FUNC }; // // Place the RAM vector table at the start of SRAM.