I don't know

Dependents:   MX106-finaltest

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Mon Jul 20 09:00:09 2015 +0100
Revision:
593:78ee8643776a
Parent:
577:15494b56c2f3
Synchronized with git revision a68b724d07788e6389ea4d52c622aad767953758

Full URL: https://github.com/mbedmicro/mbed/commit/a68b724d07788e6389ea4d52c622aad767953758/

[Silicon Labs] Bring EFM32 HAL up to date

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 525:c320967f86b9 1 ;/**************************************************************************//**
mbed_official 525:c320967f86b9 2 ; * @file startup_efm32gg.s
mbed_official 525:c320967f86b9 3 ; * @brief CMSIS Core Device Startup File for
mbed_official 525:c320967f86b9 4 ; * Silicon Labs EFM32GG Device Series
mbed_official 525:c320967f86b9 5 ; * @version 3.20.6
mbed_official 525:c320967f86b9 6 ; * @date 03. February 2012
mbed_official 525:c320967f86b9 7 ; *
mbed_official 525:c320967f86b9 8 ; * @note
mbed_official 525:c320967f86b9 9 ; * Copyright (C) 2012 ARM Limited. All rights reserved.
mbed_official 525:c320967f86b9 10 ; *
mbed_official 525:c320967f86b9 11 ; * @par
mbed_official 525:c320967f86b9 12 ; * ARM Limited (ARM) is supplying this software for use with Cortex-M
mbed_official 525:c320967f86b9 13 ; * processor based microcontrollers. This file can be freely distributed
mbed_official 525:c320967f86b9 14 ; * within development tools that are supporting such ARM based processors.
mbed_official 525:c320967f86b9 15 ; *
mbed_official 525:c320967f86b9 16 ; * @par
mbed_official 525:c320967f86b9 17 ; * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
mbed_official 525:c320967f86b9 18 ; * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
mbed_official 525:c320967f86b9 19 ; * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
mbed_official 525:c320967f86b9 20 ; * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
mbed_official 525:c320967f86b9 21 ; * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
mbed_official 525:c320967f86b9 22 ; *
mbed_official 525:c320967f86b9 23 ; ******************************************************************************/
mbed_official 525:c320967f86b9 24 ;/*
mbed_official 525:c320967f86b9 25 ;//-------- <<< Use Configuration Wizard in Context Menu >>> ------------------
mbed_official 525:c320967f86b9 26 ;*/
mbed_official 525:c320967f86b9 27
mbed_official 525:c320967f86b9 28 ; <h> Stack Configuration
mbed_official 525:c320967f86b9 29 ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
mbed_official 525:c320967f86b9 30 ; </h>
mbed_official 525:c320967f86b9 31
mbed_official 525:c320967f86b9 32 Stack_Size EQU 0x00000400
mbed_official 525:c320967f86b9 33
mbed_official 525:c320967f86b9 34 AREA STACK, NOINIT, READWRITE, ALIGN=3
mbed_official 525:c320967f86b9 35 Stack_Mem SPACE Stack_Size
mbed_official 593:78ee8643776a 36 __initial_sp EQU 0x20020000
mbed_official 525:c320967f86b9 37
mbed_official 525:c320967f86b9 38
mbed_official 525:c320967f86b9 39 ; <h> Heap Configuration
mbed_official 525:c320967f86b9 40 ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
mbed_official 525:c320967f86b9 41 ; </h>
mbed_official 525:c320967f86b9 42
mbed_official 525:c320967f86b9 43 Heap_Size EQU 0x00000C00
mbed_official 525:c320967f86b9 44
mbed_official 525:c320967f86b9 45 AREA HEAP, NOINIT, READWRITE, ALIGN=3
mbed_official 525:c320967f86b9 46 __heap_base
mbed_official 525:c320967f86b9 47 Heap_Mem SPACE Heap_Size
mbed_official 525:c320967f86b9 48 __heap_limit
mbed_official 525:c320967f86b9 49
mbed_official 525:c320967f86b9 50
mbed_official 525:c320967f86b9 51 PRESERVE8
mbed_official 525:c320967f86b9 52 THUMB
mbed_official 525:c320967f86b9 53
mbed_official 525:c320967f86b9 54
mbed_official 525:c320967f86b9 55 ; Vector Table Mapped to Address 0 at Reset
mbed_official 525:c320967f86b9 56
mbed_official 525:c320967f86b9 57 AREA RESET, DATA, READONLY, ALIGN=8
mbed_official 525:c320967f86b9 58 EXPORT __Vectors
mbed_official 525:c320967f86b9 59 EXPORT __Vectors_End
mbed_official 525:c320967f86b9 60 EXPORT __Vectors_Size
mbed_official 525:c320967f86b9 61
mbed_official 525:c320967f86b9 62 __Vectors DCD __initial_sp ; Top of Stack
mbed_official 525:c320967f86b9 63 DCD Reset_Handler ; Reset Handler
mbed_official 525:c320967f86b9 64 DCD NMI_Handler ; NMI Handler
mbed_official 525:c320967f86b9 65 DCD HardFault_Handler ; Hard Fault Handler
mbed_official 525:c320967f86b9 66 DCD MemManage_Handler ; MPU Fault Handler
mbed_official 525:c320967f86b9 67 DCD BusFault_Handler ; Bus Fault Handler
mbed_official 525:c320967f86b9 68 DCD UsageFault_Handler ; Usage Fault Handler
mbed_official 525:c320967f86b9 69 DCD 0 ; Reserved
mbed_official 525:c320967f86b9 70 DCD 0 ; Reserved
mbed_official 525:c320967f86b9 71 DCD 0 ; Reserved
mbed_official 525:c320967f86b9 72 DCD 0 ; Reserved
mbed_official 525:c320967f86b9 73 DCD SVC_Handler ; SVCall Handler
mbed_official 525:c320967f86b9 74 DCD DebugMon_Handler ; Debug Monitor Handler
mbed_official 525:c320967f86b9 75 DCD 0 ; Reserved
mbed_official 525:c320967f86b9 76 DCD PendSV_Handler ; PendSV Handler
mbed_official 525:c320967f86b9 77 DCD SysTick_Handler ; SysTick Handler
mbed_official 525:c320967f86b9 78
mbed_official 525:c320967f86b9 79 ; External Interrupts
mbed_official 525:c320967f86b9 80
mbed_official 525:c320967f86b9 81 DCD DMA_IRQHandler ; 0: DMA Interrupt
mbed_official 525:c320967f86b9 82 DCD GPIO_EVEN_IRQHandler ; 1: GPIO_EVEN Interrupt
mbed_official 525:c320967f86b9 83 DCD TIMER0_IRQHandler ; 2: TIMER0 Interrupt
mbed_official 525:c320967f86b9 84 DCD USART0_RX_IRQHandler ; 3: USART0_RX Interrupt
mbed_official 525:c320967f86b9 85 DCD USART0_TX_IRQHandler ; 4: USART0_TX Interrupt
mbed_official 525:c320967f86b9 86 DCD USB_IRQHandler ; 5: USB Interrupt
mbed_official 525:c320967f86b9 87 DCD ACMP0_IRQHandler ; 6: ACMP0 Interrupt
mbed_official 525:c320967f86b9 88 DCD ADC0_IRQHandler ; 7: ADC0 Interrupt
mbed_official 525:c320967f86b9 89 DCD DAC0_IRQHandler ; 8: DAC0 Interrupt
mbed_official 525:c320967f86b9 90 DCD I2C0_IRQHandler ; 9: I2C0 Interrupt
mbed_official 525:c320967f86b9 91 DCD I2C1_IRQHandler ; 10: I2C1 Interrupt
mbed_official 525:c320967f86b9 92 DCD GPIO_ODD_IRQHandler ; 11: GPIO_ODD Interrupt
mbed_official 525:c320967f86b9 93 DCD TIMER1_IRQHandler ; 12: TIMER1 Interrupt
mbed_official 525:c320967f86b9 94 DCD TIMER2_IRQHandler ; 13: TIMER2 Interrupt
mbed_official 525:c320967f86b9 95 DCD TIMER3_IRQHandler ; 14: TIMER3 Interrupt
mbed_official 525:c320967f86b9 96 DCD USART1_RX_IRQHandler ; 15: USART1_RX Interrupt
mbed_official 525:c320967f86b9 97 DCD USART1_TX_IRQHandler ; 16: USART1_TX Interrupt
mbed_official 525:c320967f86b9 98 DCD LESENSE_IRQHandler ; 17: LESENSE Interrupt
mbed_official 525:c320967f86b9 99 DCD USART2_RX_IRQHandler ; 18: USART2_RX Interrupt
mbed_official 525:c320967f86b9 100 DCD USART2_TX_IRQHandler ; 19: USART2_TX Interrupt
mbed_official 525:c320967f86b9 101 DCD UART0_RX_IRQHandler ; 20: UART0_RX Interrupt
mbed_official 525:c320967f86b9 102 DCD UART0_TX_IRQHandler ; 21: UART0_TX Interrupt
mbed_official 525:c320967f86b9 103 DCD UART1_RX_IRQHandler ; 22: UART1_RX Interrupt
mbed_official 525:c320967f86b9 104 DCD UART1_TX_IRQHandler ; 23: UART1_TX Interrupt
mbed_official 525:c320967f86b9 105 DCD LEUART0_IRQHandler ; 24: LEUART0 Interrupt
mbed_official 525:c320967f86b9 106 DCD LEUART1_IRQHandler ; 25: LEUART1 Interrupt
mbed_official 525:c320967f86b9 107 DCD LETIMER0_IRQHandler ; 26: LETIMER0 Interrupt
mbed_official 525:c320967f86b9 108 DCD PCNT0_IRQHandler ; 27: PCNT0 Interrupt
mbed_official 525:c320967f86b9 109 DCD PCNT1_IRQHandler ; 28: PCNT1 Interrupt
mbed_official 525:c320967f86b9 110 DCD PCNT2_IRQHandler ; 29: PCNT2 Interrupt
mbed_official 525:c320967f86b9 111 DCD RTC_IRQHandler ; 30: RTC Interrupt
mbed_official 525:c320967f86b9 112 DCD BURTC_IRQHandler ; 31: BURTC Interrupt
mbed_official 525:c320967f86b9 113 DCD CMU_IRQHandler ; 32: CMU Interrupt
mbed_official 525:c320967f86b9 114 DCD VCMP_IRQHandler ; 33: VCMP Interrupt
mbed_official 525:c320967f86b9 115 DCD LCD_IRQHandler ; 34: LCD Interrupt
mbed_official 525:c320967f86b9 116 DCD MSC_IRQHandler ; 35: MSC Interrupt
mbed_official 525:c320967f86b9 117 DCD AES_IRQHandler ; 36: AES Interrupt
mbed_official 525:c320967f86b9 118 DCD EBI_IRQHandler ; 37: EBI Interrupt
mbed_official 525:c320967f86b9 119 DCD EMU_IRQHandler ; 38: EMU Interrupt
mbed_official 525:c320967f86b9 120
mbed_official 525:c320967f86b9 121 __Vectors_End
mbed_official 525:c320967f86b9 122 __Vectors_Size EQU __Vectors_End - __Vectors
mbed_official 525:c320967f86b9 123
mbed_official 525:c320967f86b9 124 AREA |.text|, CODE, READONLY
mbed_official 525:c320967f86b9 125
mbed_official 525:c320967f86b9 126
mbed_official 525:c320967f86b9 127 ; Reset Handler
mbed_official 525:c320967f86b9 128
mbed_official 525:c320967f86b9 129 Reset_Handler PROC
mbed_official 525:c320967f86b9 130 EXPORT Reset_Handler [WEAK]
mbed_official 525:c320967f86b9 131 IMPORT SystemInit
mbed_official 525:c320967f86b9 132 IMPORT __main
mbed_official 525:c320967f86b9 133 LDR R0, =SystemInit
mbed_official 525:c320967f86b9 134 BLX R0
mbed_official 525:c320967f86b9 135 LDR R0, =__main
mbed_official 525:c320967f86b9 136 BX R0
mbed_official 525:c320967f86b9 137 ENDP
mbed_official 525:c320967f86b9 138
mbed_official 525:c320967f86b9 139
mbed_official 525:c320967f86b9 140 ; Dummy Exception Handlers (infinite loops which can be modified)
mbed_official 525:c320967f86b9 141
mbed_official 525:c320967f86b9 142 NMI_Handler PROC
mbed_official 525:c320967f86b9 143 EXPORT NMI_Handler [WEAK]
mbed_official 525:c320967f86b9 144 B .
mbed_official 525:c320967f86b9 145 ENDP
mbed_official 525:c320967f86b9 146 HardFault_Handler\
mbed_official 525:c320967f86b9 147 PROC
mbed_official 525:c320967f86b9 148 EXPORT HardFault_Handler [WEAK]
mbed_official 525:c320967f86b9 149 B .
mbed_official 525:c320967f86b9 150 ENDP
mbed_official 525:c320967f86b9 151 MemManage_Handler\
mbed_official 525:c320967f86b9 152 PROC
mbed_official 525:c320967f86b9 153 EXPORT MemManage_Handler [WEAK]
mbed_official 525:c320967f86b9 154 B .
mbed_official 525:c320967f86b9 155 ENDP
mbed_official 525:c320967f86b9 156 BusFault_Handler\
mbed_official 525:c320967f86b9 157 PROC
mbed_official 525:c320967f86b9 158 EXPORT BusFault_Handler [WEAK]
mbed_official 525:c320967f86b9 159 B .
mbed_official 525:c320967f86b9 160 ENDP
mbed_official 525:c320967f86b9 161 UsageFault_Handler\
mbed_official 525:c320967f86b9 162 PROC
mbed_official 525:c320967f86b9 163 EXPORT UsageFault_Handler [WEAK]
mbed_official 525:c320967f86b9 164 B .
mbed_official 525:c320967f86b9 165 ENDP
mbed_official 525:c320967f86b9 166 SVC_Handler PROC
mbed_official 525:c320967f86b9 167 EXPORT SVC_Handler [WEAK]
mbed_official 525:c320967f86b9 168 B .
mbed_official 525:c320967f86b9 169 ENDP
mbed_official 525:c320967f86b9 170 DebugMon_Handler\
mbed_official 525:c320967f86b9 171 PROC
mbed_official 525:c320967f86b9 172 EXPORT DebugMon_Handler [WEAK]
mbed_official 525:c320967f86b9 173 B .
mbed_official 525:c320967f86b9 174 ENDP
mbed_official 525:c320967f86b9 175 PendSV_Handler PROC
mbed_official 525:c320967f86b9 176 EXPORT PendSV_Handler [WEAK]
mbed_official 525:c320967f86b9 177 B .
mbed_official 525:c320967f86b9 178 ENDP
mbed_official 525:c320967f86b9 179 SysTick_Handler PROC
mbed_official 525:c320967f86b9 180 EXPORT SysTick_Handler [WEAK]
mbed_official 525:c320967f86b9 181 B .
mbed_official 525:c320967f86b9 182 ENDP
mbed_official 525:c320967f86b9 183
mbed_official 525:c320967f86b9 184 Default_Handler PROC
mbed_official 525:c320967f86b9 185 EXPORT DMA_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 186 EXPORT GPIO_EVEN_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 187 EXPORT TIMER0_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 188 EXPORT USART0_RX_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 189 EXPORT USART0_TX_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 190 EXPORT USB_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 191 EXPORT ACMP0_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 192 EXPORT ADC0_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 193 EXPORT DAC0_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 194 EXPORT I2C0_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 195 EXPORT I2C1_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 196 EXPORT GPIO_ODD_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 197 EXPORT TIMER1_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 198 EXPORT TIMER2_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 199 EXPORT TIMER3_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 200 EXPORT USART1_RX_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 201 EXPORT USART1_TX_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 202 EXPORT LESENSE_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 203 EXPORT USART2_RX_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 204 EXPORT USART2_TX_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 205 EXPORT UART0_RX_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 206 EXPORT UART0_TX_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 207 EXPORT UART1_RX_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 208 EXPORT UART1_TX_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 209 EXPORT LEUART0_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 210 EXPORT LEUART1_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 211 EXPORT LETIMER0_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 212 EXPORT PCNT0_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 213 EXPORT PCNT1_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 214 EXPORT PCNT2_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 215 EXPORT RTC_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 216 EXPORT BURTC_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 217 EXPORT CMU_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 218 EXPORT VCMP_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 219 EXPORT LCD_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 220 EXPORT MSC_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 221 EXPORT AES_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 222 EXPORT EBI_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 223 EXPORT EMU_IRQHandler [WEAK]
mbed_official 525:c320967f86b9 224
mbed_official 525:c320967f86b9 225
mbed_official 525:c320967f86b9 226 DMA_IRQHandler
mbed_official 525:c320967f86b9 227 GPIO_EVEN_IRQHandler
mbed_official 525:c320967f86b9 228 TIMER0_IRQHandler
mbed_official 525:c320967f86b9 229 USART0_RX_IRQHandler
mbed_official 525:c320967f86b9 230 USART0_TX_IRQHandler
mbed_official 525:c320967f86b9 231 USB_IRQHandler
mbed_official 525:c320967f86b9 232 ACMP0_IRQHandler
mbed_official 525:c320967f86b9 233 ADC0_IRQHandler
mbed_official 525:c320967f86b9 234 DAC0_IRQHandler
mbed_official 525:c320967f86b9 235 I2C0_IRQHandler
mbed_official 525:c320967f86b9 236 I2C1_IRQHandler
mbed_official 525:c320967f86b9 237 GPIO_ODD_IRQHandler
mbed_official 525:c320967f86b9 238 TIMER1_IRQHandler
mbed_official 525:c320967f86b9 239 TIMER2_IRQHandler
mbed_official 525:c320967f86b9 240 TIMER3_IRQHandler
mbed_official 525:c320967f86b9 241 USART1_RX_IRQHandler
mbed_official 525:c320967f86b9 242 USART1_TX_IRQHandler
mbed_official 525:c320967f86b9 243 LESENSE_IRQHandler
mbed_official 525:c320967f86b9 244 USART2_RX_IRQHandler
mbed_official 525:c320967f86b9 245 USART2_TX_IRQHandler
mbed_official 525:c320967f86b9 246 UART0_RX_IRQHandler
mbed_official 525:c320967f86b9 247 UART0_TX_IRQHandler
mbed_official 525:c320967f86b9 248 UART1_RX_IRQHandler
mbed_official 525:c320967f86b9 249 UART1_TX_IRQHandler
mbed_official 525:c320967f86b9 250 LEUART0_IRQHandler
mbed_official 525:c320967f86b9 251 LEUART1_IRQHandler
mbed_official 525:c320967f86b9 252 LETIMER0_IRQHandler
mbed_official 525:c320967f86b9 253 PCNT0_IRQHandler
mbed_official 525:c320967f86b9 254 PCNT1_IRQHandler
mbed_official 525:c320967f86b9 255 PCNT2_IRQHandler
mbed_official 525:c320967f86b9 256 RTC_IRQHandler
mbed_official 525:c320967f86b9 257 BURTC_IRQHandler
mbed_official 525:c320967f86b9 258 CMU_IRQHandler
mbed_official 525:c320967f86b9 259 VCMP_IRQHandler
mbed_official 525:c320967f86b9 260 LCD_IRQHandler
mbed_official 525:c320967f86b9 261 MSC_IRQHandler
mbed_official 525:c320967f86b9 262 AES_IRQHandler
mbed_official 525:c320967f86b9 263 EBI_IRQHandler
mbed_official 525:c320967f86b9 264 EMU_IRQHandler
mbed_official 525:c320967f86b9 265
mbed_official 525:c320967f86b9 266
mbed_official 525:c320967f86b9 267 B .
mbed_official 525:c320967f86b9 268
mbed_official 525:c320967f86b9 269 ENDP
mbed_official 525:c320967f86b9 270
mbed_official 525:c320967f86b9 271 ALIGN
mbed_official 525:c320967f86b9 272
mbed_official 525:c320967f86b9 273 ; User Initial Stack & Heap
mbed_official 525:c320967f86b9 274
mbed_official 525:c320967f86b9 275 EXPORT __initial_sp
mbed_official 525:c320967f86b9 276 EXPORT __heap_base
mbed_official 525:c320967f86b9 277 EXPORT __heap_limit
mbed_official 525:c320967f86b9 278
mbed_official 525:c320967f86b9 279 END