]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_M7_SAMV71_Xplained/libboard_samv7-ek/resources/IAR/samv71j21_flash.icf
Update version number ready for V8.2.1 release.
[freertos] / FreeRTOS / Demo / CORTEX_M7_SAMV71_Xplained / libboard_samv7-ek / resources / IAR / samv71j21_flash.icf
1 /* ---------------------------------------------------------------------------- */\r
2 /*                  Atmel Microcontroller Software Support                      */\r
3 /*                       SAM Software Package License                           */\r
4 /* ---------------------------------------------------------------------------- */\r
5 /* Copyright (c) 2014, Atmel Corporation                                        */\r
6 /*                                                                              */\r
7 /* All rights reserved.                                                         */\r
8 /*                                                                              */\r
9 /* Redistribution and use in source and binary forms, with or without           */\r
10 /* modification, are permitted provided that the following condition is met:    */\r
11 /*                                                                              */\r
12 /* - Redistributions of source code must retain the above copyright notice,     */\r
13 /* this list of conditions and the disclaimer below.                            */\r
14 /*                                                                              */\r
15 /* Atmel's name may not be used to endorse or promote products derived from     */\r
16 /* this software without specific prior written permission.                     */\r
17 /*                                                                              */\r
18 /* DISCLAIMER:  THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR   */\r
19 /* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */\r
20 /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE   */\r
21 /* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,      */\r
22 /* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT */\r
23 /* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,  */\r
24 /* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF    */\r
25 /* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING         */\r
26 /* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, */\r
27 /* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.                           */\r
28 /* ---------------------------------------------------------------------------- */\r
29 \r
30 /*###ICF### Section handled by ICF editor, don't touch! ****/\r
31 /*-Editor annotation file-*/\r
32 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */\r
33 /*-Specials-*/\r
34 define symbol __ICFEDIT_intvec_start__     = 0x00400000;\r
35 /*-Memory Regions-*/\r
36 define symbol __ICFEDIT_region_RAM_start__ = 0x20400000;\r
37 define symbol __ICFEDIT_region_RAM_end__   = 0x20460000 -1;\r
38 define symbol __ICFEDIT_region_ROM_start__ = 0x00400000;\r
39 define symbol __ICFEDIT_region_ROM_end__   = 0x00600000 -1;\r
40 /*-Sizes-*/\r
41 define symbol __ICFEDIT_size_cstack__      = 0x400;\r
42 define symbol __ICFEDIT_size_heap__        = 0x200;\r
43 /**** End of ICF editor section. ###ICF###*/\r
44 \r
45 define memory mem with size = 4G;\r
46 define region RAM_region    = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];\r
47 define region ROM_region    = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];\r
48 \r
49 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };\r
50 define block HEAP   with alignment = 8, size = __ICFEDIT_size_heap__   { };\r
51 \r
52 initialize by copy { readwrite };\r
53 do not initialize  { section .noinit };\r
54 \r
55 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };\r
56 place in ROM_region                           { readonly };\r
57 place in RAM_region                           { readwrite, block CSTACK, block HEAP };\r