Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Space_Invaders_Demo neopixels gpio_test_stm32f3_discovery gpio_test_systimer ... more
src/startup_stm32f303xc.s@1:f8e3e71af478, 2018-04-26 (annotated)
- Committer:
- MartinJohnson
- Date:
- Thu Apr 26 03:11:18 2018 +0000
- Revision:
- 1:f8e3e71af478
- Parent:
- 0:404f5a4f1385
Add stdio.h serial I/O support for the version D discovery board.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MartinJohnson | 0:404f5a4f1385 | 1 | ;******************** (C) COPYRIGHT 2015 STMicroelectronics ******************** |
MartinJohnson | 0:404f5a4f1385 | 2 | ;* File Name : startup_stm32f303xc.s |
MartinJohnson | 0:404f5a4f1385 | 3 | ;* Author : MCD Application Team |
MartinJohnson | 0:404f5a4f1385 | 4 | ;* Version : V1.2.2 |
MartinJohnson | 0:404f5a4f1385 | 5 | ;* Date : 27-February-2015 |
MartinJohnson | 0:404f5a4f1385 | 6 | ;* Description : STM32F303xC devices vector table for MDK-ARM toolchain. |
MartinJohnson | 0:404f5a4f1385 | 7 | ;* This module performs: |
MartinJohnson | 0:404f5a4f1385 | 8 | ;* - Set the initial SP |
MartinJohnson | 0:404f5a4f1385 | 9 | ;* - Set the initial PC == Reset_Handler |
MartinJohnson | 0:404f5a4f1385 | 10 | ;* - Set the vector table entries with the exceptions ISR address |
MartinJohnson | 0:404f5a4f1385 | 11 | ;* - Branches to __main in the C library (which eventually |
MartinJohnson | 0:404f5a4f1385 | 12 | ;* calls main()). |
MartinJohnson | 0:404f5a4f1385 | 13 | ;* After Reset the CortexM4 processor is in Thread mode, |
MartinJohnson | 0:404f5a4f1385 | 14 | ;* priority is Privileged, and the Stack is set to Main. |
MartinJohnson | 0:404f5a4f1385 | 15 | ;* <<< Use Configuration Wizard in Context Menu >>> |
MartinJohnson | 0:404f5a4f1385 | 16 | ;******************************************************************************* |
MartinJohnson | 0:404f5a4f1385 | 17 | ; |
MartinJohnson | 0:404f5a4f1385 | 18 | ; Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); |
MartinJohnson | 0:404f5a4f1385 | 19 | ; You may not use this file except in compliance with the License. |
MartinJohnson | 0:404f5a4f1385 | 20 | ; You may obtain a copy of the License at: |
MartinJohnson | 0:404f5a4f1385 | 21 | ; |
MartinJohnson | 0:404f5a4f1385 | 22 | ; http://www.st.com/software_license_agreement_liberty_v2 |
MartinJohnson | 0:404f5a4f1385 | 23 | ; |
MartinJohnson | 0:404f5a4f1385 | 24 | ; Unless required by applicable law or agreed to in writing, software |
MartinJohnson | 0:404f5a4f1385 | 25 | ; distributed under the License is distributed on an "AS IS" BASIS, |
MartinJohnson | 0:404f5a4f1385 | 26 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
MartinJohnson | 0:404f5a4f1385 | 27 | ; See the License for the specific language governing permissions and |
MartinJohnson | 0:404f5a4f1385 | 28 | ; limitations under the License. |
MartinJohnson | 0:404f5a4f1385 | 29 | ; |
MartinJohnson | 0:404f5a4f1385 | 30 | ;******************************************************************************* |
MartinJohnson | 0:404f5a4f1385 | 31 | |
MartinJohnson | 0:404f5a4f1385 | 32 | ; Amount of memory (in bytes) allocated for Stack |
MartinJohnson | 0:404f5a4f1385 | 33 | ; Tailor this value to your application needs |
MartinJohnson | 0:404f5a4f1385 | 34 | ; <h> Stack Configuration |
MartinJohnson | 0:404f5a4f1385 | 35 | ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8> |
MartinJohnson | 0:404f5a4f1385 | 36 | ; </h> |
MartinJohnson | 0:404f5a4f1385 | 37 | |
MartinJohnson | 0:404f5a4f1385 | 38 | Stack_Size EQU 0x00000400 |
MartinJohnson | 0:404f5a4f1385 | 39 | |
MartinJohnson | 0:404f5a4f1385 | 40 | AREA STACK, NOINIT, READWRITE, ALIGN=3 |
MartinJohnson | 0:404f5a4f1385 | 41 | Stack_Mem SPACE Stack_Size |
MartinJohnson | 0:404f5a4f1385 | 42 | __initial_sp |
MartinJohnson | 0:404f5a4f1385 | 43 | ;equ 0x2000a000 |
MartinJohnson | 0:404f5a4f1385 | 44 | |
MartinJohnson | 0:404f5a4f1385 | 45 | |
MartinJohnson | 0:404f5a4f1385 | 46 | ; <h> Heap Configuration |
MartinJohnson | 0:404f5a4f1385 | 47 | ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8> |
MartinJohnson | 0:404f5a4f1385 | 48 | ; </h> |
MartinJohnson | 0:404f5a4f1385 | 49 | |
MartinJohnson | 0:404f5a4f1385 | 50 | Heap_Size EQU 0x00000200 |
MartinJohnson | 0:404f5a4f1385 | 51 | |
MartinJohnson | 0:404f5a4f1385 | 52 | AREA HEAP, NOINIT, READWRITE, ALIGN=3 |
MartinJohnson | 0:404f5a4f1385 | 53 | __heap_base |
MartinJohnson | 0:404f5a4f1385 | 54 | Heap_Mem SPACE Heap_Size |
MartinJohnson | 0:404f5a4f1385 | 55 | __heap_limit |
MartinJohnson | 0:404f5a4f1385 | 56 | |
MartinJohnson | 0:404f5a4f1385 | 57 | PRESERVE8 |
MartinJohnson | 0:404f5a4f1385 | 58 | THUMB |
MartinJohnson | 0:404f5a4f1385 | 59 | |
MartinJohnson | 0:404f5a4f1385 | 60 | |
MartinJohnson | 0:404f5a4f1385 | 61 | ; Vector Table Mapped to Address 0 at Reset |
MartinJohnson | 0:404f5a4f1385 | 62 | AREA RESET, DATA, READONLY |
MartinJohnson | 0:404f5a4f1385 | 63 | EXPORT __Vectors |
MartinJohnson | 0:404f5a4f1385 | 64 | EXPORT __Vectors_End |
MartinJohnson | 0:404f5a4f1385 | 65 | EXPORT __Vectors_Size |
MartinJohnson | 0:404f5a4f1385 | 66 | |
MartinJohnson | 0:404f5a4f1385 | 67 | __Vectors DCD __initial_sp ; Top of Stack |
MartinJohnson | 0:404f5a4f1385 | 68 | DCD Reset_Handler ; Reset Handler |
MartinJohnson | 0:404f5a4f1385 | 69 | DCD NMI_Handler ; NMI Handler |
MartinJohnson | 0:404f5a4f1385 | 70 | DCD HardFault_Handler ; Hard Fault Handler |
MartinJohnson | 0:404f5a4f1385 | 71 | DCD MemManage_Handler ; MPU Fault Handler |
MartinJohnson | 0:404f5a4f1385 | 72 | DCD BusFault_Handler ; Bus Fault Handler |
MartinJohnson | 0:404f5a4f1385 | 73 | DCD UsageFault_Handler ; Usage Fault Handler |
MartinJohnson | 0:404f5a4f1385 | 74 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 75 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 76 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 77 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 78 | DCD SVC_Handler ; SVCall Handler |
MartinJohnson | 0:404f5a4f1385 | 79 | DCD DebugMon_Handler ; Debug Monitor Handler |
MartinJohnson | 0:404f5a4f1385 | 80 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 81 | DCD PendSV_Handler ; PendSV Handler |
MartinJohnson | 0:404f5a4f1385 | 82 | DCD SysTick_Handler ; SysTick Handler |
MartinJohnson | 0:404f5a4f1385 | 83 | |
MartinJohnson | 0:404f5a4f1385 | 84 | ; External Interrupts |
MartinJohnson | 0:404f5a4f1385 | 85 | DCD WWDG_IRQHandler ; Window WatchDog |
MartinJohnson | 0:404f5a4f1385 | 86 | DCD PVD_IRQHandler ; PVD through EXTI Line detection |
MartinJohnson | 0:404f5a4f1385 | 87 | DCD TAMPER_STAMP_IRQHandler ; Tamper and TimeStamps through the EXTI line |
MartinJohnson | 0:404f5a4f1385 | 88 | DCD RTC_WKUP_IRQHandler ; RTC Wakeup through the EXTI line |
MartinJohnson | 0:404f5a4f1385 | 89 | DCD FLASH_IRQHandler ; FLASH |
MartinJohnson | 0:404f5a4f1385 | 90 | DCD RCC_IRQHandler ; RCC |
MartinJohnson | 0:404f5a4f1385 | 91 | DCD EXTI0_IRQHandler ; EXTI Line0 |
MartinJohnson | 0:404f5a4f1385 | 92 | DCD EXTI1_IRQHandler ; EXTI Line1 |
MartinJohnson | 0:404f5a4f1385 | 93 | DCD EXTI2_TS_IRQHandler ; EXTI Line2 and Touch |
MartinJohnson | 0:404f5a4f1385 | 94 | DCD EXTI3_IRQHandler ; EXTI Line3 |
MartinJohnson | 0:404f5a4f1385 | 95 | DCD EXTI4_IRQHandler ; EXTI Line4 |
MartinJohnson | 0:404f5a4f1385 | 96 | DCD DMA1_Channel1_IRQHandler ; DMA1 Channel 1 |
MartinJohnson | 0:404f5a4f1385 | 97 | DCD DMA1_Channel2_IRQHandler ; DMA1 Channel 2 |
MartinJohnson | 0:404f5a4f1385 | 98 | DCD DMA1_Channel3_IRQHandler ; DMA1 Channel 3 |
MartinJohnson | 0:404f5a4f1385 | 99 | DCD DMA1_Channel4_IRQHandler ; DMA1 Channel 4 |
MartinJohnson | 0:404f5a4f1385 | 100 | DCD DMA1_Channel5_IRQHandler ; DMA1 Channel 5 |
MartinJohnson | 0:404f5a4f1385 | 101 | DCD DMA1_Channel6_IRQHandler ; DMA1 Channel 6 |
MartinJohnson | 0:404f5a4f1385 | 102 | DCD DMA1_Channel7_IRQHandler ; DMA1 Channel 7 |
MartinJohnson | 0:404f5a4f1385 | 103 | DCD ADC1_2_IRQHandler ; ADC1 and ADC2 |
MartinJohnson | 0:404f5a4f1385 | 104 | DCD USB_HP_CAN1_TX_IRQHandler ; USB Device High Priority or CAN1 TX |
MartinJohnson | 0:404f5a4f1385 | 105 | DCD USB_LP_CAN1_RX0_IRQHandler ; USB Device Low Priority or CAN1 RX0 |
MartinJohnson | 0:404f5a4f1385 | 106 | DCD CAN1_RX1_IRQHandler ; CAN1 RX1 |
MartinJohnson | 0:404f5a4f1385 | 107 | DCD CAN1_SCE_IRQHandler ; CAN1 SCE |
MartinJohnson | 0:404f5a4f1385 | 108 | DCD EXTI9_5_IRQHandler ; External Line[9:5]s |
MartinJohnson | 0:404f5a4f1385 | 109 | DCD TIM1_BRK_TIM15_IRQHandler ; TIM1 Break and TIM15 |
MartinJohnson | 0:404f5a4f1385 | 110 | DCD TIM1_UP_TIM16_IRQHandler ; TIM1 Update and TIM16 |
MartinJohnson | 0:404f5a4f1385 | 111 | DCD TIM1_TRG_COM_TIM17_IRQHandler ; TIM1 Trigger and Commutation and TIM17 |
MartinJohnson | 0:404f5a4f1385 | 112 | DCD TIM1_CC_IRQHandler ; TIM1 Capture Compare |
MartinJohnson | 0:404f5a4f1385 | 113 | DCD TIM2_IRQHandler ; TIM2 |
MartinJohnson | 0:404f5a4f1385 | 114 | DCD TIM3_IRQHandler ; TIM3 |
MartinJohnson | 0:404f5a4f1385 | 115 | DCD TIM4_IRQHandler ; TIM4 |
MartinJohnson | 0:404f5a4f1385 | 116 | DCD I2C1_EV_IRQHandler ; I2C1 Event |
MartinJohnson | 0:404f5a4f1385 | 117 | DCD I2C1_ER_IRQHandler ; I2C1 Error |
MartinJohnson | 0:404f5a4f1385 | 118 | DCD I2C2_EV_IRQHandler ; I2C2 Event |
MartinJohnson | 0:404f5a4f1385 | 119 | DCD I2C2_ER_IRQHandler ; I2C2 Error |
MartinJohnson | 0:404f5a4f1385 | 120 | DCD SPI1_IRQHandler ; SPI1 |
MartinJohnson | 0:404f5a4f1385 | 121 | DCD SPI2_IRQHandler ; SPI2 |
MartinJohnson | 0:404f5a4f1385 | 122 | DCD USART1_IRQHandler ; USART1 |
MartinJohnson | 0:404f5a4f1385 | 123 | DCD USART2_IRQHandler ; USART2 |
MartinJohnson | 0:404f5a4f1385 | 124 | DCD USART3_IRQHandler ; USART3 |
MartinJohnson | 0:404f5a4f1385 | 125 | DCD EXTI15_10_IRQHandler ; External Line[15:10]s |
MartinJohnson | 0:404f5a4f1385 | 126 | DCD RTC_Alarm_IRQHandler ; RTC Alarm (A and B) through EXTI Line |
MartinJohnson | 0:404f5a4f1385 | 127 | DCD USBWakeUp_IRQHandler ; USB Wakeup through EXTI line |
MartinJohnson | 0:404f5a4f1385 | 128 | DCD TIM8_BRK_IRQHandler ; TIM8 Break |
MartinJohnson | 0:404f5a4f1385 | 129 | DCD TIM8_UP_IRQHandler ; TIM8 Update |
MartinJohnson | 0:404f5a4f1385 | 130 | DCD TIM8_TRG_COM_IRQHandler ; TIM8 Trigger and Commutation |
MartinJohnson | 0:404f5a4f1385 | 131 | DCD TIM8_CC_IRQHandler ; TIM8 Capture Compare |
MartinJohnson | 0:404f5a4f1385 | 132 | DCD ADC3_IRQHandler ; ADC3 |
MartinJohnson | 0:404f5a4f1385 | 133 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 134 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 135 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 136 | DCD SPI3_IRQHandler ; SPI3 |
MartinJohnson | 0:404f5a4f1385 | 137 | DCD UART4_IRQHandler ; UART4 |
MartinJohnson | 0:404f5a4f1385 | 138 | DCD UART5_IRQHandler ; UART5 |
MartinJohnson | 0:404f5a4f1385 | 139 | DCD TIM6_DAC_IRQHandler ; TIM6 and DAC1&2 underrun errors |
MartinJohnson | 0:404f5a4f1385 | 140 | DCD TIM7_IRQHandler ; TIM7 |
MartinJohnson | 0:404f5a4f1385 | 141 | DCD DMA2_Channel1_IRQHandler ; DMA2 Channel 1 |
MartinJohnson | 0:404f5a4f1385 | 142 | DCD DMA2_Channel2_IRQHandler ; DMA2 Channel 2 |
MartinJohnson | 0:404f5a4f1385 | 143 | DCD DMA2_Channel3_IRQHandler ; DMA2 Channel 3 |
MartinJohnson | 0:404f5a4f1385 | 144 | DCD DMA2_Channel4_IRQHandler ; DMA2 Channel 4 |
MartinJohnson | 0:404f5a4f1385 | 145 | DCD DMA2_Channel5_IRQHandler ; DMA2 Channel 5 |
MartinJohnson | 0:404f5a4f1385 | 146 | DCD ADC4_IRQHandler ; ADC4 |
MartinJohnson | 0:404f5a4f1385 | 147 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 148 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 149 | DCD COMP1_2_3_IRQHandler ; COMP1, COMP2 and COMP3 |
MartinJohnson | 0:404f5a4f1385 | 150 | DCD COMP4_5_6_IRQHandler ; COMP4, COMP5 and COMP6 |
MartinJohnson | 0:404f5a4f1385 | 151 | DCD COMP7_IRQHandler ; COMP7 |
MartinJohnson | 0:404f5a4f1385 | 152 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 153 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 154 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 155 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 156 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 157 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 158 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 159 | DCD USB_HP_IRQHandler ; USB High Priority remap |
MartinJohnson | 0:404f5a4f1385 | 160 | DCD USB_LP_IRQHandler ; USB Low Priority remap |
MartinJohnson | 0:404f5a4f1385 | 161 | DCD USBWakeUp_RMP_IRQHandler ; USB Wakeup remap through EXTI |
MartinJohnson | 0:404f5a4f1385 | 162 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 163 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 164 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 165 | DCD 0 ; Reserved |
MartinJohnson | 0:404f5a4f1385 | 166 | DCD FPU_IRQHandler ; FPU |
MartinJohnson | 0:404f5a4f1385 | 167 | |
MartinJohnson | 0:404f5a4f1385 | 168 | __Vectors_End |
MartinJohnson | 0:404f5a4f1385 | 169 | |
MartinJohnson | 0:404f5a4f1385 | 170 | __Vectors_Size EQU __Vectors_End - __Vectors |
MartinJohnson | 0:404f5a4f1385 | 171 | |
MartinJohnson | 0:404f5a4f1385 | 172 | AREA |.text|, CODE, READONLY |
MartinJohnson | 0:404f5a4f1385 | 173 | |
MartinJohnson | 0:404f5a4f1385 | 174 | ; Reset handler |
MartinJohnson | 0:404f5a4f1385 | 175 | Reset_Handler PROC |
MartinJohnson | 0:404f5a4f1385 | 176 | EXPORT Reset_Handler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 177 | IMPORT SystemInit |
MartinJohnson | 0:404f5a4f1385 | 178 | IMPORT __main |
MartinJohnson | 0:404f5a4f1385 | 179 | |
MartinJohnson | 0:404f5a4f1385 | 180 | LDR R0, =SystemInit |
MartinJohnson | 0:404f5a4f1385 | 181 | BLX R0 |
MartinJohnson | 0:404f5a4f1385 | 182 | LDR R0, =__main |
MartinJohnson | 0:404f5a4f1385 | 183 | BX R0 |
MartinJohnson | 0:404f5a4f1385 | 184 | ENDP |
MartinJohnson | 0:404f5a4f1385 | 185 | |
MartinJohnson | 0:404f5a4f1385 | 186 | ; Dummy Exception Handlers (infinite loops which can be modified) |
MartinJohnson | 0:404f5a4f1385 | 187 | |
MartinJohnson | 0:404f5a4f1385 | 188 | NMI_Handler PROC |
MartinJohnson | 0:404f5a4f1385 | 189 | EXPORT NMI_Handler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 190 | B . |
MartinJohnson | 0:404f5a4f1385 | 191 | ENDP |
MartinJohnson | 0:404f5a4f1385 | 192 | HardFault_Handler\ |
MartinJohnson | 0:404f5a4f1385 | 193 | PROC |
MartinJohnson | 0:404f5a4f1385 | 194 | EXPORT HardFault_Handler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 195 | B . |
MartinJohnson | 0:404f5a4f1385 | 196 | ENDP |
MartinJohnson | 0:404f5a4f1385 | 197 | MemManage_Handler\ |
MartinJohnson | 0:404f5a4f1385 | 198 | PROC |
MartinJohnson | 0:404f5a4f1385 | 199 | EXPORT MemManage_Handler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 200 | B . |
MartinJohnson | 0:404f5a4f1385 | 201 | ENDP |
MartinJohnson | 0:404f5a4f1385 | 202 | BusFault_Handler\ |
MartinJohnson | 0:404f5a4f1385 | 203 | PROC |
MartinJohnson | 0:404f5a4f1385 | 204 | EXPORT BusFault_Handler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 205 | B . |
MartinJohnson | 0:404f5a4f1385 | 206 | ENDP |
MartinJohnson | 0:404f5a4f1385 | 207 | UsageFault_Handler\ |
MartinJohnson | 0:404f5a4f1385 | 208 | PROC |
MartinJohnson | 0:404f5a4f1385 | 209 | EXPORT UsageFault_Handler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 210 | B . |
MartinJohnson | 0:404f5a4f1385 | 211 | ENDP |
MartinJohnson | 0:404f5a4f1385 | 212 | SVC_Handler PROC |
MartinJohnson | 0:404f5a4f1385 | 213 | EXPORT SVC_Handler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 214 | B . |
MartinJohnson | 0:404f5a4f1385 | 215 | ENDP |
MartinJohnson | 0:404f5a4f1385 | 216 | DebugMon_Handler\ |
MartinJohnson | 0:404f5a4f1385 | 217 | PROC |
MartinJohnson | 0:404f5a4f1385 | 218 | EXPORT DebugMon_Handler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 219 | B . |
MartinJohnson | 0:404f5a4f1385 | 220 | ENDP |
MartinJohnson | 0:404f5a4f1385 | 221 | PendSV_Handler PROC |
MartinJohnson | 0:404f5a4f1385 | 222 | EXPORT PendSV_Handler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 223 | B . |
MartinJohnson | 0:404f5a4f1385 | 224 | ENDP |
MartinJohnson | 0:404f5a4f1385 | 225 | SysTick_Handler PROC |
MartinJohnson | 0:404f5a4f1385 | 226 | EXPORT SysTick_Handler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 227 | B . |
MartinJohnson | 0:404f5a4f1385 | 228 | ENDP |
MartinJohnson | 0:404f5a4f1385 | 229 | |
MartinJohnson | 0:404f5a4f1385 | 230 | Default_Handler PROC |
MartinJohnson | 0:404f5a4f1385 | 231 | |
MartinJohnson | 0:404f5a4f1385 | 232 | EXPORT WWDG_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 233 | EXPORT PVD_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 234 | EXPORT TAMPER_STAMP_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 235 | EXPORT RTC_WKUP_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 236 | EXPORT FLASH_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 237 | EXPORT RCC_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 238 | EXPORT EXTI0_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 239 | EXPORT EXTI1_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 240 | EXPORT EXTI2_TS_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 241 | EXPORT EXTI3_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 242 | EXPORT EXTI4_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 243 | EXPORT DMA1_Channel1_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 244 | EXPORT DMA1_Channel2_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 245 | EXPORT DMA1_Channel3_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 246 | EXPORT DMA1_Channel4_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 247 | EXPORT DMA1_Channel5_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 248 | EXPORT DMA1_Channel6_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 249 | EXPORT DMA1_Channel7_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 250 | EXPORT ADC1_2_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 251 | EXPORT USB_HP_CAN1_TX_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 252 | EXPORT USB_LP_CAN1_RX0_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 253 | EXPORT CAN1_RX1_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 254 | EXPORT CAN1_SCE_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 255 | EXPORT EXTI9_5_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 256 | EXPORT TIM1_BRK_TIM15_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 257 | EXPORT TIM1_UP_TIM16_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 258 | EXPORT TIM1_TRG_COM_TIM17_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 259 | EXPORT TIM1_CC_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 260 | EXPORT TIM2_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 261 | EXPORT TIM3_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 262 | EXPORT TIM4_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 263 | EXPORT I2C1_EV_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 264 | EXPORT I2C1_ER_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 265 | EXPORT I2C2_EV_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 266 | EXPORT I2C2_ER_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 267 | EXPORT SPI1_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 268 | EXPORT SPI2_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 269 | EXPORT USART1_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 270 | EXPORT USART2_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 271 | EXPORT USART3_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 272 | EXPORT EXTI15_10_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 273 | EXPORT RTC_Alarm_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 274 | EXPORT USBWakeUp_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 275 | EXPORT TIM8_BRK_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 276 | EXPORT TIM8_UP_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 277 | EXPORT TIM8_TRG_COM_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 278 | EXPORT TIM8_CC_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 279 | EXPORT ADC3_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 280 | EXPORT SPI3_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 281 | EXPORT UART4_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 282 | EXPORT UART5_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 283 | EXPORT TIM6_DAC_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 284 | EXPORT TIM7_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 285 | EXPORT DMA2_Channel1_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 286 | EXPORT DMA2_Channel2_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 287 | EXPORT DMA2_Channel3_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 288 | EXPORT DMA2_Channel4_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 289 | EXPORT DMA2_Channel5_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 290 | EXPORT ADC4_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 291 | EXPORT COMP1_2_3_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 292 | EXPORT COMP4_5_6_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 293 | EXPORT COMP7_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 294 | EXPORT USB_HP_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 295 | EXPORT USB_LP_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 296 | EXPORT USBWakeUp_RMP_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 297 | EXPORT FPU_IRQHandler [WEAK] |
MartinJohnson | 0:404f5a4f1385 | 298 | |
MartinJohnson | 0:404f5a4f1385 | 299 | WWDG_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 300 | PVD_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 301 | TAMPER_STAMP_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 302 | RTC_WKUP_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 303 | FLASH_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 304 | RCC_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 305 | EXTI0_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 306 | EXTI1_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 307 | EXTI2_TS_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 308 | EXTI3_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 309 | EXTI4_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 310 | DMA1_Channel1_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 311 | DMA1_Channel2_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 312 | DMA1_Channel3_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 313 | DMA1_Channel4_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 314 | DMA1_Channel5_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 315 | DMA1_Channel6_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 316 | DMA1_Channel7_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 317 | ADC1_2_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 318 | USB_HP_CAN1_TX_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 319 | USB_LP_CAN1_RX0_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 320 | CAN1_RX1_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 321 | CAN1_SCE_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 322 | EXTI9_5_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 323 | TIM1_BRK_TIM15_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 324 | TIM1_UP_TIM16_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 325 | TIM1_TRG_COM_TIM17_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 326 | TIM1_CC_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 327 | TIM2_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 328 | TIM3_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 329 | TIM4_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 330 | I2C1_EV_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 331 | I2C1_ER_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 332 | I2C2_EV_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 333 | I2C2_ER_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 334 | SPI1_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 335 | SPI2_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 336 | USART1_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 337 | USART2_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 338 | USART3_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 339 | EXTI15_10_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 340 | RTC_Alarm_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 341 | USBWakeUp_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 342 | TIM8_BRK_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 343 | TIM8_UP_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 344 | TIM8_TRG_COM_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 345 | TIM8_CC_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 346 | ADC3_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 347 | SPI3_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 348 | UART4_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 349 | UART5_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 350 | TIM6_DAC_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 351 | TIM7_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 352 | DMA2_Channel1_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 353 | DMA2_Channel2_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 354 | DMA2_Channel3_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 355 | DMA2_Channel4_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 356 | DMA2_Channel5_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 357 | ADC4_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 358 | COMP1_2_3_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 359 | COMP4_5_6_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 360 | COMP7_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 361 | USB_HP_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 362 | USB_LP_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 363 | USBWakeUp_RMP_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 364 | FPU_IRQHandler |
MartinJohnson | 0:404f5a4f1385 | 365 | |
MartinJohnson | 0:404f5a4f1385 | 366 | B . |
MartinJohnson | 0:404f5a4f1385 | 367 | |
MartinJohnson | 0:404f5a4f1385 | 368 | ENDP |
MartinJohnson | 0:404f5a4f1385 | 369 | |
MartinJohnson | 0:404f5a4f1385 | 370 | ALIGN |
MartinJohnson | 0:404f5a4f1385 | 371 | |
MartinJohnson | 0:404f5a4f1385 | 372 | ;******************************************************************************* |
MartinJohnson | 0:404f5a4f1385 | 373 | ; User Stack and Heap initialization |
MartinJohnson | 0:404f5a4f1385 | 374 | ;******************************************************************************* |
MartinJohnson | 0:404f5a4f1385 | 375 | ; IF :DEF:__MICROLIB |
MartinJohnson | 0:404f5a4f1385 | 376 | |
MartinJohnson | 0:404f5a4f1385 | 377 | EXPORT __initial_sp |
MartinJohnson | 1:f8e3e71af478 | 378 | ; EXPORT __heap_base |
MartinJohnson | 1:f8e3e71af478 | 379 | ; EXPORT __heap_limit |
MartinJohnson | 0:404f5a4f1385 | 380 | |
MartinJohnson | 0:404f5a4f1385 | 381 | ; ELSE |
MartinJohnson | 0:404f5a4f1385 | 382 | |
MartinJohnson | 0:404f5a4f1385 | 383 | ; IMPORT __use_two_region_memory |
MartinJohnson | 0:404f5a4f1385 | 384 | ; EXPORT __user_initial_stackheap |
MartinJohnson | 0:404f5a4f1385 | 385 | |
MartinJohnson | 0:404f5a4f1385 | 386 | ;__user_initial_stackheap |
MartinJohnson | 0:404f5a4f1385 | 387 | |
MartinJohnson | 0:404f5a4f1385 | 388 | ; LDR R0, = Heap_Mem |
MartinJohnson | 1:f8e3e71af478 | 389 | ; LDR R1, =(Stack_Mem + Stack_Size) |
MartinJohnson | 1:f8e3e71af478 | 390 | ; LDR R2, = (Heap_Mem + Heap_Size) |
MartinJohnson | 1:f8e3e71af478 | 391 | ; LDR R3, = Stack_Mem |
MartinJohnson | 1:f8e3e71af478 | 392 | ; BX LR |
MartinJohnson | 0:404f5a4f1385 | 393 | ; |
MartinJohnson | 0:404f5a4f1385 | 394 | ; ALIGN |
MartinJohnson | 0:404f5a4f1385 | 395 | |
MartinJohnson | 0:404f5a4f1385 | 396 | ; ENDIF |
MartinJohnson | 0:404f5a4f1385 | 397 | |
MartinJohnson | 0:404f5a4f1385 | 398 | END |
MartinJohnson | 0:404f5a4f1385 | 399 | |
MartinJohnson | 0:404f5a4f1385 | 400 | ;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** |