File tree Expand file tree Collapse file tree 33 files changed +324
-80
lines changed
TARGET_Silicon_Labs/TARGET_EFM32
TARGET_EFM32GG/device/TARGET_1024K
TARGET_EFM32HG/device/TARGET_64K
TARGET_EFM32LG/device/TARGET_256K
TARGET_EFM32PG/device/TARGET_256K
TARGET_EFM32WG/device/TARGET_256K
TARGET_EFM32ZG/device/TARGET_32K Expand file tree Collapse file tree 33 files changed +324
-80
lines changed Original file line number Diff line number Diff line change
1
+ #! armcc -E
1
2
; *************************************************************
2
3
; *** Scatter-Loading Description File generated by uVision ***
3
4
; *************************************************************
4
5
5
- LR_IROM1 0x00000000 0x00100000 { ; load region size_region
6
- ER_IROM1 0x00000000 0x00100000 { ; load address = execution address
6
+ #if !defined(MBED_APP_START)
7
+ #define MBED_APP_START 0x00000000
8
+ #endif
9
+
10
+ #if !defined(MBED_APP_SIZE)
11
+ #define MBED_APP_SIZE 0x00100000
12
+ #endif
13
+
14
+ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
15
+ ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
7
16
*.o (RESET, +First)
8
17
*(InRoot$$Sections)
9
18
.ANY (+RO)
Original file line number Diff line number Diff line change
1
+ #! armcc -E
1
2
; *************************************************************
2
3
; *** Scatter-Loading Description File generated by uVision ***
3
4
; *************************************************************
4
5
5
- LR_IROM1 0x00000000 0x00100000 { ; load region size_region
6
- ER_IROM1 0x00000000 0x00100000 { ; load address = execution address
6
+ #if !defined(MBED_APP_START)
7
+ #define MBED_APP_START 0x00000000
8
+ #endif
9
+
10
+ #if !defined(MBED_APP_SIZE)
11
+ #define MBED_APP_SIZE 0x00100000
12
+ #endif
13
+
14
+ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
15
+ ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
7
16
*.o (RESET, +First)
8
17
*(InRoot$$Sections)
9
18
.ANY (+RO)
Original file line number Diff line number Diff line change @@ -19,9 +19,17 @@ STACK_SIZE = 0x400;
19
19
* heap and the page heap in uVisor applications. */
20
20
HEAP_SIZE = 0x6000;
21
21
22
+ #if !defined(MBED_APP_START)
23
+ #define MBED_APP_START 0x00000000
24
+ #endif
25
+
26
+ #if !defined(MBED_APP_SIZE)
27
+ #define MBED_APP_SIZE 1048576
28
+ #endif
29
+
22
30
MEMORY
23
31
{
24
- FLASH (rx) : ORIGIN = 0x00000000 , LENGTH = 1048576
32
+ FLASH (rx) : ORIGIN = MBED_APP_START , LENGTH = MBED_APP_SIZE
25
33
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 131072
26
34
}
27
35
/* MBED : mbed needs to be able to dynamically set the interrupt vector table.
Original file line number Diff line number Diff line change 1
1
/*###ICF### Section handled by ICF editor, don't touch! ****/
2
2
/*-Editor annotation file-*/
3
3
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
4
+
5
+ if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x00000000; }
6
+ if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x00100000; }
7
+
4
8
/*-Specials-*/
5
- define symbol __ICFEDIT_intvec_start__ = 0x00000000 ;
9
+ define symbol __ICFEDIT_intvec_start__ = MBED_APP_START ;
6
10
/*-Memory Regions-*/
7
- define symbol __ICFEDIT_region_ROM_start__ = 0x00000000 ;
8
- define symbol __ICFEDIT_region_ROM_end__ = 0x000FFFFF ;
11
+ define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START ;
12
+ define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1 ;
9
13
define symbol __NVIC_start__ = 0x20000000;
10
14
define symbol __NVIC_end__ = 0x200000DB;
11
15
define symbol __ICFEDIT_region_RAM_start__ = 0x200000DC;
Original file line number Diff line number Diff line change
1
+ #! armcc -E
1
2
; *************************************************************
2
3
; *** Scatter-Loading Description File generated by uVision ***
3
4
; *************************************************************
4
5
5
- LR_IROM1 0x00000000 0x00010000 { ; load region size_region
6
- ER_IROM1 0x00000000 0x00010000 { ; load address = execution address
6
+ #if !defined(MBED_APP_START)
7
+ #define MBED_APP_START 0x00000000
8
+ #endif
9
+
10
+ #if !defined(MBED_APP_SIZE)
11
+ #define MBED_APP_SIZE 0x00010000
12
+ #endif
13
+
14
+ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
15
+ ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
7
16
*.o (RESET, +First)
8
17
*(InRoot$$Sections)
9
18
.ANY (+RO)
Original file line number Diff line number Diff line change 9
9
/* Version 4.2.0 */
10
10
/* */
11
11
12
+ #if !defined(MBED_APP_START)
13
+ #define MBED_APP_START 0x00000000
14
+ #endif
15
+
16
+ #if !defined(MBED_APP_SIZE)
17
+ #define MBED_APP_SIZE 65536
18
+ #endif
19
+
12
20
MEMORY
13
21
{
14
- FLASH (rx) : ORIGIN = 0x00000000 , LENGTH = 65536
22
+ FLASH (rx) : ORIGIN = MBED_APP_START , LENGTH = MBED_APP_SIZE
15
23
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 8192
16
24
}
17
25
Original file line number Diff line number Diff line change 1
1
/*###ICF### Section handled by ICF editor, don't touch! ****/
2
2
/*-Editor annotation file-*/
3
3
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
4
+
5
+ if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x00000000; }
6
+ if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x00010000; }
7
+
4
8
/*-Specials-*/
5
- define symbol __ICFEDIT_intvec_start__ = 0x00000000 ;
9
+ define symbol __ICFEDIT_intvec_start__ = MBED_APP_START ;
6
10
/*-Memory Regions-*/
7
- define symbol __ICFEDIT_region_ROM_start__ = 0x00000000 ;
8
- define symbol __ICFEDIT_region_ROM_end__ = 0x0000FFFF ;
11
+ define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START ;
12
+ define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1 ;
9
13
define symbol __NVIC_start__ = 0x20000000;
10
14
define symbol __NVIC_end__ = 0x20000093;
11
15
define symbol __ICFEDIT_region_RAM_start__ = 0x20000094;
Original file line number Diff line number Diff line change
1
+ #! armcc -E
1
2
; *************************************************************
2
3
; *** Scatter-Loading Description File generated by uVision ***
3
4
; *************************************************************
4
5
5
- LR_IROM1 0x00000000 0x00040000 { ; load region size_region
6
- ER_IROM1 0x00000000 0x00040000 { ; load address = execution address
6
+ #if !defined(MBED_APP_START)
7
+ #define MBED_APP_START 0x00000000
8
+ #endif
9
+
10
+ #if !defined(MBED_APP_SIZE)
11
+ #define MBED_APP_SIZE 0x00040000
12
+ #endif
13
+
14
+ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
15
+ ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
7
16
*.o (RESET, +First)
8
17
*(InRoot$$Sections)
9
18
.ANY (+RO)
Original file line number Diff line number Diff line change
1
+ #! armcc -E
1
2
; *************************************************************
2
3
; *** Scatter-Loading Description File generated by uVision ***
3
4
; *************************************************************
4
5
5
- LR_IROM1 0x00000000 0x00040000 { ; load region size_region
6
- ER_IROM1 0x00000000 0x00040000 { ; load address = execution address
6
+ #if !defined(MBED_APP_START)
7
+ #define MBED_APP_START 0x00000000
8
+ #endif
9
+
10
+ #if !defined(MBED_APP_SIZE)
11
+ #define MBED_APP_SIZE 0x00040000
12
+ #endif
13
+
14
+ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
15
+ ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
7
16
*.o (RESET, +First)
8
17
*(InRoot$$Sections)
9
18
.ANY (+RO)
Original file line number Diff line number Diff line change 9
9
/* Version 4.2.0 */
10
10
/* */
11
11
12
+ #if !defined(MBED_APP_START)
13
+ #define MBED_APP_START 0x00000000
14
+ #endif
15
+
16
+ #if !defined(MBED_APP_SIZE)
17
+ #define MBED_APP_SIZE 262144
18
+ #endif
19
+
12
20
MEMORY
13
21
{
14
- FLASH (rx) : ORIGIN = 0x00000000 , LENGTH = 262144
22
+ FLASH (rx) : ORIGIN = MBED_APP_START , LENGTH = MBED_APP_SIZE
15
23
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 32768
16
24
}
17
25
/* MBED : mbed needs to be able to dynamically set the interrupt vector table.
Original file line number Diff line number Diff line change 1
1
/*###ICF### Section handled by ICF editor, don't touch! ****/
2
2
/*-Editor annotation file-*/
3
3
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
4
+
5
+ if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x00000000; }
6
+ if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x00040000; }
7
+
4
8
/*-Specials-*/
5
- define symbol __ICFEDIT_intvec_start__ = 0x00000000 ;
9
+ define symbol __ICFEDIT_intvec_start__ = MBED_APP_START ;
6
10
/*-Memory Regions-*/
7
- define symbol __ICFEDIT_region_ROM_start__ = 0x00000000 ;
8
- define symbol __ICFEDIT_region_ROM_end__ = 0x0003FFFF ;
11
+ define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START ;
12
+ define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1 ;
9
13
define symbol __NVIC_start__ = 0x20000000;
10
14
define symbol __NVIC_end__ = 0x200000DF;
11
15
define symbol __ICFEDIT_region_RAM_start__ = 0x200000E0;
Original file line number Diff line number Diff line change
1
+ #! armcc -E
1
2
; *************************************************************
2
3
; *** Scatter-Loading Description File generated by uVision ***
3
4
; *************************************************************
4
5
5
- LR_IROM1 0x00000000 0x00040000 { ; load region size_region
6
- ER_IROM1 0x00000000 0x00040000 { ; load address = execution address
6
+ #if !defined(MBED_APP_START)
7
+ #define MBED_APP_START 0x00000000
8
+ #endif
9
+
10
+ #if !defined(MBED_APP_SIZE)
11
+ #define MBED_APP_SIZE 0x00040000
12
+ #endif
13
+
14
+ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
15
+ ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
7
16
*.o (RESET, +First)
8
17
*(InRoot$$Sections)
9
18
.ANY (+RO)
Original file line number Diff line number Diff line change
1
+ #! armcc -E
1
2
; *************************************************************
2
3
; *** Scatter-Loading Description File generated by uVision ***
3
4
; *************************************************************
4
5
5
- LR_IROM1 0x00000000 0x00040000 { ; load region size_region
6
- ER_IROM1 0x00000000 0x00040000 { ; load address = execution address
6
+ #if !defined(MBED_APP_START)
7
+ #define MBED_APP_START 0x00000000
8
+ #endif
9
+
10
+ #if !defined(MBED_APP_SIZE)
11
+ #define MBED_APP_SIZE 0x00040000
12
+ #endif
13
+
14
+ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
15
+ ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
7
16
*.o (RESET, +First)
8
17
*(InRoot$$Sections)
9
18
.ANY (+RO)
Original file line number Diff line number Diff line change 9
9
/* Version 4.2.0 */
10
10
/* */
11
11
12
+ #if !defined(MBED_APP_START)
13
+ #define MBED_APP_START 0x00000000
14
+ #endif
15
+
16
+ #if !defined(MBED_APP_SIZE)
17
+ #define MBED_APP_SIZE 262144
18
+ #endif
19
+
12
20
MEMORY
13
21
{
14
- FLASH (rx) : ORIGIN = 0x00000000 , LENGTH = 262144
22
+ FLASH (rx) : ORIGIN = MBED_APP_START , LENGTH = MBED_APP_SIZE
15
23
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 32768
16
24
}
17
25
Original file line number Diff line number Diff line change 1
1
/*###ICF### Section handled by ICF editor, don't touch! ****/
2
2
/*-Editor annotation file-*/
3
3
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
4
+
5
+ if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x00000000; }
6
+ if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x00040000; }
7
+
4
8
/*-Specials-*/
5
- define symbol __ICFEDIT_intvec_start__ = 0x00000000 ;
9
+ define symbol __ICFEDIT_intvec_start__ = MBED_APP_START ;
6
10
/*-Memory Regions-*/
7
- define symbol __ICFEDIT_region_ROM_start__ = 0x00000000 ;
8
- define symbol __ICFEDIT_region_ROM_end__ = 0x0003FFFF ;
11
+ define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START ;
12
+ define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1 ;
9
13
define symbol __NVIC_start__ = 0x20000000;
10
14
define symbol __NVIC_end__ = 0x200000C7;
11
15
define symbol __ICFEDIT_region_RAM_start__ = 0x200000C8;
Original file line number Diff line number Diff line change
1
+ #! armcc -E
1
2
; *************************************************************
2
3
; *** Scatter-Loading Description File generated by uVision ***
3
4
; *************************************************************
4
5
5
- LR_IROM1 0x00000000 0x00100000 { ; load region size_region
6
- ER_IROM1 0x00000000 0x00100000 { ; load address = execution address
6
+ #if !defined(MBED_APP_START)
7
+ #define MBED_APP_START 0x00000000
8
+ #endif
9
+
10
+ #if !defined(MBED_APP_SIZE)
11
+ #define MBED_APP_SIZE 0x00100000
12
+ #endif
13
+
14
+ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
15
+ ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
7
16
*.o (RESET, +First)
8
17
*(InRoot$$Sections)
9
18
.ANY (+RO)
Original file line number Diff line number Diff line change 9
9
/* Version 5.1.2 */
10
10
/* */
11
11
12
+ #if !defined(MBED_APP_START)
13
+ #define MBED_APP_START 0x00000000
14
+ #endif
15
+
16
+ #if !defined(MBED_APP_SIZE)
17
+ #define MBED_APP_SIZE 1048576
18
+ #endif
19
+
12
20
MEMORY
13
21
{
14
- FLASH (rx) : ORIGIN = 0x00000000 , LENGTH = 1048576
22
+ FLASH (rx) : ORIGIN = MBED_APP_START , LENGTH = MBED_APP_SIZE
15
23
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 262144
16
24
}
17
25
Original file line number Diff line number Diff line change 3
3
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
4
4
/* Version 5.1.1 */
5
5
6
- /*-Specials-*/
7
- define symbol __ICFEDIT_intvec_start__ = 0x00000000;
6
+ if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x00000000; }
7
+ if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x00100000; }
8
8
9
+ /*-Specials-*/
10
+ define symbol __ICFEDIT_intvec_start__ = MBED_APP_START;
9
11
/*-Memory Regions-*/
10
- define symbol __ICFEDIT_region_ROM_start__ = 0x00000000 ;
11
- define symbol __ICFEDIT_region_ROM_end__ = (0x00000000+0x00100000-1) ;
12
+ define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START ;
13
+ define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1 ;
12
14
define symbol __NVIC_start__ = 0x20000000;
13
15
define symbol __NVIC_end__ = 0x2000010B;
14
16
define symbol __ICFEDIT_region_RAM_start__ = 0x2000010C;
Original file line number Diff line number Diff line change
1
+ #! armcc -E
1
2
; *************************************************************
2
3
; *** Scatter-Loading Description File generated by uVision ***
3
4
; *************************************************************
4
5
5
- LR_IROM1 0x00000000 0x00040000 { ; load region size_region
6
- ER_IROM1 0x00000000 0x00040000 { ; load address = execution address
6
+ #if !defined(MBED_APP_START)
7
+ #define MBED_APP_START 0x00000000
8
+ #endif
9
+
10
+ #if !defined(MBED_APP_SIZE)
11
+ #define MBED_APP_SIZE 0x00040000
12
+ #endif
13
+
14
+ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
15
+ ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
7
16
*.o (RESET, +First)
8
17
*(InRoot$$Sections)
9
18
.ANY (+RO)
Original file line number Diff line number Diff line change
1
+ #! armcc -E
1
2
; *************************************************************
2
3
; *** Scatter-Loading Description File generated by uVision ***
3
4
; *************************************************************
4
5
5
- LR_IROM1 0x00000000 0x00040000 { ; load region size_region
6
- ER_IROM1 0x00000000 0x00040000 { ; load address = execution address
6
+ #if !defined(MBED_APP_START)
7
+ #define MBED_APP_START 0x00000000
8
+ #endif
9
+
10
+ #if !defined(MBED_APP_SIZE)
11
+ #define MBED_APP_SIZE 0x00040000
12
+ #endif
13
+
14
+ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
15
+ ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
7
16
*.o (RESET, +First)
8
17
*(InRoot$$Sections)
9
18
.ANY (+RO)
You can’t perform that action at this time.
0 commit comments