File tree 2 files changed +11
-18
lines changed
2 files changed +11
-18
lines changed Original file line number Diff line number Diff line change 3
3
SEARCH_DIR (. )
4
4
GROUP (-lgcc -lc -lnosys )
5
5
6
- NOINIT_SIZE = 0x100;
7
- RAM_SIZE = 64K;
8
-
9
6
MEMORY
10
7
{
11
8
FLASH (rx) : ORIGIN = 0x08020, LENGTH = 0x78000
12
- RAM (rwx) : ORIGIN = 0x20000000, LENGTH = RAM_SIZE - NOINIT_SIZE
13
- NOINIT (rwx) : ORIGIN = ORIGIN (RAM) + LENGTH (RAM), LENGTH = NOINIT_SIZE
9
+ RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
14
10
}
15
11
16
12
SECTIONS
17
13
{
18
- noinit (NOLOAD) :
14
+ . noinit(NOLOAD) :
19
15
{
20
16
PROVIDE (__start_noinit_data = .);
21
- KEEP( *(.noinit) )
17
+ *(.noinit)
22
18
PROVIDE (__stop_noinit_data = .);
23
- } >NOINIT
24
- }
19
+ } > RAM
20
+ } INSERT AFTER .bss
25
21
26
22
SECTIONS
27
23
{
Original file line number Diff line number Diff line change 3
3
SEARCH_DIR (. )
4
4
GROUP (-lgcc -lc -lnosys )
5
5
6
- NOINIT_SIZE = 0x100;
7
- RAM_SIZE = 64K;
8
-
9
6
MEMORY
10
7
{
11
8
FLASH (rx) : ORIGIN = 0x00000, LENGTH = 0x78000
12
- RAM (rwx) : ORIGIN = 0x20000000, LENGTH = RAM_SIZE - NOINIT_SIZE
13
- NOINIT (rwx) : ORIGIN = ORIGIN (RAM) + LENGTH (RAM), LENGTH = NOINIT_SIZE
9
+ RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
14
10
}
15
11
16
12
SECTIONS
17
13
{
18
- noinit (NOLOAD) :
14
+ . noinit(NOLOAD) :
19
15
{
20
16
PROVIDE (__start_noinit_data = .);
21
- KEEP( *(.noinit) )
17
+ *(.noinit)
22
18
PROVIDE (__stop_noinit_data = .);
23
- } >NOINIT
24
- }
19
+ } > RAM
20
+ } INSERT AFTER .bss
25
21
26
22
SECTIONS
27
23
{
@@ -54,6 +50,7 @@ SECTIONS
54
50
PROVIDE (__stop_log_filter_data = .);
55
51
} > RAM
56
52
53
+
57
54
} INSERT AFTER .data;
58
55
59
56
SECTIONS
You can’t perform that action at this time.
0 commit comments