annotate Common/Drivers/STM32F4xx_v220/Source/Templates/arm/startup_stm32f427xx.s @ 86:cc41b5eaf1a7 kittz

fix time&date after wakeup
author Dmitry Romanov <kitt@bk.ru>
date Wed, 21 Nov 2018 13:12:44 +0300
parents 5f11787b4f42
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
1 ;******************** (C) COPYRIGHT 2014 STMicroelectronics ********************
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
2 ;* File Name : startup_stm32f427xx.s
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
3 ;* Author : MCD Application Team
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
4 ;* Version : V2.2.0
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
5 ;* Date : 15-December-2014
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
6 ;* Description : STM32F427x devices vector table for MDK-ARM toolchain.
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
7 ;* This module performs:
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
8 ;* - Set the initial SP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
9 ;* - Set the initial PC == Reset_Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
10 ;* - Set the vector table entries with the exceptions ISR address
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
11 ;* After Reset the CortexM4 processor is in Thread mode,
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
12 ;* priority is Privileged, and the Stack is set to Main.
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
13 ;* <<< Use Configuration Wizard in Context Menu >>>
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
14 ;*******************************************************************************
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
15 ;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
16 ;* Redistribution and use in source and binary forms, with or without modification,
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
17 ;* are permitted provided that the following conditions are met:
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
18 ;* 1. Redistributions of source code must retain the above copyright notice,
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
19 ;* this list of conditions and the following disclaimer.
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
20 ;* 2. Redistributions in binary form must reproduce the above copyright notice,
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
21 ;* this list of conditions and the following disclaimer in the documentation
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
22 ;* and/or other materials provided with the distribution.
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
23 ;* 3. Neither the name of STMicroelectronics nor the names of its contributors
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
24 ;* may be used to endorse or promote products derived from this software
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
25 ;* without specific prior written permission.
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
26 ;*
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
27 ;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
28 ;* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
29 ;* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
30 ;* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
31 ;* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
32 ;* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
33 ;* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
34 ;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
35 ;* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
36 ;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
37 ;
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
38 ;*******************************************************************************
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
39
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
40 ; Amount of memory (in bytes) allocated for Stack
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
41 ; Tailor this value to your application needs
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
42 ; <h> Stack Configuration
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
43 ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
44 ; </h>
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
45
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
46 Stack_Size EQU 0x00000400
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
47
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
48 AREA STACK, NOINIT, READWRITE, ALIGN=3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
49 Stack_Mem SPACE Stack_Size
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
50 __initial_sp
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
51
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
52
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
53 ; <h> Heap Configuration
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
54 ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
55 ; </h>
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
56
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
57 Heap_Size EQU 0x00000200
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
58
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
59 AREA HEAP, NOINIT, READWRITE, ALIGN=3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
60 __heap_base
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
61 Heap_Mem SPACE Heap_Size
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
62 __heap_limit
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
63
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
64 PRESERVE8
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
65 THUMB
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
66
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
67
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
68 ; Vector Table Mapped to Address 0 at Reset
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
69 AREA RESET, DATA, READONLY
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
70 EXPORT __Vectors
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
71 EXPORT __Vectors_End
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
72 EXPORT __Vectors_Size
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
73
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
74 __Vectors DCD __initial_sp ; Top of Stack
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
75 DCD Reset_Handler ; Reset Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
76 DCD NMI_Handler ; NMI Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
77 DCD HardFault_Handler ; Hard Fault Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
78 DCD MemManage_Handler ; MPU Fault Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
79 DCD BusFault_Handler ; Bus Fault Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
80 DCD UsageFault_Handler ; Usage Fault Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
81 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
82 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
83 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
84 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
85 DCD SVC_Handler ; SVCall Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
86 DCD DebugMon_Handler ; Debug Monitor Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
87 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
88 DCD PendSV_Handler ; PendSV Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
89 DCD SysTick_Handler ; SysTick Handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
90
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
91 ; External Interrupts
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
92 DCD WWDG_IRQHandler ; Window WatchDog
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
93 DCD PVD_IRQHandler ; PVD through EXTI Line detection
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
94 DCD TAMP_STAMP_IRQHandler ; Tamper and TimeStamps through the EXTI line
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
95 DCD RTC_WKUP_IRQHandler ; RTC Wakeup through the EXTI line
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
96 DCD FLASH_IRQHandler ; FLASH
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
97 DCD RCC_IRQHandler ; RCC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
98 DCD EXTI0_IRQHandler ; EXTI Line0
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
99 DCD EXTI1_IRQHandler ; EXTI Line1
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
100 DCD EXTI2_IRQHandler ; EXTI Line2
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
101 DCD EXTI3_IRQHandler ; EXTI Line3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
102 DCD EXTI4_IRQHandler ; EXTI Line4
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
103 DCD DMA1_Stream0_IRQHandler ; DMA1 Stream 0
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
104 DCD DMA1_Stream1_IRQHandler ; DMA1 Stream 1
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
105 DCD DMA1_Stream2_IRQHandler ; DMA1 Stream 2
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
106 DCD DMA1_Stream3_IRQHandler ; DMA1 Stream 3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
107 DCD DMA1_Stream4_IRQHandler ; DMA1 Stream 4
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
108 DCD DMA1_Stream5_IRQHandler ; DMA1 Stream 5
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
109 DCD DMA1_Stream6_IRQHandler ; DMA1 Stream 6
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
110 DCD ADC_IRQHandler ; ADC1, ADC2 and ADC3s
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
111 DCD CAN1_TX_IRQHandler ; CAN1 TX
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
112 DCD CAN1_RX0_IRQHandler ; CAN1 RX0
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
113 DCD CAN1_RX1_IRQHandler ; CAN1 RX1
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
114 DCD CAN1_SCE_IRQHandler ; CAN1 SCE
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
115 DCD EXTI9_5_IRQHandler ; External Line[9:5]s
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
116 DCD TIM1_BRK_TIM9_IRQHandler ; TIM1 Break and TIM9
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
117 DCD TIM1_UP_TIM10_IRQHandler ; TIM1 Update and TIM10
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
118 DCD TIM1_TRG_COM_TIM11_IRQHandler ; TIM1 Trigger and Commutation and TIM11
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
119 DCD TIM1_CC_IRQHandler ; TIM1 Capture Compare
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
120 DCD TIM2_IRQHandler ; TIM2
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
121 DCD TIM3_IRQHandler ; TIM3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
122 DCD TIM4_IRQHandler ; TIM4
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
123 DCD I2C1_EV_IRQHandler ; I2C1 Event
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
124 DCD I2C1_ER_IRQHandler ; I2C1 Error
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
125 DCD I2C2_EV_IRQHandler ; I2C2 Event
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
126 DCD I2C2_ER_IRQHandler ; I2C2 Error
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
127 DCD SPI1_IRQHandler ; SPI1
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
128 DCD SPI2_IRQHandler ; SPI2
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
129 DCD USART1_IRQHandler ; USART1
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
130 DCD USART2_IRQHandler ; USART2
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
131 DCD USART3_IRQHandler ; USART3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
132 DCD EXTI15_10_IRQHandler ; External Line[15:10]s
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
133 DCD RTC_Alarm_IRQHandler ; RTC Alarm (A and B) through EXTI Line
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
134 DCD OTG_FS_WKUP_IRQHandler ; USB OTG FS Wakeup through EXTI line
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
135 DCD TIM8_BRK_TIM12_IRQHandler ; TIM8 Break and TIM12
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
136 DCD TIM8_UP_TIM13_IRQHandler ; TIM8 Update and TIM13
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
137 DCD TIM8_TRG_COM_TIM14_IRQHandler ; TIM8 Trigger and Commutation and TIM14
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
138 DCD TIM8_CC_IRQHandler ; TIM8 Capture Compare
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
139 DCD DMA1_Stream7_IRQHandler ; DMA1 Stream7
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
140 DCD FMC_IRQHandler ; FMC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
141 DCD SDIO_IRQHandler ; SDIO
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
142 DCD TIM5_IRQHandler ; TIM5
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
143 DCD SPI3_IRQHandler ; SPI3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
144 DCD UART4_IRQHandler ; UART4
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
145 DCD UART5_IRQHandler ; UART5
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
146 DCD TIM6_DAC_IRQHandler ; TIM6 and DAC1&2 underrun errors
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
147 DCD TIM7_IRQHandler ; TIM7
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
148 DCD DMA2_Stream0_IRQHandler ; DMA2 Stream 0
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
149 DCD DMA2_Stream1_IRQHandler ; DMA2 Stream 1
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
150 DCD DMA2_Stream2_IRQHandler ; DMA2 Stream 2
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
151 DCD DMA2_Stream3_IRQHandler ; DMA2 Stream 3
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
152 DCD DMA2_Stream4_IRQHandler ; DMA2 Stream 4
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
153 DCD ETH_IRQHandler ; Ethernet
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
154 DCD ETH_WKUP_IRQHandler ; Ethernet Wakeup through EXTI line
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
155 DCD CAN2_TX_IRQHandler ; CAN2 TX
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
156 DCD CAN2_RX0_IRQHandler ; CAN2 RX0
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
157 DCD CAN2_RX1_IRQHandler ; CAN2 RX1
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
158 DCD CAN2_SCE_IRQHandler ; CAN2 SCE
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
159 DCD OTG_FS_IRQHandler ; USB OTG FS
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
160 DCD DMA2_Stream5_IRQHandler ; DMA2 Stream 5
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
161 DCD DMA2_Stream6_IRQHandler ; DMA2 Stream 6
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
162 DCD DMA2_Stream7_IRQHandler ; DMA2 Stream 7
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
163 DCD USART6_IRQHandler ; USART6
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
164 DCD I2C3_EV_IRQHandler ; I2C3 event
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
165 DCD I2C3_ER_IRQHandler ; I2C3 error
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
166 DCD OTG_HS_EP1_OUT_IRQHandler ; USB OTG HS End Point 1 Out
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
167 DCD OTG_HS_EP1_IN_IRQHandler ; USB OTG HS End Point 1 In
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
168 DCD OTG_HS_WKUP_IRQHandler ; USB OTG HS Wakeup through EXTI
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
169 DCD OTG_HS_IRQHandler ; USB OTG HS
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
170 DCD DCMI_IRQHandler ; DCMI
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
171 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
172 DCD HASH_RNG_IRQHandler ; Hash and Rng
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
173 DCD FPU_IRQHandler ; FPU
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
174 DCD UART7_IRQHandler ; UART7
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
175 DCD UART8_IRQHandler ; UART8
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
176 DCD SPI4_IRQHandler ; SPI4
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
177 DCD SPI5_IRQHandler ; SPI5
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
178 DCD SPI6_IRQHandler ; SPI6
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
179 DCD SAI1_IRQHandler ; SAI1
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
180 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
181 DCD 0 ; Reserved
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
182 DCD DMA2D_IRQHandler ; DMA2D
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
183
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
184 __Vectors_End
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
185
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
186 __Vectors_Size EQU __Vectors_End - __Vectors
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
187
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
188 AREA |.text|, CODE, READONLY
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
189
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
190 ; Reset handler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
191 Reset_Handler PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
192 EXPORT Reset_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
193 IMPORT SystemInit
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
194 IMPORT __main
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
195
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
196 LDR R0, =SystemInit
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
197 BLX R0
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
198 LDR R0, =__main
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
199 BX R0
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
200 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
201
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
202 ; Dummy Exception Handlers (infinite loops which can be modified)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
203
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
204 NMI_Handler PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
205 EXPORT NMI_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
206 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
207 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
208 HardFault_Handler\
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
209 PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
210 EXPORT HardFault_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
211 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
212 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
213 MemManage_Handler\
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
214 PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
215 EXPORT MemManage_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
216 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
217 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
218 BusFault_Handler\
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
219 PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
220 EXPORT BusFault_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
221 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
222 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
223 UsageFault_Handler\
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
224 PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
225 EXPORT UsageFault_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
226 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
227 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
228 SVC_Handler PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
229 EXPORT SVC_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
230 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
231 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
232 DebugMon_Handler\
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
233 PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
234 EXPORT DebugMon_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
235 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
236 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
237 PendSV_Handler PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
238 EXPORT PendSV_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
239 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
240 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
241 SysTick_Handler PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
242 EXPORT SysTick_Handler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
243 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
244 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
245
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
246 Default_Handler PROC
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
247
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
248 EXPORT WWDG_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
249 EXPORT PVD_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
250 EXPORT TAMP_STAMP_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
251 EXPORT RTC_WKUP_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
252 EXPORT FLASH_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
253 EXPORT RCC_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
254 EXPORT EXTI0_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
255 EXPORT EXTI1_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
256 EXPORT EXTI2_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
257 EXPORT EXTI3_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
258 EXPORT EXTI4_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
259 EXPORT DMA1_Stream0_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
260 EXPORT DMA1_Stream1_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
261 EXPORT DMA1_Stream2_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
262 EXPORT DMA1_Stream3_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
263 EXPORT DMA1_Stream4_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
264 EXPORT DMA1_Stream5_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
265 EXPORT DMA1_Stream6_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
266 EXPORT ADC_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
267 EXPORT CAN1_TX_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
268 EXPORT CAN1_RX0_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
269 EXPORT CAN1_RX1_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
270 EXPORT CAN1_SCE_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
271 EXPORT EXTI9_5_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
272 EXPORT TIM1_BRK_TIM9_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
273 EXPORT TIM1_UP_TIM10_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
274 EXPORT TIM1_TRG_COM_TIM11_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
275 EXPORT TIM1_CC_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
276 EXPORT TIM2_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
277 EXPORT TIM3_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
278 EXPORT TIM4_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
279 EXPORT I2C1_EV_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
280 EXPORT I2C1_ER_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
281 EXPORT I2C2_EV_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
282 EXPORT I2C2_ER_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
283 EXPORT SPI1_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
284 EXPORT SPI2_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
285 EXPORT USART1_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
286 EXPORT USART2_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
287 EXPORT USART3_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
288 EXPORT EXTI15_10_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
289 EXPORT RTC_Alarm_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
290 EXPORT OTG_FS_WKUP_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
291 EXPORT TIM8_BRK_TIM12_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
292 EXPORT TIM8_UP_TIM13_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
293 EXPORT TIM8_TRG_COM_TIM14_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
294 EXPORT TIM8_CC_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
295 EXPORT DMA1_Stream7_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
296 EXPORT FMC_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
297 EXPORT SDIO_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
298 EXPORT TIM5_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
299 EXPORT SPI3_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
300 EXPORT UART4_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
301 EXPORT UART5_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
302 EXPORT TIM6_DAC_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
303 EXPORT TIM7_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
304 EXPORT DMA2_Stream0_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
305 EXPORT DMA2_Stream1_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
306 EXPORT DMA2_Stream2_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
307 EXPORT DMA2_Stream3_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
308 EXPORT DMA2_Stream4_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
309 EXPORT ETH_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
310 EXPORT ETH_WKUP_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
311 EXPORT CAN2_TX_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
312 EXPORT CAN2_RX0_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
313 EXPORT CAN2_RX1_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
314 EXPORT CAN2_SCE_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
315 EXPORT OTG_FS_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
316 EXPORT DMA2_Stream5_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
317 EXPORT DMA2_Stream6_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
318 EXPORT DMA2_Stream7_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
319 EXPORT USART6_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
320 EXPORT I2C3_EV_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
321 EXPORT I2C3_ER_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
322 EXPORT OTG_HS_EP1_OUT_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
323 EXPORT OTG_HS_EP1_IN_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
324 EXPORT OTG_HS_WKUP_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
325 EXPORT OTG_HS_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
326 EXPORT DCMI_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
327 EXPORT HASH_RNG_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
328 EXPORT FPU_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
329 EXPORT UART7_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
330 EXPORT UART8_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
331 EXPORT SPI4_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
332 EXPORT SPI5_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
333 EXPORT SPI6_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
334 EXPORT SAI1_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
335 EXPORT DMA2D_IRQHandler [WEAK]
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
336
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
337 WWDG_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
338 PVD_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
339 TAMP_STAMP_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
340 RTC_WKUP_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
341 FLASH_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
342 RCC_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
343 EXTI0_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
344 EXTI1_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
345 EXTI2_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
346 EXTI3_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
347 EXTI4_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
348 DMA1_Stream0_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
349 DMA1_Stream1_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
350 DMA1_Stream2_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
351 DMA1_Stream3_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
352 DMA1_Stream4_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
353 DMA1_Stream5_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
354 DMA1_Stream6_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
355 ADC_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
356 CAN1_TX_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
357 CAN1_RX0_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
358 CAN1_RX1_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
359 CAN1_SCE_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
360 EXTI9_5_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
361 TIM1_BRK_TIM9_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
362 TIM1_UP_TIM10_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
363 TIM1_TRG_COM_TIM11_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
364 TIM1_CC_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
365 TIM2_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
366 TIM3_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
367 TIM4_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
368 I2C1_EV_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
369 I2C1_ER_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
370 I2C2_EV_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
371 I2C2_ER_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
372 SPI1_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
373 SPI2_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
374 USART1_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
375 USART2_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
376 USART3_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
377 EXTI15_10_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
378 RTC_Alarm_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
379 OTG_FS_WKUP_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
380 TIM8_BRK_TIM12_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
381 TIM8_UP_TIM13_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
382 TIM8_TRG_COM_TIM14_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
383 TIM8_CC_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
384 DMA1_Stream7_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
385 FMC_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
386 SDIO_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
387 TIM5_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
388 SPI3_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
389 UART4_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
390 UART5_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
391 TIM6_DAC_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
392 TIM7_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
393 DMA2_Stream0_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
394 DMA2_Stream1_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
395 DMA2_Stream2_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
396 DMA2_Stream3_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
397 DMA2_Stream4_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
398 ETH_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
399 ETH_WKUP_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
400 CAN2_TX_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
401 CAN2_RX0_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
402 CAN2_RX1_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
403 CAN2_SCE_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
404 OTG_FS_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
405 DMA2_Stream5_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
406 DMA2_Stream6_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
407 DMA2_Stream7_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
408 USART6_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
409 I2C3_EV_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
410 I2C3_ER_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
411 OTG_HS_EP1_OUT_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
412 OTG_HS_EP1_IN_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
413 OTG_HS_WKUP_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
414 OTG_HS_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
415 DCMI_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
416 HASH_RNG_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
417 FPU_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
418 UART7_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
419 UART8_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
420 SPI4_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
421 SPI5_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
422 SPI6_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
423 SAI1_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
424 DMA2D_IRQHandler
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
425 B .
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
426
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
427 ENDP
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
428
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
429 ALIGN
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
430
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
431 ;*******************************************************************************
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
432 ; User Stack and Heap initialization
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
433 ;*******************************************************************************
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
434 IF :DEF:__MICROLIB
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
435
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
436 EXPORT __initial_sp
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
437 EXPORT __heap_base
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
438 EXPORT __heap_limit
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
439
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
440 ELSE
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
441
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
442 IMPORT __use_two_region_memory
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
443 EXPORT __user_initial_stackheap
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
444
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
445 __user_initial_stackheap
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
446
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
447 LDR R0, = Heap_Mem
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
448 LDR R1, =(Stack_Mem + Stack_Size)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
449 LDR R2, = (Heap_Mem + Heap_Size)
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
450 LDR R3, = Stack_Mem
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
451 BX LR
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
452
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
453 ALIGN
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
454
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
455 ENDIF
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
456
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
457 END
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
458
5f11787b4f42 include in ostc4 repository
heinrichsweikamp
parents:
diff changeset
459 ;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE*****