1818** Distribution: The file is distributed as is, without any warranty
1919** of any kind.
2020**
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.
2847**
2948*****************************************************************************
3049*/
@@ -35,21 +54,14 @@ ENTRY(Reset_Handler)
3554/* Highest address of the user mode stack */
3655_estack = 0x20050000; /* end of RAM */
3756/* 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 */
4059
4160/* Specify the memory areas */
4261MEMORY
4362{
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
5365}
5466
5567/* Define output sections */
@@ -169,13 +181,4 @@ SECTIONS
169181 }
170182
171183 .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
179184}
180-
181-
0 commit comments