File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ ENTRY(_start)
8
8
MEMORY
9
9
{
10
10
FLASH (rx) : ORIGIN = 0x20040000, LENGTH = 0x100000 /* entire flash, 1 MiB */
11
+ FLASH_FIRMWARE (rx) : ORIGIN = 0x20040000, LENGTH = 0x100000 /* entire flash, 1 MiB */
11
12
RAM (xrw) : ORIGIN = 0x10000000, LENGTH = 0x00020000 /* 128 KiB */
12
13
}
13
14
@@ -19,7 +20,7 @@ SECTIONS
19
20
{
20
21
/* This is the initialized data section
21
22
The program executes knowing that the data is in the RAM
22
- but the loader puts the initial values in the FLASH (inidata).
23
+ but the loader puts the initial values in the FLASH_FIRMWARE (inidata).
23
24
It is one task of the startup to copy the initial values from FLASH to RAM. */
24
25
.data : AT ( _sidata )
25
26
{
@@ -73,7 +74,7 @@ SECTIONS
73
74
_edata = .; /* define a global symbol at data end; used by startup code in order to initialise the .data section in RAM */
74
75
} >RAM
75
76
76
- /* The program code and other data goes into FLASH */
77
+ /* The program code and other data goes into FLASH_FIRMWARE */
77
78
.text :
78
79
{
79
80
. = ALIGN (4);
@@ -88,7 +89,7 @@ SECTIONS
88
89
. = ALIGN (4);
89
90
_etext = .; /* define a global symbol at end of code */
90
91
_sidata = _etext; /* This is used by the startup in order to initialize the .data secion */
91
- } >FLASH
92
+ } >FLASH_FIRMWARE
92
93
93
94
/* Uninitialized data section */
94
95
.bss :
You can’t perform that action at this time.
0 commit comments