1
1
/*
2
- *****************************************************************************
2
+ ******************************************************************************
3
3
**
4
4
5
5
** File : LinkerScript.ld
14
14
**
15
15
** Target : STMicroelectronics STM32
16
16
**
17
- **
18
- ** Distribution : The file is distributed as is, without any warranty
17
+ ** Distribution : The file is distributed “as is,” without any warranty
19
18
** of any kind.
20
19
**
21
20
*****************************************************************************
22
21
** @attention
23
22
**
24
- ** <h2><center>© COPYRIGHT(c) 2014 Ac6 </center></h2>
23
+ ** <h2><center>© COPYRIGHT(c) 2019 STMicroelectronics </center></h2>
25
24
**
26
25
** Redistribution and use in source and binary forms, with or without modification,
27
26
** are permitted provided that the following conditions are met :
30
29
** 2. Redistributions in binary form must reproduce the above copyright notice,
31
30
** this list of conditions and the following disclaimer in the documentation
32
31
** and/or other materials provided with the distribution.
33
- ** 3. Neither the name of Ac6 nor the names of its contributors
32
+ ** 3. Neither the name of STMicroelectronics nor the names of its contributors
34
33
** may be used to endorse or promote products derived from this software
35
34
** without specific prior written permission.
36
35
**
@@ -61,7 +60,7 @@ _Min_Stack_Size = 0x400; /* required amount of stack */
61
60
MEMORY
62
61
{
63
62
RAM (xrw ) : ORIGIN = 0x20000000, LENGTH = 128K
64
- CCMRAM (rw ) : ORIGIN = 0x10000000, LENGTH = 64K
63
+ CCMRAM (xrw ) : ORIGIN = 0x10000000, LENGTH = 64K
65
64
FLASH (rx ) : ORIGIN = 0x8000000, LENGTH = 512K
66
65
}
67
66
@@ -77,7 +76,7 @@ SECTIONS
77
76
} >FLASH
78
77
79
78
/* The program code and other data goes into FLASH */
80
- .text ALIGN (8) :
79
+ .text :
81
80
{
82
81
. = ALIGN (4);
83
82
*(.text) /* .text sections (code) */
@@ -94,7 +93,7 @@ SECTIONS
94
93
} >FLASH
95
94
96
95
/* Constant data goes into FLASH */
97
- .rodata ALIGN (4) :
96
+ .rodata :
98
97
{
99
98
. = ALIGN (4);
100
99
*(.rodata) /* .rodata sections (constants, strings, etc.) */
0 commit comments