18
18
** Distribution : The file is distributed as is, without any warranty
19
19
** of any kind.
20
20
**
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.
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.
28
47
**
29
48
*****************************************************************************
30
49
*/
@@ -35,21 +54,14 @@ ENTRY(Reset_Handler)
35
54
/* Highest address of the user mode stack */
36
55
_estack = 0x20050000; /* end of RAM */
37
56
/* Generate a link error if heap and stack don't fit into RAM */
38
- _Min_Heap_Size = 0x2000 ; /* required amount of heap */
39
- _Min_Stack_Size = 0x200 ; /* required amount of stack */
57
+ _Min_Heap_Size = 0x200 ; /* required amount of heap */
58
+ _Min_Stack_Size = 0x400 ; /* required amount of stack */
40
59
41
60
/* Specify the memory areas */
42
61
MEMORY
43
62
{
44
- FLASH (rx ) : ORIGIN = 0x08000000, LENGTH = 1024K
45
- Memory1 (xrw ) : ORIGIN = 0x20000000, LENGTH = 0xA0
46
- Memory2 (xrw ) : ORIGIN = 0x200000A0, LENGTH = 0xA0
47
- Memory3 (xrw ) : ORIGIN = 0x20000140, LENGTH = 0x1dc4
48
- Memory4 (xrw ) : ORIGIN = 0x20001F04, LENGTH = 0x1dc4
49
- RAM1 (xrw ) : ORIGIN = 0x20003CC8, LENGTH = 0x6024
50
- RAM2 (xrw ) : ORIGIN = 0x20009CEC, LENGTH = 0x7800
51
- RAM (xrw ) : ORIGIN = 0x200114EC, LENGTH = 0x3EB14
52
- QSPI (rx ) : ORIGIN = 0x90000000, LENGTH = 16M
63
+ RAM (xrw ) : ORIGIN = 0x20000000, LENGTH = 320K
64
+ FLASH (rx ) : ORIGIN = 0x8000000, LENGTH = 1024K
53
65
}
54
66
55
67
/* Define output sections */
@@ -169,13 +181,4 @@ SECTIONS
169
181
}
170
182
171
183
.ARM.attributes 0 : { *(.ARM.attributes) }
172
- .RxDecripSection (NOLOAD) : { *(.RxDecripSection) } >Memory1
173
- .TxDescripSection (NOLOAD) : { *(.TxDescripSection) } >Memory2
174
- .RxBUF (NOLOAD) : { *(.RxBUF) } >Memory3
175
- .TxBUF (NOLOAD) : { *(.TxBUF) } >Memory4
176
- .RamData1 (NOLOAD) : { *(.RamData1) } >RAM1
177
- .RamData2 (NOLOAD) : { *(.RamData2) } >RAM2
178
- .ExtQSPIFlashSection : { *(.ExtQSPIFlashSection) } >QSPI
179
184
}
180
-
181
-
0 commit comments