4
4
5
5
** File : LinkerScript.ld
6
6
**
7
- ** Abstract : Linker script for STM32F746NGHx Device with
8
- ** 1024KByte FLASH, 320KByte RAM
7
+ ** Abstract : Linker script for STM32F767ZITx Device with
8
+ ** 2048KByte FLASH, 512KByte RAM
9
9
**
10
10
** Set heap size, stack size and stack location according
11
11
** to application requirements.
18
18
** Distribution : The file is distributed as is, without any warranty
19
19
** of any kind.
20
20
**
21
- *****************************************************************************
22
- ** @attention
23
- **
24
- ** <h2><center>© COPYRIGHT(c) 2014 Ac6</center></h2>
25
- **
26
- ** Redistribution and use in source and binary forms, with or without modification,
27
- ** are permitted provided that the following conditions are met :
28
- ** 1. Redistributions of source code must retain the above copyright notice,
29
- ** this list of conditions and the following disclaimer.
30
- ** 2. Redistributions in binary form must reproduce the above copyright notice,
31
- ** this list of conditions and the following disclaimer in the documentation
32
- ** and/or other materials provided with the distribution.
33
- ** 3. Neither the name of Ac6 nor the names of its contributors
34
- ** may be used to endorse or promote products derived from this software
35
- ** without specific prior written permission.
36
- **
37
- ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
38
- ** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
39
- ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
40
- ** DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
41
- ** FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
42
- ** DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
43
- ** SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
44
- ** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
45
- ** OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
46
- ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21
+ ** (c )Copyright Ac6.
22
+ ** You may use this file as-is or modify it according to the needs of your
23
+ ** project. Distribution of this file (unmodified or modified) is not
24
+ ** permitted. Ac6 permit registered System Workbench for MCU users the
25
+ ** rights to distribute the assembled, compiled & linked contents of this
26
+ ** file as part of an application binary file, provided that it is built
27
+ ** using the System Workbench for MCU toolchain.
47
28
**
48
29
*****************************************************************************
49
30
*/
52
33
ENTRY (Reset_Handler )
53
34
54
35
/* Highest address of the user mode stack */
55
- _estack = 0x20050000 ; /* end of RAM */
36
+ _estack = 0x20080000 ; /* end of RAM */
56
37
/* Generate a link error if heap and stack don't fit into RAM */
57
38
_Min_Heap_Size = 0x200; /* required amount of heap */
58
39
_Min_Stack_Size = 0x400; /* required amount of stack */
59
40
60
41
/* Specify the memory areas */
61
42
MEMORY
62
43
{
63
- RAM (xrw ) : ORIGIN = 0x20000000, LENGTH = 320K
64
- FLASH (rx ) : ORIGIN = 0x8000000, LENGTH = 1024K
44
+ RAM (xrw ) : ORIGIN = 0x20000000, LENGTH = 512K
45
+ FLASH (rx ) : ORIGIN = 0x8000000, LENGTH = 2048K
65
46
}
66
47
67
48
/* Define output sections */
@@ -76,7 +57,7 @@ SECTIONS
76
57
} >FLASH
77
58
78
59
/* The program code and other data goes into FLASH */
79
- .text ALIGN (4) :
60
+ .text :
80
61
{
81
62
. = ALIGN (4);
82
63
*(.text) /* .text sections (code) */
0 commit comments