ARM Macro Assembler Page 1 1 00000000 ;******************** (C) COPYRIGHT 2016 STMicroelectron ics ******************** 2 00000000 ;* File Name : startup_stm32f303xc.s 3 00000000 ;* Author : MCD Application Team 4 00000000 ;* Description : STM32F303xB/xC devices vector ta ble for MDK-ARM toolchain. 5 00000000 ;* This module performs: 6 00000000 ;* - Set the initial SP 7 00000000 ;* - Set the initial PC == Reset_Ha ndler 8 00000000 ;* - Set the vector table entries w ith the exceptions ISR address 9 00000000 ;* - Branches to __main in the C li brary (which eventually 10 00000000 ;* calls main()). 11 00000000 ;* After Reset the CortexM4 process or is in Thread mode, 12 00000000 ;* priority is Privileged, and the Stack is set to Main. 13 00000000 ;* 14 00000000 ;******************************************************* ************************ 15 00000000 ; 16 00000000 ;* Redistribution and use in source and binary forms, wi th or without modification, 17 00000000 ;* are permitted provided that the following conditions are met: 18 00000000 ;* 1. Redistributions of source code must retain the a bove copyright notice, 19 00000000 ;* this list of conditions and the following discla imer. 20 00000000 ;* 2. Redistributions in binary form must reproduce th e above copyright notice, 21 00000000 ;* this list of conditions and the following discla imer in the documentation 22 00000000 ;* and/or other materials provided with the distrib ution. 23 00000000 ;* 3. Neither the name of STMicroelectronics nor the n ames of its contributors 24 00000000 ;* may be used to endorse or promote products deriv ed from this software 25 00000000 ;* without specific prior written permission. 26 00000000 ;* 27 00000000 ;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AN D CONTRIBUTORS "AS IS" 28 00000000 ;* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 29 00000000 ;* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 30 00000000 ;* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 31 00000000 ;* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPL ARY, OR CONSEQUENTIAL 32 00000000 ;* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT O F SUBSTITUTE GOODS OR 33 00000000 ;* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 34 00000000 ;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CON TRACT, STRICT LIABILITY, ARM Macro Assembler Page 2 35 00000000 ;* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING I N ANY WAY OUT OF THE USE 36 00000000 ;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 00000000 ; 38 00000000 ;******************************************************* ************************ 39 00000000 40 00000000 ; Amount of memory (in bytes) allocated for Stack 41 00000000 ; Tailor this value to your application needs 42 00000000 ; Stack Configuration 43 00000000 ; Stack Size (in Bytes) <0x0-0xFFFFFFFF:8> 44 00000000 ; 45 00000000 46 00000000 00000400 Stack_Size EQU 0x400 47 00000000 48 00000000 AREA STACK, NOINIT, READWRITE, ALIGN =3 49 00000000 Stack_Mem SPACE Stack_Size 50 00000400 __initial_sp 51 00000400 52 00000400 53 00000400 ; Heap Configuration 54 00000400 ; Heap Size (in Bytes) <0x0-0xFFFFFFFF:8> 55 00000400 ; 56 00000400 57 00000400 00000200 Heap_Size EQU 0x200 58 00000400 59 00000400 AREA HEAP, NOINIT, READWRITE, ALIGN= 3 60 00000000 __heap_base 61 00000000 Heap_Mem SPACE Heap_Size 62 00000200 __heap_limit 63 00000200 64 00000200 PRESERVE8 65 00000200 THUMB 66 00000200 67 00000200 68 00000200 ; Vector Table Mapped to Address 0 at Reset 69 00000200 AREA RESET, DATA, READONLY 70 00000000 EXPORT __Vectors 71 00000000 EXPORT __Vectors_End 72 00000000 EXPORT __Vectors_Size 73 00000000 74 00000000 00000000 __Vectors DCD __initial_sp ; Top of Stack 75 00000004 00000000 DCD Reset_Handler ; Reset Handler 76 00000008 00000000 DCD NMI_Handler ; NMI Handler 77 0000000C 00000000 DCD HardFault_Handler ; Hard Fault Handler 78 00000010 00000000 DCD MemManage_Handler ; MPU Fault Handler ARM Macro Assembler Page 3 79 00000014 00000000 DCD BusFault_Handler ; Bus Fault Handler 80 00000018 00000000 DCD UsageFault_Handler ; Usage Faul t Handler 81 0000001C 00000000 DCD 0 ; Reserved 82 00000020 00000000 DCD 0 ; Reserved 83 00000024 00000000 DCD 0 ; Reserved 84 00000028 00000000 DCD 0 ; Reserved 85 0000002C 00000000 DCD SVC_Handler ; SVCall Handler 86 00000030 00000000 DCD DebugMon_Handler ; Debug Monito r Handler 87 00000034 00000000 DCD 0 ; Reserved 88 00000038 00000000 DCD PendSV_Handler ; PendSV Handler 89 0000003C 00000000 DCD SysTick_Handler ; SysTick Handler 90 00000040 91 00000040 ; External Interrupts 92 00000040 00000000 DCD WWDG_IRQHandler ; Window WatchDog 93 00000044 00000000 DCD PVD_IRQHandler ; PVD through EX TI Line detection 94 00000048 00000000 DCD TAMP_STAMP_IRQHandler ; Tamper and TimeStamps thro ugh the EXTI line 95 0000004C 00000000 DCD RTC_WKUP_IRQHandler ; RTC Wakeu p through the EXTI line 96 00000050 00000000 DCD FLASH_IRQHandler ; FLASH 97 00000054 00000000 DCD RCC_IRQHandler ; RCC 98 00000058 00000000 DCD EXTI0_IRQHandler ; EXTI Line0 99 0000005C 00000000 DCD EXTI1_IRQHandler ; EXTI Line1 100 00000060 00000000 DCD EXTI2_TSC_IRQHandler ; EXTI Lin e2 and Touch Sense controller 101 00000064 00000000 DCD EXTI3_IRQHandler ; EXTI Line3 102 00000068 00000000 DCD EXTI4_IRQHandler ; EXTI Line4 103 0000006C 00000000 DCD DMA1_Channel1_IRQHandler ; DMA1 Channel 1 104 00000070 00000000 DCD DMA1_Channel2_IRQHandler ; DMA1 Channel 2 105 00000074 00000000 DCD DMA1_Channel3_IRQHandler ; DMA1 Channel 3 106 00000078 00000000 DCD DMA1_Channel4_IRQHandler ; DMA1 Channel 4 107 0000007C 00000000 DCD DMA1_Channel5_IRQHandler ; DMA1 Channel 5 108 00000080 00000000 DCD DMA1_Channel6_IRQHandler ; DMA1 Channel 6 109 00000084 00000000 DCD DMA1_Channel7_IRQHandler ; DMA1 Channel 7 110 00000088 00000000 DCD ADC1_2_IRQHandler ; ADC1 and ADC2 111 0000008C 00000000 DCD USB_HP_CAN_TX_IRQHandler ; USB Device High Priorit y or CAN TX 112 00000090 00000000 DCD USB_LP_CAN_RX0_IRQHandler ; USB ARM Macro Assembler Page 4 Device Low Priorit y or CAN RX0 113 00000094 00000000 DCD CAN_RX1_IRQHandler ; CAN RX1 114 00000098 00000000 DCD CAN_SCE_IRQHandler ; CAN SCE 115 0000009C 00000000 DCD EXTI9_5_IRQHandler ; External L ine[9:5]s 116 000000A0 00000000 DCD TIM1_BRK_TIM15_IRQHandler ; TIM 1 Break and TIM15 117 000000A4 00000000 DCD TIM1_UP_TIM16_IRQHandler ; TIM1 Update and TIM16 118 000000A8 00000000 DCD TIM1_TRG_COM_TIM17_IRQHandler ; TIM1 Trigger and C ommutation and TIM1 7 119 000000AC 00000000 DCD TIM1_CC_IRQHandler ; TIM1 Captu re Compare 120 000000B0 00000000 DCD TIM2_IRQHandler ; TIM2 121 000000B4 00000000 DCD TIM3_IRQHandler ; TIM3 122 000000B8 00000000 DCD TIM4_IRQHandler ; TIM4 123 000000BC 00000000 DCD I2C1_EV_IRQHandler ; I2C1 Event 124 000000C0 00000000 DCD I2C1_ER_IRQHandler ; I2C1 Error 125 000000C4 00000000 DCD I2C2_EV_IRQHandler ; I2C2 Event 126 000000C8 00000000 DCD I2C2_ER_IRQHandler ; I2C2 Error 127 000000CC 00000000 DCD SPI1_IRQHandler ; SPI1 128 000000D0 00000000 DCD SPI2_IRQHandler ; SPI2 129 000000D4 00000000 DCD USART1_IRQHandler ; USART1 130 000000D8 00000000 DCD USART2_IRQHandler ; USART2 131 000000DC 00000000 DCD USART3_IRQHandler ; USART3 132 000000E0 00000000 DCD EXTI15_10_IRQHandler ; External Line[15:10]s 133 000000E4 00000000 DCD RTC_Alarm_IRQHandler ; RTC Alar m (A and B) through EXTI Line 134 000000E8 00000000 DCD USBWakeUp_IRQHandler ; USB Wake up through EXTI lin e 135 000000EC 00000000 DCD TIM8_BRK_IRQHandler ; TIM8 Break 136 000000F0 00000000 DCD TIM8_UP_IRQHandler ; TIM8 Update 137 000000F4 00000000 DCD TIM8_TRG_COM_IRQHandler ; TIM8 Trigger and Commuta tion 138 000000F8 00000000 DCD TIM8_CC_IRQHandler ; TIM8 Captu re Compare 139 000000FC 00000000 DCD ADC3_IRQHandler ; ADC3 140 00000100 00000000 DCD 0 ; Reserved 141 00000104 00000000 DCD 0 ; Reserved 142 00000108 00000000 DCD 0 ; Reserved 143 0000010C 00000000 DCD SPI3_IRQHandler ; SPI3 144 00000110 00000000 DCD UART4_IRQHandler ; UART4 145 00000114 00000000 DCD UART5_IRQHandler ; UART5 146 00000118 00000000 DCD TIM6_DAC_IRQHandler ; TIM6 and DAC1&2 underrun err ors ARM Macro Assembler Page 5 147 0000011C 00000000 DCD TIM7_IRQHandler ; TIM7 148 00000120 00000000 DCD DMA2_Channel1_IRQHandler ; DMA2 Channel 1 149 00000124 00000000 DCD DMA2_Channel2_IRQHandler ; DMA2 Channel 2 150 00000128 00000000 DCD DMA2_Channel3_IRQHandler ; DMA2 Channel 3 151 0000012C 00000000 DCD DMA2_Channel4_IRQHandler ; DMA2 Channel 4 152 00000130 00000000 DCD DMA2_Channel5_IRQHandler ; DMA2 Channel 5 153 00000134 00000000 DCD ADC4_IRQHandler ; ADC4 154 00000138 00000000 DCD 0 ; Reserved 155 0000013C 00000000 DCD 0 ; Reserved 156 00000140 00000000 DCD COMP1_2_3_IRQHandler ; COMP1, C OMP2 and COMP3 157 00000144 00000000 DCD COMP4_5_6_IRQHandler ; COMP4, C OMP5 and COMP6 158 00000148 00000000 DCD COMP7_IRQHandler ; COMP7 159 0000014C 00000000 DCD 0 ; Reserved 160 00000150 00000000 DCD 0 ; Reserved 161 00000154 00000000 DCD 0 ; Reserved 162 00000158 00000000 DCD 0 ; Reserved 163 0000015C 00000000 DCD 0 ; Reserved 164 00000160 00000000 DCD 0 ; Reserved 165 00000164 00000000 DCD 0 ; Reserved 166 00000168 00000000 DCD USB_HP_IRQHandler ; USB High Pr iority remap 167 0000016C 00000000 DCD USB_LP_IRQHandler ; USB Low Pri ority remap 168 00000170 00000000 DCD USBWakeUp_RMP_IRQHandler ; USB Wakeup remap throug h EXTI 169 00000174 00000000 DCD 0 ; Reserved 170 00000178 00000000 DCD 0 ; Reserved 171 0000017C 00000000 DCD 0 ; Reserved 172 00000180 00000000 DCD 0 ; Reserved 173 00000184 00000000 DCD FPU_IRQHandler ; FPU 174 00000188 175 00000188 __Vectors_End 176 00000188 177 00000188 00000188 __Vectors_Size EQU __Vectors_End - __Vectors 178 00000188 179 00000188 AREA |.text|, CODE, READONLY 180 00000000 181 00000000 ; Reset handler 182 00000000 Reset_Handler PROC 183 00000000 EXPORT Reset_Handler [WEAK ] 184 00000000 IMPORT SystemInit 185 00000000 IMPORT __main 186 00000000 187 00000000 4806 LDR R0, =SystemInit 188 00000002 4780 BLX R0 189 00000004 4806 LDR R0, =__main 190 00000006 4700 BX R0 ARM Macro Assembler Page 6 191 00000008 ENDP 192 00000008 193 00000008 ; Dummy Exception Handlers (infinite loops which can be modified) 194 00000008 195 00000008 NMI_Handler PROC 196 00000008 EXPORT NMI_Handler [WEA K] 197 00000008 E7FE B . 198 0000000A ENDP 200 0000000A HardFault_Handler PROC 201 0000000A EXPORT HardFault_Handler [WEA K] 202 0000000A E7FE B . 203 0000000C ENDP 205 0000000C MemManage_Handler PROC 206 0000000C EXPORT MemManage_Handler [WEA K] 207 0000000C E7FE B . 208 0000000E ENDP 210 0000000E BusFault_Handler PROC 211 0000000E EXPORT BusFault_Handler [WEA K] 212 0000000E E7FE B . 213 00000010 ENDP 215 00000010 UsageFault_Handler PROC 216 00000010 EXPORT UsageFault_Handler [WEA K] 217 00000010 E7FE B . 218 00000012 ENDP 219 00000012 SVC_Handler PROC 220 00000012 EXPORT SVC_Handler [WEA K] 221 00000012 E7FE B . 222 00000014 ENDP 224 00000014 DebugMon_Handler PROC 225 00000014 EXPORT DebugMon_Handler [WEA K] 226 00000014 E7FE B . 227 00000016 ENDP 228 00000016 PendSV_Handler PROC 229 00000016 EXPORT PendSV_Handler [WEA K] 230 00000016 E7FE B . 231 00000018 ENDP 232 00000018 SysTick_Handler PROC 233 00000018 EXPORT SysTick_Handler [WEA K] 234 00000018 E7FE B . 235 0000001A ENDP ARM Macro Assembler Page 7 236 0000001A 237 0000001A Default_Handler PROC 238 0000001A 239 0000001A EXPORT WWDG_IRQHandler [WEAK] 240 0000001A EXPORT PVD_IRQHandler [WEAK] 241 0000001A EXPORT TAMP_STAMP_IRQHandler [WEAK] 242 0000001A EXPORT RTC_WKUP_IRQHandler [WEAK] 243 0000001A EXPORT FLASH_IRQHandler [WEAK] 244 0000001A EXPORT RCC_IRQHandler [WEAK] 245 0000001A EXPORT EXTI0_IRQHandler [WEAK] 246 0000001A EXPORT EXTI1_IRQHandler [WEAK] 247 0000001A EXPORT EXTI2_TSC_IRQHandler [WEAK] 248 0000001A EXPORT EXTI3_IRQHandler [WEAK] 249 0000001A EXPORT EXTI4_IRQHandler [WEAK] 250 0000001A EXPORT DMA1_Channel1_IRQHandler [WEAK] 251 0000001A EXPORT DMA1_Channel2_IRQHandler [WEAK] 252 0000001A EXPORT DMA1_Channel3_IRQHandler [WEAK] 253 0000001A EXPORT DMA1_Channel4_IRQHandler [WEAK] 254 0000001A EXPORT DMA1_Channel5_IRQHandler [WEAK] 255 0000001A EXPORT DMA1_Channel6_IRQHandler [WEAK] 256 0000001A EXPORT DMA1_Channel7_IRQHandler [WEAK] 257 0000001A EXPORT ADC1_2_IRQHandler [WEAK] 258 0000001A EXPORT USB_HP_CAN_TX_IRQHandler [WEAK] 259 0000001A EXPORT USB_LP_CAN_RX0_IRQHandler [WEAK] 260 0000001A EXPORT CAN_RX1_IRQHandler [WEAK] 261 0000001A EXPORT CAN_SCE_IRQHandler [WEAK] 262 0000001A EXPORT EXTI9_5_IRQHandler [WEAK] 263 0000001A EXPORT TIM1_BRK_TIM15_IRQHandler [WEAK] 264 0000001A EXPORT TIM1_UP_TIM16_IRQHandler [WEAK] 265 0000001A EXPORT TIM1_TRG_COM_TIM17_IRQHandler [WEAK] 266 0000001A EXPORT TIM1_CC_IRQHandler ARM Macro Assembler Page 8 [WEAK] 267 0000001A EXPORT TIM2_IRQHandler [WEAK] 268 0000001A EXPORT TIM3_IRQHandler [WEAK] 269 0000001A EXPORT TIM4_IRQHandler [WEAK] 270 0000001A EXPORT I2C1_EV_IRQHandler [WEAK] 271 0000001A EXPORT I2C1_ER_IRQHandler [WEAK] 272 0000001A EXPORT I2C2_EV_IRQHandler [WEAK] 273 0000001A EXPORT I2C2_ER_IRQHandler [WEAK] 274 0000001A EXPORT SPI1_IRQHandler [WEAK] 275 0000001A EXPORT SPI2_IRQHandler [WEAK] 276 0000001A EXPORT USART1_IRQHandler [WEAK] 277 0000001A EXPORT USART2_IRQHandler [WEAK] 278 0000001A EXPORT USART3_IRQHandler [WEAK] 279 0000001A EXPORT EXTI15_10_IRQHandler [WEAK] 280 0000001A EXPORT RTC_Alarm_IRQHandler [WEAK] 281 0000001A EXPORT USBWakeUp_IRQHandler [WEAK] 282 0000001A EXPORT TIM8_BRK_IRQHandler [WEAK] 283 0000001A EXPORT TIM8_UP_IRQHandler [WEAK] 284 0000001A EXPORT TIM8_TRG_COM_IRQHandler [WEAK] 285 0000001A EXPORT TIM8_CC_IRQHandler [WEAK] 286 0000001A EXPORT ADC3_IRQHandler [WEAK] 287 0000001A EXPORT SPI3_IRQHandler [WEAK] 288 0000001A EXPORT UART4_IRQHandler [WEAK] 289 0000001A EXPORT UART5_IRQHandler [WEAK] 290 0000001A EXPORT TIM6_DAC_IRQHandler [WEAK] 291 0000001A EXPORT TIM7_IRQHandler [WEAK] 292 0000001A EXPORT DMA2_Channel1_IRQHandler [WEAK] 293 0000001A EXPORT DMA2_Channel2_IRQHandler [WEAK] 294 0000001A EXPORT DMA2_Channel3_IRQHandler [WEAK] 295 0000001A EXPORT DMA2_Channel4_IRQHandler [WEAK] ARM Macro Assembler Page 9 296 0000001A EXPORT DMA2_Channel5_IRQHandler [WEAK] 297 0000001A EXPORT ADC4_IRQHandler [WEAK] 298 0000001A EXPORT COMP1_2_3_IRQHandler [WEAK] 299 0000001A EXPORT COMP4_5_6_IRQHandler [WEAK] 300 0000001A EXPORT COMP7_IRQHandler [WEAK] 301 0000001A EXPORT USB_HP_IRQHandler [WEAK] 302 0000001A EXPORT USB_LP_IRQHandler [WEAK] 303 0000001A EXPORT USBWakeUp_RMP_IRQHandler [WEAK] 304 0000001A EXPORT FPU_IRQHandler [WEAK] 305 0000001A 306 0000001A WWDG_IRQHandler 307 0000001A PVD_IRQHandler 308 0000001A TAMP_STAMP_IRQHandler 309 0000001A RTC_WKUP_IRQHandler 310 0000001A FLASH_IRQHandler 311 0000001A RCC_IRQHandler 312 0000001A EXTI0_IRQHandler 313 0000001A EXTI1_IRQHandler 314 0000001A EXTI2_TSC_IRQHandler 315 0000001A EXTI3_IRQHandler 316 0000001A EXTI4_IRQHandler 317 0000001A DMA1_Channel1_IRQHandler 318 0000001A DMA1_Channel2_IRQHandler 319 0000001A DMA1_Channel3_IRQHandler 320 0000001A DMA1_Channel4_IRQHandler 321 0000001A DMA1_Channel5_IRQHandler 322 0000001A DMA1_Channel6_IRQHandler 323 0000001A DMA1_Channel7_IRQHandler 324 0000001A ADC1_2_IRQHandler 325 0000001A USB_HP_CAN_TX_IRQHandler 326 0000001A USB_LP_CAN_RX0_IRQHandler 327 0000001A CAN_RX1_IRQHandler 328 0000001A CAN_SCE_IRQHandler 329 0000001A EXTI9_5_IRQHandler 330 0000001A TIM1_BRK_TIM15_IRQHandler 331 0000001A TIM1_UP_TIM16_IRQHandler 332 0000001A TIM1_TRG_COM_TIM17_IRQHandler 333 0000001A TIM1_CC_IRQHandler 334 0000001A TIM2_IRQHandler 335 0000001A TIM3_IRQHandler 336 0000001A TIM4_IRQHandler 337 0000001A I2C1_EV_IRQHandler 338 0000001A I2C1_ER_IRQHandler 339 0000001A I2C2_EV_IRQHandler 340 0000001A I2C2_ER_IRQHandler 341 0000001A SPI1_IRQHandler 342 0000001A SPI2_IRQHandler 343 0000001A USART1_IRQHandler 344 0000001A USART2_IRQHandler 345 0000001A USART3_IRQHandler ARM Macro Assembler Page 10 346 0000001A EXTI15_10_IRQHandler 347 0000001A RTC_Alarm_IRQHandler 348 0000001A USBWakeUp_IRQHandler 349 0000001A TIM8_BRK_IRQHandler 350 0000001A TIM8_UP_IRQHandler 351 0000001A TIM8_TRG_COM_IRQHandler 352 0000001A TIM8_CC_IRQHandler 353 0000001A ADC3_IRQHandler 354 0000001A SPI3_IRQHandler 355 0000001A UART4_IRQHandler 356 0000001A UART5_IRQHandler 357 0000001A TIM6_DAC_IRQHandler 358 0000001A TIM7_IRQHandler 359 0000001A DMA2_Channel1_IRQHandler 360 0000001A DMA2_Channel2_IRQHandler 361 0000001A DMA2_Channel3_IRQHandler 362 0000001A DMA2_Channel4_IRQHandler 363 0000001A DMA2_Channel5_IRQHandler 364 0000001A ADC4_IRQHandler 365 0000001A COMP1_2_3_IRQHandler 366 0000001A COMP4_5_6_IRQHandler 367 0000001A COMP7_IRQHandler 368 0000001A USB_HP_IRQHandler 369 0000001A USB_LP_IRQHandler 370 0000001A USBWakeUp_RMP_IRQHandler 371 0000001A FPU_IRQHandler 372 0000001A 373 0000001A E7FE B . 374 0000001C 375 0000001C ENDP 376 0000001C 377 0000001C ALIGN 378 0000001C 379 0000001C ;******************************************************* ************************ 380 0000001C ; User Stack and Heap initialization 381 0000001C ;******************************************************* ************************ 382 0000001C IF :DEF:__MICROLIB 383 0000001C 384 0000001C EXPORT __initial_sp 385 0000001C EXPORT __heap_base 386 0000001C EXPORT __heap_limit 387 0000001C 388 0000001C ELSE 403 ENDIF 404 0000001C 405 0000001C END 00000000 00000000 Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M4.fp --apcs=int erwork --depend=project_1\startup_stm32f303xc.d -oproject_1\startup_stm32f303xc .o -I.\RTE\_project_1 -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.0.1\CMSIS\Include -IC:\ Keil_v5\ARM\PACK\Keil\STM32F3xx_DFP\2.1.0\Drivers\CMSIS\Device\ST\STM32F3xx\Inc lude --predefine="__EVAL SETA 1" --predefine="__MICROLIB SETA 1" --predefine="_ _UVISION_VERSION SETA 524" --predefine="_RTE_ SETA 1" --predefine="STM32F303xC SETA 1" --list=startup_stm32f303xc.lst startup_stm32f303xc.s ARM Macro Assembler Page 1 Alphabetic symbol ordering Relocatable symbols STACK 00000000 Symbol: STACK Definitions At line 48 in file startup_stm32f303xc.s Uses None Comment: STACK unused Stack_Mem 00000000 Symbol: Stack_Mem Definitions At line 49 in file startup_stm32f303xc.s Uses None Comment: Stack_Mem unused __initial_sp 00000400 Symbol: __initial_sp Definitions At line 50 in file startup_stm32f303xc.s Uses At line 74 in file startup_stm32f303xc.s At line 384 in file startup_stm32f303xc.s 3 symbols ARM Macro Assembler Page 1 Alphabetic symbol ordering Relocatable symbols HEAP 00000000 Symbol: HEAP Definitions At line 59 in file startup_stm32f303xc.s Uses None Comment: HEAP unused Heap_Mem 00000000 Symbol: Heap_Mem Definitions At line 61 in file startup_stm32f303xc.s Uses None Comment: Heap_Mem unused __heap_base 00000000 Symbol: __heap_base Definitions At line 60 in file startup_stm32f303xc.s Uses At line 385 in file startup_stm32f303xc.s Comment: __heap_base used once __heap_limit 00000200 Symbol: __heap_limit Definitions At line 62 in file startup_stm32f303xc.s Uses At line 386 in file startup_stm32f303xc.s Comment: __heap_limit used once 4 symbols ARM Macro Assembler Page 1 Alphabetic symbol ordering Relocatable symbols RESET 00000000 Symbol: RESET Definitions At line 69 in file startup_stm32f303xc.s Uses None Comment: RESET unused __Vectors 00000000 Symbol: __Vectors Definitions At line 74 in file startup_stm32f303xc.s Uses At line 70 in file startup_stm32f303xc.s At line 177 in file startup_stm32f303xc.s __Vectors_End 00000188 Symbol: __Vectors_End Definitions At line 175 in file startup_stm32f303xc.s Uses At line 71 in file startup_stm32f303xc.s At line 177 in file startup_stm32f303xc.s 3 symbols ARM Macro Assembler Page 1 Alphabetic symbol ordering Relocatable symbols .text 00000000 Symbol: .text Definitions At line 179 in file startup_stm32f303xc.s Uses None Comment: .text unused ADC1_2_IRQHandler 0000001A Symbol: ADC1_2_IRQHandler Definitions At line 324 in file startup_stm32f303xc.s Uses At line 110 in file startup_stm32f303xc.s At line 257 in file startup_stm32f303xc.s ADC3_IRQHandler 0000001A Symbol: ADC3_IRQHandler Definitions At line 353 in file startup_stm32f303xc.s Uses At line 139 in file startup_stm32f303xc.s At line 286 in file startup_stm32f303xc.s ADC4_IRQHandler 0000001A Symbol: ADC4_IRQHandler Definitions At line 364 in file startup_stm32f303xc.s Uses At line 153 in file startup_stm32f303xc.s At line 297 in file startup_stm32f303xc.s BusFault_Handler 0000000E Symbol: BusFault_Handler Definitions At line 210 in file startup_stm32f303xc.s Uses At line 79 in file startup_stm32f303xc.s At line 211 in file startup_stm32f303xc.s CAN_RX1_IRQHandler 0000001A Symbol: CAN_RX1_IRQHandler Definitions At line 327 in file startup_stm32f303xc.s Uses At line 113 in file startup_stm32f303xc.s At line 260 in file startup_stm32f303xc.s CAN_SCE_IRQHandler 0000001A Symbol: CAN_SCE_IRQHandler Definitions At line 328 in file startup_stm32f303xc.s Uses ARM Macro Assembler Page 2 Alphabetic symbol ordering Relocatable symbols At line 114 in file startup_stm32f303xc.s At line 261 in file startup_stm32f303xc.s COMP1_2_3_IRQHandler 0000001A Symbol: COMP1_2_3_IRQHandler Definitions At line 365 in file startup_stm32f303xc.s Uses At line 156 in file startup_stm32f303xc.s At line 298 in file startup_stm32f303xc.s COMP4_5_6_IRQHandler 0000001A Symbol: COMP4_5_6_IRQHandler Definitions At line 366 in file startup_stm32f303xc.s Uses At line 157 in file startup_stm32f303xc.s At line 299 in file startup_stm32f303xc.s COMP7_IRQHandler 0000001A Symbol: COMP7_IRQHandler Definitions At line 367 in file startup_stm32f303xc.s Uses At line 158 in file startup_stm32f303xc.s At line 300 in file startup_stm32f303xc.s DMA1_Channel1_IRQHandler 0000001A Symbol: DMA1_Channel1_IRQHandler Definitions At line 317 in file startup_stm32f303xc.s Uses At line 103 in file startup_stm32f303xc.s At line 250 in file startup_stm32f303xc.s DMA1_Channel2_IRQHandler 0000001A Symbol: DMA1_Channel2_IRQHandler Definitions At line 318 in file startup_stm32f303xc.s Uses At line 104 in file startup_stm32f303xc.s At line 251 in file startup_stm32f303xc.s DMA1_Channel3_IRQHandler 0000001A Symbol: DMA1_Channel3_IRQHandler Definitions At line 319 in file startup_stm32f303xc.s Uses At line 105 in file startup_stm32f303xc.s At line 252 in file startup_stm32f303xc.s DMA1_Channel4_IRQHandler 0000001A ARM Macro Assembler Page 3 Alphabetic symbol ordering Relocatable symbols Symbol: DMA1_Channel4_IRQHandler Definitions At line 320 in file startup_stm32f303xc.s Uses At line 106 in file startup_stm32f303xc.s At line 253 in file startup_stm32f303xc.s DMA1_Channel5_IRQHandler 0000001A Symbol: DMA1_Channel5_IRQHandler Definitions At line 321 in file startup_stm32f303xc.s Uses At line 107 in file startup_stm32f303xc.s At line 254 in file startup_stm32f303xc.s DMA1_Channel6_IRQHandler 0000001A Symbol: DMA1_Channel6_IRQHandler Definitions At line 322 in file startup_stm32f303xc.s Uses At line 108 in file startup_stm32f303xc.s At line 255 in file startup_stm32f303xc.s DMA1_Channel7_IRQHandler 0000001A Symbol: DMA1_Channel7_IRQHandler Definitions At line 323 in file startup_stm32f303xc.s Uses At line 109 in file startup_stm32f303xc.s At line 256 in file startup_stm32f303xc.s DMA2_Channel1_IRQHandler 0000001A Symbol: DMA2_Channel1_IRQHandler Definitions At line 359 in file startup_stm32f303xc.s Uses At line 148 in file startup_stm32f303xc.s At line 292 in file startup_stm32f303xc.s DMA2_Channel2_IRQHandler 0000001A Symbol: DMA2_Channel2_IRQHandler Definitions At line 360 in file startup_stm32f303xc.s Uses At line 149 in file startup_stm32f303xc.s At line 293 in file startup_stm32f303xc.s DMA2_Channel3_IRQHandler 0000001A Symbol: DMA2_Channel3_IRQHandler Definitions At line 361 in file startup_stm32f303xc.s Uses At line 150 in file startup_stm32f303xc.s ARM Macro Assembler Page 4 Alphabetic symbol ordering Relocatable symbols At line 294 in file startup_stm32f303xc.s DMA2_Channel4_IRQHandler 0000001A Symbol: DMA2_Channel4_IRQHandler Definitions At line 362 in file startup_stm32f303xc.s Uses At line 151 in file startup_stm32f303xc.s At line 295 in file startup_stm32f303xc.s DMA2_Channel5_IRQHandler 0000001A Symbol: DMA2_Channel5_IRQHandler Definitions At line 363 in file startup_stm32f303xc.s Uses At line 152 in file startup_stm32f303xc.s At line 296 in file startup_stm32f303xc.s DebugMon_Handler 00000014 Symbol: DebugMon_Handler Definitions At line 224 in file startup_stm32f303xc.s Uses At line 86 in file startup_stm32f303xc.s At line 225 in file startup_stm32f303xc.s Default_Handler 0000001A Symbol: Default_Handler Definitions At line 237 in file startup_stm32f303xc.s Uses None Comment: Default_Handler unused EXTI0_IRQHandler 0000001A Symbol: EXTI0_IRQHandler Definitions At line 312 in file startup_stm32f303xc.s Uses At line 98 in file startup_stm32f303xc.s At line 245 in file startup_stm32f303xc.s EXTI15_10_IRQHandler 0000001A Symbol: EXTI15_10_IRQHandler Definitions At line 346 in file startup_stm32f303xc.s Uses At line 132 in file startup_stm32f303xc.s At line 279 in file startup_stm32f303xc.s EXTI1_IRQHandler 0000001A Symbol: EXTI1_IRQHandler Definitions ARM Macro Assembler Page 5 Alphabetic symbol ordering Relocatable symbols At line 313 in file startup_stm32f303xc.s Uses At line 99 in file startup_stm32f303xc.s At line 246 in file startup_stm32f303xc.s EXTI2_TSC_IRQHandler 0000001A Symbol: EXTI2_TSC_IRQHandler Definitions At line 314 in file startup_stm32f303xc.s Uses At line 100 in file startup_stm32f303xc.s At line 247 in file startup_stm32f303xc.s EXTI3_IRQHandler 0000001A Symbol: EXTI3_IRQHandler Definitions At line 315 in file startup_stm32f303xc.s Uses At line 101 in file startup_stm32f303xc.s At line 248 in file startup_stm32f303xc.s EXTI4_IRQHandler 0000001A Symbol: EXTI4_IRQHandler Definitions At line 316 in file startup_stm32f303xc.s Uses At line 102 in file startup_stm32f303xc.s At line 249 in file startup_stm32f303xc.s EXTI9_5_IRQHandler 0000001A Symbol: EXTI9_5_IRQHandler Definitions At line 329 in file startup_stm32f303xc.s Uses At line 115 in file startup_stm32f303xc.s At line 262 in file startup_stm32f303xc.s FLASH_IRQHandler 0000001A Symbol: FLASH_IRQHandler Definitions At line 310 in file startup_stm32f303xc.s Uses At line 96 in file startup_stm32f303xc.s At line 243 in file startup_stm32f303xc.s FPU_IRQHandler 0000001A Symbol: FPU_IRQHandler Definitions At line 371 in file startup_stm32f303xc.s Uses At line 173 in file startup_stm32f303xc.s At line 304 in file startup_stm32f303xc.s ARM Macro Assembler Page 6 Alphabetic symbol ordering Relocatable symbols HardFault_Handler 0000000A Symbol: HardFault_Handler Definitions At line 200 in file startup_stm32f303xc.s Uses At line 77 in file startup_stm32f303xc.s At line 201 in file startup_stm32f303xc.s I2C1_ER_IRQHandler 0000001A Symbol: I2C1_ER_IRQHandler Definitions At line 338 in file startup_stm32f303xc.s Uses At line 124 in file startup_stm32f303xc.s At line 271 in file startup_stm32f303xc.s I2C1_EV_IRQHandler 0000001A Symbol: I2C1_EV_IRQHandler Definitions At line 337 in file startup_stm32f303xc.s Uses At line 123 in file startup_stm32f303xc.s At line 270 in file startup_stm32f303xc.s I2C2_ER_IRQHandler 0000001A Symbol: I2C2_ER_IRQHandler Definitions At line 340 in file startup_stm32f303xc.s Uses At line 126 in file startup_stm32f303xc.s At line 273 in file startup_stm32f303xc.s I2C2_EV_IRQHandler 0000001A Symbol: I2C2_EV_IRQHandler Definitions At line 339 in file startup_stm32f303xc.s Uses At line 125 in file startup_stm32f303xc.s At line 272 in file startup_stm32f303xc.s MemManage_Handler 0000000C Symbol: MemManage_Handler Definitions At line 205 in file startup_stm32f303xc.s Uses At line 78 in file startup_stm32f303xc.s At line 206 in file startup_stm32f303xc.s NMI_Handler 00000008 Symbol: NMI_Handler Definitions At line 195 in file startup_stm32f303xc.s ARM Macro Assembler Page 7 Alphabetic symbol ordering Relocatable symbols Uses At line 76 in file startup_stm32f303xc.s At line 196 in file startup_stm32f303xc.s PVD_IRQHandler 0000001A Symbol: PVD_IRQHandler Definitions At line 307 in file startup_stm32f303xc.s Uses At line 93 in file startup_stm32f303xc.s At line 240 in file startup_stm32f303xc.s PendSV_Handler 00000016 Symbol: PendSV_Handler Definitions At line 228 in file startup_stm32f303xc.s Uses At line 88 in file startup_stm32f303xc.s At line 229 in file startup_stm32f303xc.s RCC_IRQHandler 0000001A Symbol: RCC_IRQHandler Definitions At line 311 in file startup_stm32f303xc.s Uses At line 97 in file startup_stm32f303xc.s At line 244 in file startup_stm32f303xc.s RTC_Alarm_IRQHandler 0000001A Symbol: RTC_Alarm_IRQHandler Definitions At line 347 in file startup_stm32f303xc.s Uses At line 133 in file startup_stm32f303xc.s At line 280 in file startup_stm32f303xc.s RTC_WKUP_IRQHandler 0000001A Symbol: RTC_WKUP_IRQHandler Definitions At line 309 in file startup_stm32f303xc.s Uses At line 95 in file startup_stm32f303xc.s At line 242 in file startup_stm32f303xc.s Reset_Handler 00000000 Symbol: Reset_Handler Definitions At line 182 in file startup_stm32f303xc.s Uses At line 75 in file startup_stm32f303xc.s At line 183 in file startup_stm32f303xc.s SPI1_IRQHandler 0000001A ARM Macro Assembler Page 8 Alphabetic symbol ordering Relocatable symbols Symbol: SPI1_IRQHandler Definitions At line 341 in file startup_stm32f303xc.s Uses At line 127 in file startup_stm32f303xc.s At line 274 in file startup_stm32f303xc.s SPI2_IRQHandler 0000001A Symbol: SPI2_IRQHandler Definitions At line 342 in file startup_stm32f303xc.s Uses At line 128 in file startup_stm32f303xc.s At line 275 in file startup_stm32f303xc.s SPI3_IRQHandler 0000001A Symbol: SPI3_IRQHandler Definitions At line 354 in file startup_stm32f303xc.s Uses At line 143 in file startup_stm32f303xc.s At line 287 in file startup_stm32f303xc.s SVC_Handler 00000012 Symbol: SVC_Handler Definitions At line 219 in file startup_stm32f303xc.s Uses At line 85 in file startup_stm32f303xc.s At line 220 in file startup_stm32f303xc.s SysTick_Handler 00000018 Symbol: SysTick_Handler Definitions At line 232 in file startup_stm32f303xc.s Uses At line 89 in file startup_stm32f303xc.s At line 233 in file startup_stm32f303xc.s TAMP_STAMP_IRQHandler 0000001A Symbol: TAMP_STAMP_IRQHandler Definitions At line 308 in file startup_stm32f303xc.s Uses At line 94 in file startup_stm32f303xc.s At line 241 in file startup_stm32f303xc.s TIM1_BRK_TIM15_IRQHandler 0000001A Symbol: TIM1_BRK_TIM15_IRQHandler Definitions At line 330 in file startup_stm32f303xc.s Uses ARM Macro Assembler Page 9 Alphabetic symbol ordering Relocatable symbols At line 116 in file startup_stm32f303xc.s At line 263 in file startup_stm32f303xc.s TIM1_CC_IRQHandler 0000001A Symbol: TIM1_CC_IRQHandler Definitions At line 333 in file startup_stm32f303xc.s Uses At line 119 in file startup_stm32f303xc.s At line 266 in file startup_stm32f303xc.s TIM1_TRG_COM_TIM17_IRQHandler 0000001A Symbol: TIM1_TRG_COM_TIM17_IRQHandler Definitions At line 332 in file startup_stm32f303xc.s Uses At line 118 in file startup_stm32f303xc.s At line 265 in file startup_stm32f303xc.s TIM1_UP_TIM16_IRQHandler 0000001A Symbol: TIM1_UP_TIM16_IRQHandler Definitions At line 331 in file startup_stm32f303xc.s Uses At line 117 in file startup_stm32f303xc.s At line 264 in file startup_stm32f303xc.s TIM2_IRQHandler 0000001A Symbol: TIM2_IRQHandler Definitions At line 334 in file startup_stm32f303xc.s Uses At line 120 in file startup_stm32f303xc.s At line 267 in file startup_stm32f303xc.s TIM3_IRQHandler 0000001A Symbol: TIM3_IRQHandler Definitions At line 335 in file startup_stm32f303xc.s Uses At line 121 in file startup_stm32f303xc.s At line 268 in file startup_stm32f303xc.s TIM4_IRQHandler 0000001A Symbol: TIM4_IRQHandler Definitions At line 336 in file startup_stm32f303xc.s Uses At line 122 in file startup_stm32f303xc.s At line 269 in file startup_stm32f303xc.s TIM6_DAC_IRQHandler 0000001A ARM Macro Assembler Page 10 Alphabetic symbol ordering Relocatable symbols Symbol: TIM6_DAC_IRQHandler Definitions At line 357 in file startup_stm32f303xc.s Uses At line 146 in file startup_stm32f303xc.s At line 290 in file startup_stm32f303xc.s TIM7_IRQHandler 0000001A Symbol: TIM7_IRQHandler Definitions At line 358 in file startup_stm32f303xc.s Uses At line 147 in file startup_stm32f303xc.s At line 291 in file startup_stm32f303xc.s TIM8_BRK_IRQHandler 0000001A Symbol: TIM8_BRK_IRQHandler Definitions At line 349 in file startup_stm32f303xc.s Uses At line 135 in file startup_stm32f303xc.s At line 282 in file startup_stm32f303xc.s TIM8_CC_IRQHandler 0000001A Symbol: TIM8_CC_IRQHandler Definitions At line 352 in file startup_stm32f303xc.s Uses At line 138 in file startup_stm32f303xc.s At line 285 in file startup_stm32f303xc.s TIM8_TRG_COM_IRQHandler 0000001A Symbol: TIM8_TRG_COM_IRQHandler Definitions At line 351 in file startup_stm32f303xc.s Uses At line 137 in file startup_stm32f303xc.s At line 284 in file startup_stm32f303xc.s TIM8_UP_IRQHandler 0000001A Symbol: TIM8_UP_IRQHandler Definitions At line 350 in file startup_stm32f303xc.s Uses At line 136 in file startup_stm32f303xc.s At line 283 in file startup_stm32f303xc.s UART4_IRQHandler 0000001A Symbol: UART4_IRQHandler Definitions At line 355 in file startup_stm32f303xc.s Uses At line 144 in file startup_stm32f303xc.s ARM Macro Assembler Page 11 Alphabetic symbol ordering Relocatable symbols At line 288 in file startup_stm32f303xc.s UART5_IRQHandler 0000001A Symbol: UART5_IRQHandler Definitions At line 356 in file startup_stm32f303xc.s Uses At line 145 in file startup_stm32f303xc.s At line 289 in file startup_stm32f303xc.s USART1_IRQHandler 0000001A Symbol: USART1_IRQHandler Definitions At line 343 in file startup_stm32f303xc.s Uses At line 129 in file startup_stm32f303xc.s At line 276 in file startup_stm32f303xc.s USART2_IRQHandler 0000001A Symbol: USART2_IRQHandler Definitions At line 344 in file startup_stm32f303xc.s Uses At line 130 in file startup_stm32f303xc.s At line 277 in file startup_stm32f303xc.s USART3_IRQHandler 0000001A Symbol: USART3_IRQHandler Definitions At line 345 in file startup_stm32f303xc.s Uses At line 131 in file startup_stm32f303xc.s At line 278 in file startup_stm32f303xc.s USBWakeUp_IRQHandler 0000001A Symbol: USBWakeUp_IRQHandler Definitions At line 348 in file startup_stm32f303xc.s Uses At line 134 in file startup_stm32f303xc.s At line 281 in file startup_stm32f303xc.s USBWakeUp_RMP_IRQHandler 0000001A Symbol: USBWakeUp_RMP_IRQHandler Definitions At line 370 in file startup_stm32f303xc.s Uses At line 168 in file startup_stm32f303xc.s At line 303 in file startup_stm32f303xc.s USB_HP_CAN_TX_IRQHandler 0000001A Symbol: USB_HP_CAN_TX_IRQHandler ARM Macro Assembler Page 12 Alphabetic symbol ordering Relocatable symbols Definitions At line 325 in file startup_stm32f303xc.s Uses At line 111 in file startup_stm32f303xc.s At line 258 in file startup_stm32f303xc.s USB_HP_IRQHandler 0000001A Symbol: USB_HP_IRQHandler Definitions At line 368 in file startup_stm32f303xc.s Uses At line 166 in file startup_stm32f303xc.s At line 301 in file startup_stm32f303xc.s USB_LP_CAN_RX0_IRQHandler 0000001A Symbol: USB_LP_CAN_RX0_IRQHandler Definitions At line 326 in file startup_stm32f303xc.s Uses At line 112 in file startup_stm32f303xc.s At line 259 in file startup_stm32f303xc.s USB_LP_IRQHandler 0000001A Symbol: USB_LP_IRQHandler Definitions At line 369 in file startup_stm32f303xc.s Uses At line 167 in file startup_stm32f303xc.s At line 302 in file startup_stm32f303xc.s UsageFault_Handler 00000010 Symbol: UsageFault_Handler Definitions At line 215 in file startup_stm32f303xc.s Uses At line 80 in file startup_stm32f303xc.s At line 216 in file startup_stm32f303xc.s WWDG_IRQHandler 0000001A Symbol: WWDG_IRQHandler Definitions At line 306 in file startup_stm32f303xc.s Uses At line 92 in file startup_stm32f303xc.s At line 239 in file startup_stm32f303xc.s 78 symbols ARM Macro Assembler Page 1 Alphabetic symbol ordering Absolute symbols Heap_Size 00000200 Symbol: Heap_Size Definitions At line 57 in file startup_stm32f303xc.s Uses At line 61 in file startup_stm32f303xc.s Comment: Heap_Size used once Stack_Size 00000400 Symbol: Stack_Size Definitions At line 46 in file startup_stm32f303xc.s Uses At line 49 in file startup_stm32f303xc.s Comment: Stack_Size used once __Vectors_Size 00000188 Symbol: __Vectors_Size Definitions At line 177 in file startup_stm32f303xc.s Uses At line 72 in file startup_stm32f303xc.s Comment: __Vectors_Size used once 3 symbols ARM Macro Assembler Page 1 Alphabetic symbol ordering External symbols SystemInit 00000000 Symbol: SystemInit Definitions At line 184 in file startup_stm32f303xc.s Uses At line 187 in file startup_stm32f303xc.s Comment: SystemInit used once __main 00000000 Symbol: __main Definitions At line 185 in file startup_stm32f303xc.s Uses At line 189 in file startup_stm32f303xc.s Comment: __main used once 2 symbols 431 symbols in table