4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-21 01:07:18 +08:00

[BSP] TM4C129X: Fix last commit error. Modify .icf IAR Link file, move block RTT_INIT_FUNC to flash region.

This commit is contained in:
ArdaFu 2018-05-13 12:12:09 +08:00
parent ab41281bfd
commit 9f5e87d574

View File

@ -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. // Copyright (c) 2013-2017 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement // 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 // Indicate that the read/write values should be initialized by copying from
// flash. // flash.
// //
initialize by copy { readwrite , RTT_INIT_FUNC }; initialize by copy { readwrite };
// //
// Indicate that the noinit values should be left alone. This includes the // 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 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. // Place the RAM vector table at the start of SRAM.