[11U68]fix P0_11 to use GPIO

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Thu Jul 02 16:15:09 2015 +0100
Revision:
580:3c14cb9b87c5
Synchronized with git revision 213caf296f26963a7bea129b8ec4f33bbd1e6588

Full URL: https://github.com/mbedmicro/mbed/commit/213caf296f26963a7bea129b8ec4f33bbd1e6588/

commit of mps2

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 580:3c14cb9b87c5 1 ; MPS2 CMSIS Library
mbed_official 580:3c14cb9b87c5 2 ;
mbed_official 580:3c14cb9b87c5 3 ; Copyright (c) 2006-2015 ARM Limited
mbed_official 580:3c14cb9b87c5 4 ; All rights reserved.
mbed_official 580:3c14cb9b87c5 5 ;
mbed_official 580:3c14cb9b87c5 6 ; Redistribution and use in source and binary forms, with or without
mbed_official 580:3c14cb9b87c5 7 ; modification, are permitted provided that the following conditions are met:
mbed_official 580:3c14cb9b87c5 8 ;
mbed_official 580:3c14cb9b87c5 9 ; 1. Redistributions of source code must retain the above copyright notice,
mbed_official 580:3c14cb9b87c5 10 ; this list of conditions and the following disclaimer.
mbed_official 580:3c14cb9b87c5 11 ;
mbed_official 580:3c14cb9b87c5 12 ; 2. Redistributions in binary form must reproduce the above copyright notice,
mbed_official 580:3c14cb9b87c5 13 ; this list of conditions and the following disclaimer in the documentation
mbed_official 580:3c14cb9b87c5 14 ; and/or other materials provided with the distribution.
mbed_official 580:3c14cb9b87c5 15 ;
mbed_official 580:3c14cb9b87c5 16 ; 3. Neither the name of the copyright holder nor the names of its contributors
mbed_official 580:3c14cb9b87c5 17 ; may be used to endorse or promote products derived from this software without
mbed_official 580:3c14cb9b87c5 18 ; specific prior written permission.
mbed_official 580:3c14cb9b87c5 19 ;
mbed_official 580:3c14cb9b87c5 20 ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
mbed_official 580:3c14cb9b87c5 21 ; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
mbed_official 580:3c14cb9b87c5 22 ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
mbed_official 580:3c14cb9b87c5 23 ; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
mbed_official 580:3c14cb9b87c5 24 ; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
mbed_official 580:3c14cb9b87c5 25 ; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
mbed_official 580:3c14cb9b87c5 26 ; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
mbed_official 580:3c14cb9b87c5 27 ; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
mbed_official 580:3c14cb9b87c5 28 ; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
mbed_official 580:3c14cb9b87c5 29 ; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
mbed_official 580:3c14cb9b87c5 30 ; POSSIBILITY OF SUCH DAMAGE.
mbed_official 580:3c14cb9b87c5 31 ;******************************************************************************
mbed_official 580:3c14cb9b87c5 32 ; @file startup_CMSDK_CM7.s
mbed_official 580:3c14cb9b87c5 33 ; @brief CMSIS Core Device Startup File for
mbed_official 580:3c14cb9b87c5 34 ; CMSDK_CM7 Device
mbed_official 580:3c14cb9b87c5 35 ; @version V1.00
mbed_official 580:3c14cb9b87c5 36 ; @date 04. February 2015
mbed_official 580:3c14cb9b87c5 37 ;
mbed_official 580:3c14cb9b87c5 38 ; @note
mbed_official 580:3c14cb9b87c5 39 ;******************************************************************************
mbed_official 580:3c14cb9b87c5 40 ;
mbed_official 580:3c14cb9b87c5 41 ;-------- <<< Use Configuration Wizard in Context Menu >>> ------------------
mbed_official 580:3c14cb9b87c5 42 ;
mbed_official 580:3c14cb9b87c5 43
mbed_official 580:3c14cb9b87c5 44
mbed_official 580:3c14cb9b87c5 45 ; <h> Stack Configuration
mbed_official 580:3c14cb9b87c5 46 ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
mbed_official 580:3c14cb9b87c5 47 ; </h>
mbed_official 580:3c14cb9b87c5 48
mbed_official 580:3c14cb9b87c5 49 Stack_Size EQU 0x00004000
mbed_official 580:3c14cb9b87c5 50
mbed_official 580:3c14cb9b87c5 51 AREA STACK, NOINIT, READWRITE, ALIGN=3
mbed_official 580:3c14cb9b87c5 52 Stack_Mem SPACE Stack_Size
mbed_official 580:3c14cb9b87c5 53 __initial_sp
mbed_official 580:3c14cb9b87c5 54
mbed_official 580:3c14cb9b87c5 55
mbed_official 580:3c14cb9b87c5 56 ; <h> Heap Configuration
mbed_official 580:3c14cb9b87c5 57 ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
mbed_official 580:3c14cb9b87c5 58 ; </h>
mbed_official 580:3c14cb9b87c5 59
mbed_official 580:3c14cb9b87c5 60 Heap_Size EQU 0x00001000
mbed_official 580:3c14cb9b87c5 61
mbed_official 580:3c14cb9b87c5 62 AREA HEAP, NOINIT, READWRITE, ALIGN=3
mbed_official 580:3c14cb9b87c5 63 __heap_base
mbed_official 580:3c14cb9b87c5 64 Heap_Mem SPACE Heap_Size
mbed_official 580:3c14cb9b87c5 65 __heap_limit
mbed_official 580:3c14cb9b87c5 66
mbed_official 580:3c14cb9b87c5 67
mbed_official 580:3c14cb9b87c5 68 PRESERVE8
mbed_official 580:3c14cb9b87c5 69 THUMB
mbed_official 580:3c14cb9b87c5 70
mbed_official 580:3c14cb9b87c5 71
mbed_official 580:3c14cb9b87c5 72 ; Vector Table Mapped to Address 0 at Reset
mbed_official 580:3c14cb9b87c5 73
mbed_official 580:3c14cb9b87c5 74 AREA RESET, DATA, READONLY
mbed_official 580:3c14cb9b87c5 75 EXPORT __Vectors
mbed_official 580:3c14cb9b87c5 76 EXPORT __Vectors_End
mbed_official 580:3c14cb9b87c5 77 EXPORT __Vectors_Size
mbed_official 580:3c14cb9b87c5 78
mbed_official 580:3c14cb9b87c5 79 __Vectors DCD __initial_sp ; Top of Stack
mbed_official 580:3c14cb9b87c5 80 DCD Reset_Handler ; Reset Handler
mbed_official 580:3c14cb9b87c5 81 DCD NMI_Handler ; NMI Handler
mbed_official 580:3c14cb9b87c5 82 DCD HardFault_Handler ; Hard Fault Handler
mbed_official 580:3c14cb9b87c5 83 DCD MemManage_Handler ; MPU Fault Handler
mbed_official 580:3c14cb9b87c5 84 DCD BusFault_Handler ; Bus Fault Handler
mbed_official 580:3c14cb9b87c5 85 DCD UsageFault_Handler ; Usage Fault Handler
mbed_official 580:3c14cb9b87c5 86 DCD 0 ; Reserved
mbed_official 580:3c14cb9b87c5 87 DCD 0 ; Reserved
mbed_official 580:3c14cb9b87c5 88 DCD 0 ; Reserved
mbed_official 580:3c14cb9b87c5 89 DCD 0 ; Reserved
mbed_official 580:3c14cb9b87c5 90 DCD SVC_Handler ; SVCall Handler
mbed_official 580:3c14cb9b87c5 91 DCD DebugMon_Handler ; Debug Monitor Handler
mbed_official 580:3c14cb9b87c5 92 DCD 0 ; Reserved
mbed_official 580:3c14cb9b87c5 93 DCD PendSV_Handler ; PendSV Handler
mbed_official 580:3c14cb9b87c5 94 DCD SysTick_Handler ; SysTick Handler
mbed_official 580:3c14cb9b87c5 95
mbed_official 580:3c14cb9b87c5 96 ; External Interrupts
mbed_official 580:3c14cb9b87c5 97 DCD UARTRX0_Handler ; UART 0 RX Handler
mbed_official 580:3c14cb9b87c5 98 DCD UARTTX0_Handler ; UART 0 TX Handler
mbed_official 580:3c14cb9b87c5 99 DCD UARTRX1_Handler ; UART 1 RX Handler
mbed_official 580:3c14cb9b87c5 100 DCD UARTTX1_Handler ; UART 1 TX Handler
mbed_official 580:3c14cb9b87c5 101 DCD UARTRX2_Handler ; UART 2 RX Handler
mbed_official 580:3c14cb9b87c5 102 DCD UARTTX2_Handler ; UART 2 TX Handler
mbed_official 580:3c14cb9b87c5 103 DCD PORT0_COMB_Handler ; GPIO Port 0 Combined Handler
mbed_official 580:3c14cb9b87c5 104 DCD PORT1_COMB_Handler ; GPIO Port 1 Combined Handler
mbed_official 580:3c14cb9b87c5 105 DCD TIMER0_Handler ; TIMER 0 handler
mbed_official 580:3c14cb9b87c5 106 DCD TIMER1_Handler ; TIMER 1 handler
mbed_official 580:3c14cb9b87c5 107 DCD DUALTIMER_HANDLER ; Dual timer handler
mbed_official 580:3c14cb9b87c5 108 DCD SPI_Handler ; SPI exceptions Handler
mbed_official 580:3c14cb9b87c5 109 DCD UARTOVF_Handler ; UART 0,1,2 Overflow Handler
mbed_official 580:3c14cb9b87c5 110 DCD ETHERNET_Handler ; Ethernet Overflow Handler
mbed_official 580:3c14cb9b87c5 111 DCD I2S_Handler ; I2S Handler
mbed_official 580:3c14cb9b87c5 112 DCD TSC_Handler ; Touch Screen handler
mbed_official 580:3c14cb9b87c5 113 DCD PORT0_0_Handler ; GPIO Port 0 pin 0 Handler
mbed_official 580:3c14cb9b87c5 114 DCD PORT0_1_Handler ; GPIO Port 0 pin 1 Handler
mbed_official 580:3c14cb9b87c5 115 DCD PORT0_2_Handler ; GPIO Port 0 pin 2 Handler
mbed_official 580:3c14cb9b87c5 116 DCD PORT0_3_Handler ; GPIO Port 0 pin 3 Handler
mbed_official 580:3c14cb9b87c5 117 DCD PORT0_4_Handler ; GPIO Port 0 pin 4 Handler
mbed_official 580:3c14cb9b87c5 118 DCD PORT0_5_Handler ; GPIO Port 0 pin 5 Handler
mbed_official 580:3c14cb9b87c5 119 DCD PORT0_6_Handler ; GPIO Port 0 pin 6 Handler
mbed_official 580:3c14cb9b87c5 120 DCD PORT0_7_Handler ; GPIO Port 0 pin 7 Handler
mbed_official 580:3c14cb9b87c5 121 DCD PORT0_8_Handler ; GPIO Port 0 pin 8 Handler
mbed_official 580:3c14cb9b87c5 122 DCD PORT0_9_Handler ; GPIO Port 0 pin 9 Handler
mbed_official 580:3c14cb9b87c5 123 DCD PORT0_10_Handler ; GPIO Port 0 pin 10 Handler
mbed_official 580:3c14cb9b87c5 124 DCD PORT0_11_Handler ; GPIO Port 0 pin 11 Handler
mbed_official 580:3c14cb9b87c5 125 DCD PORT0_12_Handler ; GPIO Port 0 pin 12 Handler
mbed_official 580:3c14cb9b87c5 126 DCD PORT0_13_Handler ; GPIO Port 0 pin 13 Handler
mbed_official 580:3c14cb9b87c5 127 DCD PORT0_14_Handler ; GPIO Port 0 pin 14 Handler
mbed_official 580:3c14cb9b87c5 128 DCD PORT0_15_Handler ; GPIO Port 0 pin 15 Handler
mbed_official 580:3c14cb9b87c5 129 __Vectors_End
mbed_official 580:3c14cb9b87c5 130
mbed_official 580:3c14cb9b87c5 131 __Vectors_Size EQU __Vectors_End - __Vectors
mbed_official 580:3c14cb9b87c5 132
mbed_official 580:3c14cb9b87c5 133 AREA |.text|, CODE, READONLY
mbed_official 580:3c14cb9b87c5 134
mbed_official 580:3c14cb9b87c5 135
mbed_official 580:3c14cb9b87c5 136 ; Reset Handler
mbed_official 580:3c14cb9b87c5 137
mbed_official 580:3c14cb9b87c5 138 Reset_Handler PROC
mbed_official 580:3c14cb9b87c5 139 EXPORT Reset_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 140 IMPORT SystemInit
mbed_official 580:3c14cb9b87c5 141 IMPORT __main
mbed_official 580:3c14cb9b87c5 142 LDR R0, =SystemInit
mbed_official 580:3c14cb9b87c5 143 BLX R0
mbed_official 580:3c14cb9b87c5 144 LDR R0, =__main
mbed_official 580:3c14cb9b87c5 145 BX R0
mbed_official 580:3c14cb9b87c5 146 ENDP
mbed_official 580:3c14cb9b87c5 147
mbed_official 580:3c14cb9b87c5 148
mbed_official 580:3c14cb9b87c5 149 ; Dummy Exception Handlers (infinite loops which can be modified)
mbed_official 580:3c14cb9b87c5 150
mbed_official 580:3c14cb9b87c5 151 NMI_Handler PROC
mbed_official 580:3c14cb9b87c5 152 EXPORT NMI_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 153 B .
mbed_official 580:3c14cb9b87c5 154 ENDP
mbed_official 580:3c14cb9b87c5 155 HardFault_Handler\
mbed_official 580:3c14cb9b87c5 156 PROC
mbed_official 580:3c14cb9b87c5 157 EXPORT HardFault_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 158 B .
mbed_official 580:3c14cb9b87c5 159 ENDP
mbed_official 580:3c14cb9b87c5 160 MemManage_Handler\
mbed_official 580:3c14cb9b87c5 161 PROC
mbed_official 580:3c14cb9b87c5 162 EXPORT MemManage_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 163 B .
mbed_official 580:3c14cb9b87c5 164 ENDP
mbed_official 580:3c14cb9b87c5 165 BusFault_Handler\
mbed_official 580:3c14cb9b87c5 166 PROC
mbed_official 580:3c14cb9b87c5 167 EXPORT BusFault_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 168 B .
mbed_official 580:3c14cb9b87c5 169 ENDP
mbed_official 580:3c14cb9b87c5 170 UsageFault_Handler\
mbed_official 580:3c14cb9b87c5 171 PROC
mbed_official 580:3c14cb9b87c5 172 EXPORT UsageFault_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 173 B .
mbed_official 580:3c14cb9b87c5 174 ENDP
mbed_official 580:3c14cb9b87c5 175 SVC_Handler PROC
mbed_official 580:3c14cb9b87c5 176 EXPORT SVC_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 177 B .
mbed_official 580:3c14cb9b87c5 178 ENDP
mbed_official 580:3c14cb9b87c5 179 DebugMon_Handler\
mbed_official 580:3c14cb9b87c5 180 PROC
mbed_official 580:3c14cb9b87c5 181 EXPORT DebugMon_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 182 B .
mbed_official 580:3c14cb9b87c5 183 ENDP
mbed_official 580:3c14cb9b87c5 184 PendSV_Handler PROC
mbed_official 580:3c14cb9b87c5 185 EXPORT PendSV_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 186 B .
mbed_official 580:3c14cb9b87c5 187 ENDP
mbed_official 580:3c14cb9b87c5 188 SysTick_Handler PROC
mbed_official 580:3c14cb9b87c5 189 EXPORT SysTick_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 190 B .
mbed_official 580:3c14cb9b87c5 191 ENDP
mbed_official 580:3c14cb9b87c5 192
mbed_official 580:3c14cb9b87c5 193 Default_Handler PROC
mbed_official 580:3c14cb9b87c5 194 EXPORT UARTRX0_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 195 EXPORT UARTTX0_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 196 EXPORT UARTRX1_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 197 EXPORT UARTTX1_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 198 EXPORT UARTRX2_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 199 EXPORT UARTTX2_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 200 EXPORT PORT0_COMB_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 201 EXPORT PORT1_COMB_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 202 EXPORT TIMER0_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 203 EXPORT TIMER1_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 204 EXPORT DUALTIMER_HANDLER [WEAK]
mbed_official 580:3c14cb9b87c5 205 EXPORT SPI_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 206 EXPORT UARTOVF_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 207 EXPORT ETHERNET_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 208 EXPORT I2S_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 209 EXPORT TSC_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 210 EXPORT PORT0_0_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 211 EXPORT PORT0_1_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 212 EXPORT PORT0_2_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 213 EXPORT PORT0_3_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 214 EXPORT PORT0_4_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 215 EXPORT PORT0_5_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 216 EXPORT PORT0_6_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 217 EXPORT PORT0_7_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 218 EXPORT PORT0_8_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 219 EXPORT PORT0_9_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 220 EXPORT PORT0_10_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 221 EXPORT PORT0_11_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 222 EXPORT PORT0_12_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 223 EXPORT PORT0_13_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 224 EXPORT PORT0_14_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 225 EXPORT PORT0_15_Handler [WEAK]
mbed_official 580:3c14cb9b87c5 226
mbed_official 580:3c14cb9b87c5 227 UARTRX0_Handler
mbed_official 580:3c14cb9b87c5 228 UARTTX0_Handler
mbed_official 580:3c14cb9b87c5 229 UARTRX1_Handler
mbed_official 580:3c14cb9b87c5 230 UARTTX1_Handler
mbed_official 580:3c14cb9b87c5 231 UARTRX2_Handler
mbed_official 580:3c14cb9b87c5 232 UARTTX2_Handler
mbed_official 580:3c14cb9b87c5 233 PORT0_COMB_Handler
mbed_official 580:3c14cb9b87c5 234 PORT1_COMB_Handler
mbed_official 580:3c14cb9b87c5 235 TIMER0_Handler
mbed_official 580:3c14cb9b87c5 236 TIMER1_Handler
mbed_official 580:3c14cb9b87c5 237 DUALTIMER_HANDLER
mbed_official 580:3c14cb9b87c5 238 SPI_Handler
mbed_official 580:3c14cb9b87c5 239 UARTOVF_Handler
mbed_official 580:3c14cb9b87c5 240 ETHERNET_Handler
mbed_official 580:3c14cb9b87c5 241 I2S_Handler
mbed_official 580:3c14cb9b87c5 242 TSC_Handler
mbed_official 580:3c14cb9b87c5 243 PORT0_0_Handler
mbed_official 580:3c14cb9b87c5 244 PORT0_1_Handler
mbed_official 580:3c14cb9b87c5 245 PORT0_2_Handler
mbed_official 580:3c14cb9b87c5 246 PORT0_3_Handler
mbed_official 580:3c14cb9b87c5 247 PORT0_4_Handler
mbed_official 580:3c14cb9b87c5 248 PORT0_5_Handler
mbed_official 580:3c14cb9b87c5 249 PORT0_6_Handler
mbed_official 580:3c14cb9b87c5 250 PORT0_7_Handler
mbed_official 580:3c14cb9b87c5 251 PORT0_8_Handler
mbed_official 580:3c14cb9b87c5 252 PORT0_9_Handler
mbed_official 580:3c14cb9b87c5 253 PORT0_10_Handler
mbed_official 580:3c14cb9b87c5 254 PORT0_11_Handler
mbed_official 580:3c14cb9b87c5 255 PORT0_12_Handler
mbed_official 580:3c14cb9b87c5 256 PORT0_13_Handler
mbed_official 580:3c14cb9b87c5 257 PORT0_14_Handler
mbed_official 580:3c14cb9b87c5 258 PORT0_15_Handler
mbed_official 580:3c14cb9b87c5 259 B .
mbed_official 580:3c14cb9b87c5 260
mbed_official 580:3c14cb9b87c5 261 ENDP
mbed_official 580:3c14cb9b87c5 262
mbed_official 580:3c14cb9b87c5 263
mbed_official 580:3c14cb9b87c5 264 ALIGN
mbed_official 580:3c14cb9b87c5 265
mbed_official 580:3c14cb9b87c5 266
mbed_official 580:3c14cb9b87c5 267 ; User Initial Stack & Heap
mbed_official 580:3c14cb9b87c5 268
mbed_official 580:3c14cb9b87c5 269 IF :DEF:__MICROLIB
mbed_official 580:3c14cb9b87c5 270
mbed_official 580:3c14cb9b87c5 271 EXPORT __initial_sp
mbed_official 580:3c14cb9b87c5 272 EXPORT __heap_base
mbed_official 580:3c14cb9b87c5 273 EXPORT __heap_limit
mbed_official 580:3c14cb9b87c5 274
mbed_official 580:3c14cb9b87c5 275 ELSE
mbed_official 580:3c14cb9b87c5 276
mbed_official 580:3c14cb9b87c5 277 IMPORT __use_two_region_memory
mbed_official 580:3c14cb9b87c5 278 EXPORT __user_initial_stackheap
mbed_official 580:3c14cb9b87c5 279
mbed_official 580:3c14cb9b87c5 280 __user_initial_stackheap PROC
mbed_official 580:3c14cb9b87c5 281 LDR R0, = Heap_Mem
mbed_official 580:3c14cb9b87c5 282 LDR R1, =(Stack_Mem + Stack_Size)
mbed_official 580:3c14cb9b87c5 283 LDR R2, = (Heap_Mem + Heap_Size)
mbed_official 580:3c14cb9b87c5 284 LDR R3, = Stack_Mem
mbed_official 580:3c14cb9b87c5 285 BX LR
mbed_official 580:3c14cb9b87c5 286 ENDP
mbed_official 580:3c14cb9b87c5 287
mbed_official 580:3c14cb9b87c5 288 ALIGN
mbed_official 580:3c14cb9b87c5 289
mbed_official 580:3c14cb9b87c5 290 ENDIF
mbed_official 580:3c14cb9b87c5 291
mbed_official 580:3c14cb9b87c5 292
mbed_official 580:3c14cb9b87c5 293 END