mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
targets/cmsis/TARGET_STM/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_MICRO/startup_stm32f030.s@323:9e901b0a5aa1, 2014-09-13 (annotated)
- Committer:
- shaoziyang
- Date:
- Sat Sep 13 14:25:46 2014 +0000
- Revision:
- 323:9e901b0a5aa1
- Parent:
- 319:b6f57f64aae2
test with CLOCK_SETUP = 0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 76:aeb1df146756 | 1 | ; STM32F030 devices vector table for MDK ARM_MICRO toolchain |
mbed_official | 76:aeb1df146756 | 2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
mbed_official | 76:aeb1df146756 | 3 | ; Copyright (c) 2014, STMicroelectronics |
mbed_official | 76:aeb1df146756 | 4 | ; All rights reserved. |
mbed_official | 76:aeb1df146756 | 5 | ; |
mbed_official | 76:aeb1df146756 | 6 | ; Redistribution and use in source and binary forms, with or without |
mbed_official | 76:aeb1df146756 | 7 | ; modification, are permitted provided that the following conditions are met: |
mbed_official | 76:aeb1df146756 | 8 | ; |
mbed_official | 76:aeb1df146756 | 9 | ; 1. Redistributions of source code must retain the above copyright notice, |
mbed_official | 76:aeb1df146756 | 10 | ; this list of conditions and the following disclaimer. |
mbed_official | 76:aeb1df146756 | 11 | ; 2. Redistributions in binary form must reproduce the above copyright notice, |
mbed_official | 76:aeb1df146756 | 12 | ; this list of conditions and the following disclaimer in the documentation |
mbed_official | 76:aeb1df146756 | 13 | ; and/or other materials provided with the distribution. |
mbed_official | 76:aeb1df146756 | 14 | ; 3. Neither the name of STMicroelectronics nor the names of its contributors |
mbed_official | 76:aeb1df146756 | 15 | ; may be used to endorse or promote products derived from this software |
mbed_official | 76:aeb1df146756 | 16 | ; without specific prior written permission. |
mbed_official | 76:aeb1df146756 | 17 | ; |
mbed_official | 76:aeb1df146756 | 18 | ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
mbed_official | 76:aeb1df146756 | 19 | ; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
mbed_official | 76:aeb1df146756 | 20 | ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
mbed_official | 76:aeb1df146756 | 21 | ; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
mbed_official | 76:aeb1df146756 | 22 | ; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
mbed_official | 76:aeb1df146756 | 23 | ; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
mbed_official | 76:aeb1df146756 | 24 | ; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
mbed_official | 76:aeb1df146756 | 25 | ; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
mbed_official | 76:aeb1df146756 | 26 | ; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
mbed_official | 76:aeb1df146756 | 27 | ; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
mbed_official | 76:aeb1df146756 | 28 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
mbed_official | 76:aeb1df146756 | 29 | |
mbed_official | 76:aeb1df146756 | 30 | ; Amount of memory (in bytes) allocated for Stack |
mbed_official | 76:aeb1df146756 | 31 | ; Tailor this value to your application needs |
mbed_official | 76:aeb1df146756 | 32 | ; <h> Stack Configuration |
mbed_official | 76:aeb1df146756 | 33 | ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8> |
mbed_official | 76:aeb1df146756 | 34 | ; </h> |
mbed_official | 76:aeb1df146756 | 35 | |
mbed_official | 76:aeb1df146756 | 36 | Stack_Size EQU 0x00000400 |
mbed_official | 76:aeb1df146756 | 37 | |
mbed_official | 76:aeb1df146756 | 38 | AREA STACK, NOINIT, READWRITE, ALIGN=3 |
mbed_official | 76:aeb1df146756 | 39 | EXPORT __initial_sp |
mbed_official | 76:aeb1df146756 | 40 | |
mbed_official | 76:aeb1df146756 | 41 | Stack_Mem SPACE Stack_Size |
mbed_official | 76:aeb1df146756 | 42 | __initial_sp EQU 0x20002000 ; Top of RAM (8 KB for STM32F030R8) |
mbed_official | 76:aeb1df146756 | 43 | |
mbed_official | 76:aeb1df146756 | 44 | |
mbed_official | 76:aeb1df146756 | 45 | ; <h> Heap Configuration |
mbed_official | 76:aeb1df146756 | 46 | ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8> |
mbed_official | 76:aeb1df146756 | 47 | ; </h> |
mbed_official | 76:aeb1df146756 | 48 | |
mbed_official | 289:bade01f4d529 | 49 | Heap_Size EQU 0x00000400 |
mbed_official | 76:aeb1df146756 | 50 | |
mbed_official | 76:aeb1df146756 | 51 | AREA HEAP, NOINIT, READWRITE, ALIGN=3 |
mbed_official | 76:aeb1df146756 | 52 | EXPORT __heap_base |
mbed_official | 76:aeb1df146756 | 53 | EXPORT __heap_limit |
mbed_official | 76:aeb1df146756 | 54 | |
mbed_official | 76:aeb1df146756 | 55 | __heap_base |
mbed_official | 76:aeb1df146756 | 56 | Heap_Mem SPACE Heap_Size |
mbed_official | 319:b6f57f64aae2 | 57 | __heap_limit EQU (__initial_sp - Stack_Size) |
mbed_official | 76:aeb1df146756 | 58 | |
mbed_official | 76:aeb1df146756 | 59 | PRESERVE8 |
mbed_official | 76:aeb1df146756 | 60 | THUMB |
mbed_official | 76:aeb1df146756 | 61 | |
mbed_official | 76:aeb1df146756 | 62 | |
mbed_official | 76:aeb1df146756 | 63 | ; Vector Table Mapped to Address 0 at Reset |
mbed_official | 76:aeb1df146756 | 64 | AREA RESET, DATA, READONLY |
mbed_official | 76:aeb1df146756 | 65 | EXPORT __Vectors |
mbed_official | 76:aeb1df146756 | 66 | EXPORT __Vectors_End |
mbed_official | 76:aeb1df146756 | 67 | EXPORT __Vectors_Size |
mbed_official | 76:aeb1df146756 | 68 | |
mbed_official | 76:aeb1df146756 | 69 | __Vectors DCD __initial_sp ; Top of Stack |
mbed_official | 76:aeb1df146756 | 70 | DCD Reset_Handler ; Reset Handler |
mbed_official | 76:aeb1df146756 | 71 | DCD NMI_Handler ; NMI Handler |
mbed_official | 76:aeb1df146756 | 72 | DCD HardFault_Handler ; Hard Fault Handler |
mbed_official | 76:aeb1df146756 | 73 | DCD 0 ; Reserved |
mbed_official | 76:aeb1df146756 | 74 | DCD 0 ; Reserved |
mbed_official | 76:aeb1df146756 | 75 | DCD 0 ; Reserved |
mbed_official | 76:aeb1df146756 | 76 | DCD 0 ; Reserved |
mbed_official | 76:aeb1df146756 | 77 | DCD 0 ; Reserved |
mbed_official | 76:aeb1df146756 | 78 | DCD 0 ; Reserved |
mbed_official | 76:aeb1df146756 | 79 | DCD 0 ; Reserved |
mbed_official | 76:aeb1df146756 | 80 | DCD SVC_Handler ; SVCall Handler |
mbed_official | 76:aeb1df146756 | 81 | DCD 0 ; Reserved |
mbed_official | 76:aeb1df146756 | 82 | DCD 0 ; Reserved |
mbed_official | 76:aeb1df146756 | 83 | DCD PendSV_Handler ; PendSV Handler |
mbed_official | 76:aeb1df146756 | 84 | DCD SysTick_Handler ; SysTick Handler |
mbed_official | 76:aeb1df146756 | 85 | |
mbed_official | 76:aeb1df146756 | 86 | ; External Interrupts |
mbed_official | 76:aeb1df146756 | 87 | DCD WWDG_IRQHandler ; Window Watchdog |
mbed_official | 76:aeb1df146756 | 88 | DCD 0 ; Reserved |
mbed_official | 76:aeb1df146756 | 89 | DCD RTC_IRQHandler ; RTC through EXTI Line |
mbed_official | 76:aeb1df146756 | 90 | DCD FLASH_IRQHandler ; FLASH |
mbed_official | 76:aeb1df146756 | 91 | DCD RCC_IRQHandler ; RCC |
mbed_official | 76:aeb1df146756 | 92 | DCD EXTI0_1_IRQHandler ; EXTI Line 0 and 1 |
mbed_official | 76:aeb1df146756 | 93 | DCD EXTI2_3_IRQHandler ; EXTI Line 2 and 3 |
mbed_official | 76:aeb1df146756 | 94 | DCD EXTI4_15_IRQHandler ; EXTI Line 4 to 15 |
mbed_official | 76:aeb1df146756 | 95 | DCD 0 ; Reserved |
mbed_official | 76:aeb1df146756 | 96 | DCD DMA1_Channel1_IRQHandler ; DMA1 Channel 1 |
mbed_official | 76:aeb1df146756 | 97 | DCD DMA1_Channel2_3_IRQHandler ; DMA1 Channel 2 and Channel 3 |
mbed_official | 76:aeb1df146756 | 98 | DCD DMA1_Channel4_5_IRQHandler ; DMA1 Channel 4 and Channel 5 |
mbed_official | 76:aeb1df146756 | 99 | DCD ADC1_IRQHandler ; ADC1 |
mbed_official | 76:aeb1df146756 | 100 | DCD TIM1_BRK_UP_TRG_COM_IRQHandler ; TIM1 Break, Update, Trigger and Commutation |
mbed_official | 76:aeb1df146756 | 101 | DCD TIM1_CC_IRQHandler ; TIM1 Capture Compare |
mbed_official | 76:aeb1df146756 | 102 | DCD 0 ; Reserved |
mbed_official | 76:aeb1df146756 | 103 | DCD TIM3_IRQHandler ; TIM3 |
mbed_official | 76:aeb1df146756 | 104 | DCD 0 ; Reserved |
mbed_official | 76:aeb1df146756 | 105 | DCD 0 ; Reserved |
mbed_official | 76:aeb1df146756 | 106 | DCD TIM14_IRQHandler ; TIM14 |
mbed_official | 76:aeb1df146756 | 107 | DCD TIM15_IRQHandler ; TIM15 |
mbed_official | 76:aeb1df146756 | 108 | DCD TIM16_IRQHandler ; TIM16 |
mbed_official | 76:aeb1df146756 | 109 | DCD TIM17_IRQHandler ; TIM17 |
mbed_official | 76:aeb1df146756 | 110 | DCD I2C1_IRQHandler ; I2C1 |
mbed_official | 76:aeb1df146756 | 111 | DCD I2C2_IRQHandler ; I2C2 |
mbed_official | 76:aeb1df146756 | 112 | DCD SPI1_IRQHandler ; SPI1 |
mbed_official | 76:aeb1df146756 | 113 | DCD SPI2_IRQHandler ; SPI2 |
mbed_official | 76:aeb1df146756 | 114 | DCD USART1_IRQHandler ; USART1 |
mbed_official | 76:aeb1df146756 | 115 | DCD USART2_IRQHandler ; USART2 |
mbed_official | 76:aeb1df146756 | 116 | |
mbed_official | 76:aeb1df146756 | 117 | __Vectors_End |
mbed_official | 76:aeb1df146756 | 118 | |
mbed_official | 76:aeb1df146756 | 119 | __Vectors_Size EQU __Vectors_End - __Vectors |
mbed_official | 76:aeb1df146756 | 120 | |
mbed_official | 76:aeb1df146756 | 121 | AREA |.text|, CODE, READONLY |
mbed_official | 76:aeb1df146756 | 122 | |
mbed_official | 76:aeb1df146756 | 123 | ; Reset handler |
mbed_official | 76:aeb1df146756 | 124 | Reset_Handler PROC |
mbed_official | 76:aeb1df146756 | 125 | EXPORT Reset_Handler [WEAK] |
mbed_official | 76:aeb1df146756 | 126 | IMPORT __main |
mbed_official | 76:aeb1df146756 | 127 | IMPORT SystemInit |
mbed_official | 76:aeb1df146756 | 128 | LDR R0, =SystemInit |
mbed_official | 76:aeb1df146756 | 129 | BLX R0 |
mbed_official | 76:aeb1df146756 | 130 | LDR R0, =__main |
mbed_official | 76:aeb1df146756 | 131 | BX R0 |
mbed_official | 76:aeb1df146756 | 132 | ENDP |
mbed_official | 76:aeb1df146756 | 133 | |
mbed_official | 76:aeb1df146756 | 134 | ; Dummy Exception Handlers (infinite loops which can be modified) |
mbed_official | 76:aeb1df146756 | 135 | |
mbed_official | 76:aeb1df146756 | 136 | NMI_Handler PROC |
mbed_official | 76:aeb1df146756 | 137 | EXPORT NMI_Handler [WEAK] |
mbed_official | 76:aeb1df146756 | 138 | B . |
mbed_official | 76:aeb1df146756 | 139 | ENDP |
mbed_official | 76:aeb1df146756 | 140 | HardFault_Handler\ |
mbed_official | 76:aeb1df146756 | 141 | PROC |
mbed_official | 76:aeb1df146756 | 142 | EXPORT HardFault_Handler [WEAK] |
mbed_official | 76:aeb1df146756 | 143 | B . |
mbed_official | 76:aeb1df146756 | 144 | ENDP |
mbed_official | 76:aeb1df146756 | 145 | SVC_Handler PROC |
mbed_official | 76:aeb1df146756 | 146 | EXPORT SVC_Handler [WEAK] |
mbed_official | 76:aeb1df146756 | 147 | B . |
mbed_official | 76:aeb1df146756 | 148 | ENDP |
mbed_official | 76:aeb1df146756 | 149 | PendSV_Handler PROC |
mbed_official | 76:aeb1df146756 | 150 | EXPORT PendSV_Handler [WEAK] |
mbed_official | 76:aeb1df146756 | 151 | B . |
mbed_official | 76:aeb1df146756 | 152 | ENDP |
mbed_official | 76:aeb1df146756 | 153 | SysTick_Handler PROC |
mbed_official | 76:aeb1df146756 | 154 | EXPORT SysTick_Handler [WEAK] |
mbed_official | 76:aeb1df146756 | 155 | B . |
mbed_official | 76:aeb1df146756 | 156 | ENDP |
mbed_official | 76:aeb1df146756 | 157 | |
mbed_official | 76:aeb1df146756 | 158 | Default_Handler PROC |
mbed_official | 76:aeb1df146756 | 159 | |
mbed_official | 76:aeb1df146756 | 160 | EXPORT WWDG_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 161 | EXPORT RTC_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 162 | EXPORT FLASH_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 163 | EXPORT RCC_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 164 | EXPORT EXTI0_1_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 165 | EXPORT EXTI2_3_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 166 | EXPORT EXTI4_15_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 167 | EXPORT DMA1_Channel1_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 168 | EXPORT DMA1_Channel2_3_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 169 | EXPORT DMA1_Channel4_5_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 170 | EXPORT ADC1_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 171 | EXPORT TIM1_BRK_UP_TRG_COM_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 172 | EXPORT TIM1_CC_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 173 | EXPORT TIM3_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 174 | EXPORT TIM14_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 175 | EXPORT TIM15_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 176 | EXPORT TIM16_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 177 | EXPORT TIM17_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 178 | EXPORT I2C1_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 179 | EXPORT I2C2_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 180 | EXPORT SPI1_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 181 | EXPORT SPI2_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 182 | EXPORT USART1_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 183 | EXPORT USART2_IRQHandler [WEAK] |
mbed_official | 76:aeb1df146756 | 184 | |
mbed_official | 76:aeb1df146756 | 185 | |
mbed_official | 76:aeb1df146756 | 186 | WWDG_IRQHandler |
mbed_official | 76:aeb1df146756 | 187 | RTC_IRQHandler |
mbed_official | 76:aeb1df146756 | 188 | FLASH_IRQHandler |
mbed_official | 76:aeb1df146756 | 189 | RCC_IRQHandler |
mbed_official | 76:aeb1df146756 | 190 | EXTI0_1_IRQHandler |
mbed_official | 76:aeb1df146756 | 191 | EXTI2_3_IRQHandler |
mbed_official | 76:aeb1df146756 | 192 | EXTI4_15_IRQHandler |
mbed_official | 76:aeb1df146756 | 193 | DMA1_Channel1_IRQHandler |
mbed_official | 76:aeb1df146756 | 194 | DMA1_Channel2_3_IRQHandler |
mbed_official | 76:aeb1df146756 | 195 | DMA1_Channel4_5_IRQHandler |
mbed_official | 76:aeb1df146756 | 196 | ADC1_IRQHandler |
mbed_official | 76:aeb1df146756 | 197 | TIM1_BRK_UP_TRG_COM_IRQHandler |
mbed_official | 76:aeb1df146756 | 198 | TIM1_CC_IRQHandler |
mbed_official | 76:aeb1df146756 | 199 | TIM3_IRQHandler |
mbed_official | 76:aeb1df146756 | 200 | TIM14_IRQHandler |
mbed_official | 76:aeb1df146756 | 201 | TIM15_IRQHandler |
mbed_official | 76:aeb1df146756 | 202 | TIM16_IRQHandler |
mbed_official | 76:aeb1df146756 | 203 | TIM17_IRQHandler |
mbed_official | 76:aeb1df146756 | 204 | I2C1_IRQHandler |
mbed_official | 76:aeb1df146756 | 205 | I2C2_IRQHandler |
mbed_official | 76:aeb1df146756 | 206 | SPI1_IRQHandler |
mbed_official | 76:aeb1df146756 | 207 | SPI2_IRQHandler |
mbed_official | 76:aeb1df146756 | 208 | USART1_IRQHandler |
mbed_official | 76:aeb1df146756 | 209 | USART2_IRQHandler |
mbed_official | 76:aeb1df146756 | 210 | |
mbed_official | 76:aeb1df146756 | 211 | B . |
mbed_official | 76:aeb1df146756 | 212 | |
mbed_official | 76:aeb1df146756 | 213 | ENDP |
mbed_official | 76:aeb1df146756 | 214 | |
mbed_official | 76:aeb1df146756 | 215 | ALIGN |
mbed_official | 76:aeb1df146756 | 216 | END |