update FM3

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1579 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
dzzxzz 2011-07-01 14:13:16 +00:00
parent db88367667
commit 5a72253a71
7 changed files with 492 additions and 734 deletions

View File

@ -13,7 +13,7 @@
*/ */
/** /**
* @addtogroup STM32 * @addtogroup FM3
*/ */
/*@{*/ /*@{*/

View File

@ -1,7 +1,7 @@
;/* ;/*
; * File : context_iar.S ; * File : context_iar.S
; * This file is part of RT-Thread RTOS ; * This file is part of RT-Thread RTOS
; * COPYRIGHT (C) 2009, RT-Thread Development Team ; * COPYRIGHT (C) 2009 - 2011, RT-Thread Development Team
; * ; *
; * The license and distribution terms for this file may be ; * The license and distribution terms for this file may be
; * found in the file LICENSE in this distribution or at ; * found in the file LICENSE in this distribution or at
@ -14,7 +14,7 @@
; */ ; */
;/** ;/**
; * @addtogroup STM32 ; * @addtogroup FM3
; */ ; */
;/*@{*/ ;/*@{*/

View File

@ -1,5 +1,5 @@
/* /*
* File : hwport.c * File : cpuport.c
* This file is part of RT-Thread RTOS * This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2009 - 2011, RT-Thread Development Team * COPYRIGHT (C) 2009 - 2011, RT-Thread Development Team
* *

View File

@ -1,7 +1,7 @@
/* /*
* File : fault_gcc.S * File : fault_gcc.S
* This file is part of RT-Thread RTOS * This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2009, RT-Thread Development Team * COPYRIGHT (C) 2009 - 2011, RT-Thread Development Team
* *
* The license and distribution terms for this file may be * The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at * found in the file LICENSE in this distribution or at

View File

@ -1,7 +1,7 @@
;/* ;/*
; * File : fault_iar.S ; * File : fault_iar.S
; * This file is part of RT-Thread RTOS ; * This file is part of RT-Thread RTOS
; * COPYRIGHT (C) 2009, RT-Thread Development Team ; * COPYRIGHT (C) 2009 - 2011, RT-Thread Development Team
; * ; *
; * The license and distribution terms for this file may be ; * The license and distribution terms for this file may be
; * found in the file LICENSE in this distribution or at ; * found in the file LICENSE in this distribution or at

View File

@ -1,32 +1,17 @@
/** /*
****************************************************************************** * File : start_gcc.S
* @file startup_stm32f10x_hd.s * This file is part of RT-Thread RTOS
* @author MCD Application Team * COPYRIGHT (C) 2011, RT-Thread Development Team
* @version V3.1.2 *
* @date 09/28/2009 * The license and distribution terms for this file may be
* @brief STM32F10x High Density Devices vector table for RIDE7 toolchain. * found in the file LICENSE in this distribution or at
* This module performs: * http://www.rt-thread.org/license/LICENSE
* - Set the initial SP *
* - Set the initial PC == Reset_Handler, * Change Logs:
* - Set the vector table entries with the exceptions ISR address, * Date Author Notes
* - Configure external SRAM mounted on STM3210E-EVAL board * 2011-07-01 lgnq first version
* to be used as data memory (optional, to be enabled by user) */
* - Branches to main in the C library (which eventually
* calls main()).
* After Reset the Cortex-M3 processor is in Thread mode,
* priority is Privileged, and the Stack is set to Main.
******************************************************************************
* @copy
*
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
* TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
* DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*
* <h2><center>&copy; COPYRIGHT 2009 STMicroelectronics</center></h2>
*/
.section .bss.init .section .bss.init
.equ Stack_Size, 0x00000200 .equ Stack_Size, 0x00000200
.space Stack_Size .space Stack_Size
@ -144,112 +129,59 @@ g_pfnVectors:
.word 0 .word 0
.word rt_hw_pend_sv .word rt_hw_pend_sv
.word rt_hw_timer_handler .word rt_hw_timer_handler
.word WWDG_IRQHandler
.word PVD_IRQHandler .word CSV_IRQHandler
.word TAMPER_IRQHandler .word SWDT_IRQHandler
.word RTC_IRQHandler .word LVD_IRQHandler
.word FLASH_IRQHandler .word WFG_IRQHandler
.word RCC_IRQHandler .word EXINT0_7_IRQHandler
.word EXTI0_IRQHandler .word EXINT8_15_IRQHandler
.word EXTI1_IRQHandler .word DTIM_QDU_IRQHandler
.word EXTI2_IRQHandler .word MFS0RX_IRQHandler
.word EXTI3_IRQHandler .word MFS0TX_IRQHandler
.word EXTI4_IRQHandler .word MFS1RX_IRQHandler
.word DMA1_Channel1_IRQHandler .word MFS1TX_IRQHandler
.word DMA1_Channel2_IRQHandler #ifdef RT_USING_UART2
.word DMA1_Channel3_IRQHandler .word MFS2RX_IRQHandler ; MultiFunction Serial ch.2
.word DMA1_Channel4_IRQHandler #else
.word DMA1_Channel5_IRQHandler .word NULL_IRQHandler
.word DMA1_Channel6_IRQHandler #endif
.word DMA1_Channel7_IRQHandler .word MFS2TX_IRQHandler
.word ADC1_2_IRQHandler .word MFS3RX_IRQHandler
.word USB_HP_CAN1_TX_IRQHandler .word MFS3TX_IRQHandler
.word USB_LP_CAN1_RX0_IRQHandler .word MFS4RX_IRQHandler
.word CAN1_RX1_IRQHandler .word MFS4TX_IRQHandler
.word CAN1_SCE_IRQHandler .word MFS5RX_IRQHandler
.word EXTI9_5_IRQHandler .word MFS5TX_IRQHandler
.word TIM1_BRK_IRQHandler .word MFS6RX_IRQHandler
.word TIM1_UP_IRQHandler .word MFS6TX_IRQHandler
.word TIM1_TRG_COM_IRQHandler .word MFS7RX_IRQHandler
.word TIM1_CC_IRQHandler .word MFS7TX_IRQHandler
.word TIM2_IRQHandler .word PPG_IRQHandler
.word TIM3_IRQHandler .word OSC_PLL_WC_IRQHandler
.word TIM4_IRQHandler .word ADC0_IRQHandler
.word I2C1_EV_IRQHandler .word ADC1_IRQHandler
.word I2C1_ER_IRQHandler .word ADC2_IRQHandler
.word I2C2_EV_IRQHandler .word FRTIM_IRQHandler
.word I2C2_ER_IRQHandler .word INCAP_IRQHandler
.word SPI1_IRQHandler .word OUTCOMP_IRQHandler
.word SPI2_IRQHandler .word BTIM_IRQHandler
.word USART1_IRQHandler .word CAN0_IRQHandler
.word USART2_IRQHandler .word CAN1_IRQHandler
.word USART3_IRQHandler .word USBF_IRQHandler
.word EXTI15_10_IRQHandler .word USBF_USBH_IRQHandler
.word RTCAlarm_IRQHandler .word RESERVED_1_IRQHandler
.word USBWakeUp_IRQHandler .word RESERVED_2_IRQHandler
.word TIM8_BRK_IRQHandler .word DMAC0_IRQHandler
.word TIM8_UP_IRQHandler .word DMAC1_IRQHandler
.word TIM8_TRG_COM_IRQHandler .word DMAC2_IRQHandler
.word TIM8_CC_IRQHandler .word DMAC3_IRQHandler
.word ADC3_IRQHandler .word DMAC4_IRQHandler
.word FSMC_IRQHandler .word DMAC5_IRQHandler
.word SDIO_IRQHandler .word DMAC6_IRQHandler
.word TIM5_IRQHandler .word DMAC7_IRQHandler
.word SPI3_IRQHandler .word RESERVED_3_IRQHandler
.word UART4_IRQHandler .word RESERVED_4_IRQHandler
.word UART5_IRQHandler
.word TIM6_IRQHandler
.word TIM7_IRQHandler
.word DMA2_Channel1_IRQHandler
.word DMA2_Channel2_IRQHandler
.word DMA2_Channel3_IRQHandler
.word DMA2_Channel4_5_IRQHandler
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word BootRAM /* @0x1E0. This is for boot in RAM mode for
STM32F10x High Density devices. */
/******************************************************************************* /*******************************************************************************
* *
@ -277,182 +209,147 @@ g_pfnVectors:
.weak DebugMon_Handler .weak DebugMon_Handler
.thumb_set DebugMon_Handler,Default_Handler .thumb_set DebugMon_Handler,Default_Handler
.weak WWDG_IRQHandler .weak CSV_IRQHandler
.thumb_set WWDG_IRQHandler,Default_Handler .thumb_set CSV_IRQHandler,Default_Handler
.weak PVD_IRQHandler .weak SWDT_IRQHandler
.thumb_set PVD_IRQHandler,Default_Handler .thumb_set SWDT_IRQHandler,Default_Handler
.weak TAMPER_IRQHandler .weak LVD_IRQHandler
.thumb_set TAMPER_IRQHandler,Default_Handler .thumb_set LVD_IRQHandler,Default_Handler
.weak RTC_IRQHandler .weak WFG_IRQHandler
.thumb_set RTC_IRQHandler,Default_Handler .thumb_set WFG_IRQHandler,Default_Handler
.weak FLASH_IRQHandler .weak EXINT0_7_IRQHandler
.thumb_set FLASH_IRQHandler,Default_Handler .thumb_set EXINT0_7_IRQHandler,Default_Handler
.weak RCC_IRQHandler .weak EXINT8_15_IRQHandler
.thumb_set RCC_IRQHandler,Default_Handler .thumb_set EXINT8_15_IRQHandler,Default_Handler
.weak EXTI0_IRQHandler .weak DTIM_QDU_IRQHandler
.thumb_set EXTI0_IRQHandler,Default_Handler .thumb_set DTIM_QDU_IRQHandler,Default_Handler
.weak EXTI1_IRQHandler .weak MFS0RX_IRQHandler
.thumb_set EXTI1_IRQHandler,Default_Handler .thumb_set MFS0RX_IRQHandler,Default_Handler
.weak EXTI2_IRQHandler .weak MFS0TX_IRQHandler
.thumb_set EXTI2_IRQHandler,Default_Handler .thumb_set MFS0TX_IRQHandler,Default_Handler
.weak EXTI3_IRQHandler .weak MFS1RX_IRQHandler
.thumb_set EXTI3_IRQHandler,Default_Handler .thumb_set MFS1RX_IRQHandler,Default_Handler
.weak EXTI4_IRQHandler .weak MFS1TX_IRQHandler
.thumb_set EXTI4_IRQHandler,Default_Handler .thumb_set MFS1TX_IRQHandler,Default_Handler
.weak DMA1_Channel1_IRQHandler .weak NULL_IRQHandler
.thumb_set DMA1_Channel1_IRQHandler,Default_Handler .thumb_set NULL_IRQHandler,Default_Handler
.weak DMA1_Channel2_IRQHandler .weak MFS2TX_IRQHandler
.thumb_set DMA1_Channel2_IRQHandler,Default_Handler .thumb_set MFS2TX_IRQHandler,Default_Handler
.weak DMA1_Channel3_IRQHandler .weak MFS3RX_IRQHandler
.thumb_set DMA1_Channel3_IRQHandler,Default_Handler .thumb_set MFS3RX_IRQHandler,Default_Handler
.weak DMA1_Channel4_IRQHandler .weak MFS3TX_IRQHandler
.thumb_set DMA1_Channel4_IRQHandler,Default_Handler .thumb_set MFS3TX_IRQHandler,Default_Handler
.weak DMA1_Channel5_IRQHandler .weak MFS4RX_IRQHandler
.thumb_set DMA1_Channel5_IRQHandler,Default_Handler .thumb_set MFS4RX_IRQHandler,Default_Handler
.weak DMA1_Channel6_IRQHandler .weak MFS4TX_IRQHandler
.thumb_set DMA1_Channel6_IRQHandler,Default_Handler .thumb_set MFS4TX_IRQHandler,Default_Handler
.weak DMA1_Channel7_IRQHandler .weak MFS5RX_IRQHandler
.thumb_set DMA1_Channel7_IRQHandler,Default_Handler .thumb_set MFS5RX_IRQHandler,Default_Handler
.weak ADC1_2_IRQHandler .weak MFS5TX_IRQHandler
.thumb_set ADC1_2_IRQHandler,Default_Handler .thumb_set MFS5TX_IRQHandler,Default_Handler
.weak USB_HP_CAN1_TX_IRQHandler .weak MFS6RX_IRQHandler
.thumb_set USB_HP_CAN1_TX_IRQHandler,Default_Handler .thumb_set MFS6RX_IRQHandler,Default_Handler
.weak USB_LP_CAN1_RX0_IRQHandler .weak MFS6TX_IRQHandler
.thumb_set USB_LP_CAN1_RX0_IRQHandler,Default_Handler .thumb_set MFS6TX_IRQHandler,Default_Handler
.weak CAN1_RX1_IRQHandler .weak MFS7RX_IRQHandler
.thumb_set CAN1_RX1_IRQHandler,Default_Handler .thumb_set MFS7RX_IRQHandler,Default_Handler
.weak CAN1_SCE_IRQHandler .weak MFS7TX_IRQHandler
.thumb_set CAN1_SCE_IRQHandler,Default_Handler .thumb_set MFS7TX_IRQHandler,Default_Handler
.weak EXTI9_5_IRQHandler .weak PPG_IRQHandler
.thumb_set EXTI9_5_IRQHandler,Default_Handler .thumb_set PPG_IRQHandler,Default_Handler
.weak TIM1_BRK_IRQHandler .weak OSC_PLL_WC_IRQHandler
.thumb_set TIM1_BRK_IRQHandler,Default_Handler .thumb_set OSC_PLL_WC_IRQHandler,Default_Handler
.weak TIM1_UP_IRQHandler .weak ADC0_IRQHandler
.thumb_set TIM1_UP_IRQHandler,Default_Handler .thumb_set ADC0_IRQHandler,Default_Handler
.weak TIM1_TRG_COM_IRQHandler .weak ADC1_IRQHandler
.thumb_set TIM1_TRG_COM_IRQHandler,Default_Handler .thumb_set ADC1_IRQHandler,Default_Handler
.weak TIM1_CC_IRQHandler .weak ADC2_IRQHandler
.thumb_set TIM1_CC_IRQHandler,Default_Handler .thumb_set ADC2_IRQHandler,Default_Handler
.weak TIM2_IRQHandler .weak FRTIM_IRQHandler
.thumb_set TIM2_IRQHandler,Default_Handler .thumb_set FRTIM_IRQHandler,Default_Handler
.weak TIM3_IRQHandler .weak INCAP_IRQHandler
.thumb_set TIM3_IRQHandler,Default_Handler .thumb_set INCAP_IRQHandler,Default_Handler
.weak TIM4_IRQHandler .weak OUTCOMP_IRQHandler
.thumb_set TIM4_IRQHandler,Default_Handler .thumb_set OUTCOMP_IRQHandler,Default_Handler
.weak I2C1_EV_IRQHandler .weak BTIM_IRQHandler
.thumb_set I2C1_EV_IRQHandler,Default_Handler .thumb_set BTIM_IRQHandler,Default_Handler
.weak I2C1_ER_IRQHandler .weak CAN0_IRQHandler
.thumb_set I2C1_ER_IRQHandler,Default_Handler .thumb_set CAN0_IRQHandler,Default_Handler
.weak I2C2_EV_IRQHandler .weak CAN1_IRQHandler
.thumb_set I2C2_EV_IRQHandler,Default_Handler .thumb_set CAN1_IRQHandler,Default_Handler
.weak I2C2_ER_IRQHandler .weak USBF_IRQHandler
.thumb_set I2C2_ER_IRQHandler,Default_Handler .thumb_set USBF_IRQHandler,Default_Handler
.weak SPI1_IRQHandler .weak USBF_USBH_IRQHandler
.thumb_set SPI1_IRQHandler,Default_Handler .thumb_set USBF_USBH_IRQHandler,Default_Handler
.weak SPI2_IRQHandler .weak RESERVED_1_IRQHandler
.thumb_set SPI2_IRQHandler,Default_Handler .thumb_set RESERVED_1_IRQHandler,Default_Handler
.weak USART1_IRQHandler .weak RESERVED_2_IRQHandler
.thumb_set USART1_IRQHandler,Default_Handler .thumb_set RESERVED_2_IRQHandler,Default_Handler
.weak USART2_IRQHandler .weak DMAC0_IRQHandler
.thumb_set USART2_IRQHandler,Default_Handler .thumb_set DMAC0_IRQHandler,Default_Handler
.weak USART3_IRQHandler .weak DMAC1_IRQHandler
.thumb_set USART3_IRQHandler,Default_Handler .thumb_set DMAC1_IRQHandler,Default_Handler
.weak EXTI15_10_IRQHandler .weak DMAC2_IRQHandler
.thumb_set EXTI15_10_IRQHandler,Default_Handler .thumb_set DMAC2_IRQHandler,Default_Handler
.weak RTCAlarm_IRQHandler .weak DMAC3_IRQHandler
.thumb_set RTCAlarm_IRQHandler,Default_Handler .thumb_set DMAC3_IRQHandler,Default_Handler
.weak USBWakeUp_IRQHandler .weak DMAC4_IRQHandler
.thumb_set USBWakeUp_IRQHandler,Default_Handler .thumb_set DMAC4_IRQHandler,Default_Handler
.weak TIM8_BRK_IRQHandler .weak DMAC5_IRQHandler
.thumb_set TIM8_BRK_IRQHandler,Default_Handler .thumb_set DMAC5_IRQHandler,Default_Handler
.weak TIM8_UP_IRQHandler .weak DMAC6_IRQHandler
.thumb_set TIM8_UP_IRQHandler,Default_Handler .thumb_set DMAC6_IRQHandler,Default_Handler
.weak TIM8_TRG_COM_IRQHandler .weak DMAC7_IRQHandler
.thumb_set TIM8_TRG_COM_IRQHandler,Default_Handler .thumb_set DMAC7_IRQHandler,Default_Handler
.weak TIM8_CC_IRQHandler .weak RESERVED_3_IRQHandler
.thumb_set TIM8_CC_IRQHandler,Default_Handler .thumb_set RESERVED_3_IRQHandler,Default_Handler
.weak ADC3_IRQHandler .weak RESERVED_4_IRQHandler
.thumb_set ADC3_IRQHandler,Default_Handler .thumb_set RESERVED_4_IRQHandler,Default_Handler
.weak FSMC_IRQHandler
.thumb_set FSMC_IRQHandler,Default_Handler
.weak SDIO_IRQHandler
.thumb_set SDIO_IRQHandler,Default_Handler
.weak TIM5_IRQHandler
.thumb_set TIM5_IRQHandler,Default_Handler
.weak SPI3_IRQHandler
.thumb_set SPI3_IRQHandler,Default_Handler
.weak UART4_IRQHandler
.thumb_set UART4_IRQHandler,Default_Handler
.weak UART5_IRQHandler
.thumb_set UART5_IRQHandler,Default_Handler
.weak TIM6_IRQHandler
.thumb_set TIM6_IRQHandler,Default_Handler
.weak TIM7_IRQHandler
.thumb_set TIM7_IRQHandler,Default_Handler
.weak DMA2_Channel1_IRQHandler
.thumb_set DMA2_Channel1_IRQHandler,Default_Handler
.weak DMA2_Channel2_IRQHandler
.thumb_set DMA2_Channel2_IRQHandler,Default_Handler
.weak DMA2_Channel3_IRQHandler
.thumb_set DMA2_Channel3_IRQHandler,Default_Handler
.weak DMA2_Channel4_5_IRQHandler
.thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler

View File

@ -1,493 +1,354 @@
;/******************** (C) COPYRIGHT 2009 STMicroelectronics ******************** ;/*
;* File Name : startup_stm32f10x_hd.s ; * File : context_iar.S
;* Author : MCD Application Team ; * This file is part of RT-Thread RTOS
;* Version : V3.0.0 ; * COPYRIGHT (C) 2009 - 2011, RT-Thread Development Team
;* Date : 04/06/2009 ; *
;* Description : STM32F10x High Density Devices vector table for EWARM5.x ; * The license and distribution terms for this file may be
;* toolchain. ; * found in the file LICENSE in this distribution or at
;* This module performs: ; * http://www.rt-thread.org/license/LICENSE
;* - Set the initial SP ; *
;* - Set the initial PC == __iar_program_start, ; * Change Logs:
;* - Set the vector table entries with the exceptions ISR address, ; * Date Author Notes
;* - Configure external SRAM mounted on STM3210E-EVAL board ; * 2009-01-17 Bernard first version
;* to be used as data memory (optional, to be enabled by user) ; * 2009-09-27 Bernard add protect when contex switch occurs
;* After Reset the Cortex-M3 processor is in Thread mode, ; */
;* priority is Privileged, and the Stack is set to Main.
;********************************************************************************
;* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
;* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
;* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
;* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
;* CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
;* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
;*******************************************************************************/
;
;
; The modules in this file are included in the libraries, and may be replaced
; by any user-defined modules that define the PUBLIC symbol _program_start or
; a user defined start symbol.
; To override the cstartup defined in the library, simply add your modified
; version to the workbench project.
;
; The vector table is normally located at address 0.
; When debugging in RAM, it can be located in RAM, aligned to at least 2^6.
; The name "__vector_table" has special meaning for C-SPY:
; it is where the SP start value is found, and the NVIC vector
; table register (VTOR) is initialized to this address if != 0.
;
; Cortex-M version
;
#include "rtconfig.h" #include "rtconfig.h"
MODULE ?cstartup MODULE ?cstartup
;; ICODE is the same segment as cstartup. By placing __low_level_init ;; ICODE is the same segment as cstartup. By placing __low_level_init
;; in the same segment, we make sure it can be reached with BL. */ ;; in the same segment, we make sure it can be reached with BL. */
SECTION CSTACK:DATA:NOROOT(3) SECTION CSTACK:DATA:NOROOT(3)
SECTION .icode:CODE:NOROOT(2) SECTION .icode:CODE:NOROOT(2)
IMPORT rt_hw_hard_fault IMPORT rt_hw_hard_fault
IMPORT rt_hw_pend_sv IMPORT rt_hw_pend_sv
IMPORT rt_hw_timer_handler IMPORT rt_hw_timer_handler
#ifdef RT_USING_UART2 #ifdef RT_USING_UART2
IMPORT MFS2RX_IRQHandler IMPORT MFS2RX_IRQHandler
#endif #endif
PUBLIC __low_level_init PUBLIC __low_level_init
PUBWEAK SystemInit_ExtMemCtl PUBWEAK SystemInit_ExtMemCtl
SECTION .text:CODE:REORDER(2) SECTION .text:CODE:REORDER(2)
THUMB THUMB
SystemInit_ExtMemCtl SystemInit_ExtMemCtl
BX LR BX LR
__low_level_init: __low_level_init:
;; Initialize hardware.
LDR R0, = SystemInit_ExtMemCtl ; initialize external memory controller
MOV R11, LR
BLX R0
LDR R1, =sfe(CSTACK) ; restore original stack pointer
MSR MSP, R1
MOV R0,#1
;; Return with BX to be independent of mode of caller
BX R11
;; Initialize hardware. ;; Forward declaration of sections.
LDR R0, = SystemInit_ExtMemCtl ; initialize external memory controller SECTION .intvec:CODE:NOROOT(2)
MOV R11, LR
BLX R0
LDR R1, =sfe(CSTACK) ; restore original stack pointer
MSR MSP, R1
MOV R0,#1
;; Return with BX to be independent of mode of caller
BX R11
;; Forward declaration of sections. EXTERN __iar_program_start
SECTION .intvec:CODE:NOROOT(2) PUBLIC __vector_table
EXTERN __iar_program_start DATA
PUBLIC __vector_table
DATA
__vector_table __vector_table
DCD sfe(CSTACK) DCD sfe(CSTACK)
DCD __iar_program_start DCD __iar_program_start
DCD NMI_Handler ; NMI Handler DCD NMI_Handler ; NMI Handler
DCD rt_hw_hard_fault ; Hard Fault Handler DCD rt_hw_hard_fault ; Hard Fault Handler
DCD MemManage_Handler ; MPU Fault Handler DCD MemManage_Handler ; MPU Fault Handler
DCD BusFault_Handler ; Bus Fault Handler DCD BusFault_Handler ; Bus Fault Handler
DCD UsageFault_Handler ; Usage Fault Handler DCD UsageFault_Handler ; Usage Fault Handler
DCD 0 ; Reserved DCD 0 ; Reserved
DCD 0 ; Reserved DCD 0 ; Reserved
DCD 0 ; Reserved DCD 0 ; Reserved
DCD 0 ; Reserved DCD 0 ; Reserved
DCD SVC_Handler ; SVCall Handler DCD SVC_Handler ; SVCall Handler
DCD DebugMon_Handler ; Debug Monitor Handler DCD DebugMon_Handler ; Debug Monitor Handler
DCD 0 ; Reserved DCD 0 ; Reserved
DCD rt_hw_pend_sv ; PendSV Handler DCD rt_hw_pend_sv ; PendSV Handler
DCD rt_hw_timer_handler ; SysTick Handler DCD rt_hw_timer_handler ; SysTick Handler
; External Interrupts ; External Interrupts
DCD WWDG_IRQHandler ; Window Watchdog DCD CSV_IRQHandler ; Clock Super Visor
DCD PVD_IRQHandler ; PVD through EXTI Line detect DCD SWDT_IRQHandler ; Software Watchdog Timer
DCD TAMPER_IRQHandler ; Tamper DCD LVD_IRQHandler ; Low Voltage Detector
DCD RTC_IRQHandler ; RTC DCD WFG_IRQHandler ; Wave Form Generator
DCD FLASH_IRQHandler ; Flash DCD EXINT0_7_IRQHandler ; External Interrupt Request ch.0 to ch.7
DCD RCC_IRQHandler ; RCC DCD EXINT8_15_IRQHandler ; External Interrupt Request ch.8 to ch.15
DCD EXTI0_IRQHandler ; EXTI Line 0 DCD DTIM_QDU_IRQHandler ; Dual Timer / Quad Decoder
DCD EXTI1_IRQHandler ; EXTI Line 1 DCD MFS0RX_IRQHandler ; MultiFunction Serial ch.0
DCD EXTI2_IRQHandler ; EXTI Line 2 DCD MFS0TX_IRQHandler ; MultiFunction Serial ch.0
DCD EXTI3_IRQHandler ; EXTI Line 3 DCD MFS1RX_IRQHandler ; MultiFunction Serial ch.1
DCD EXTI4_IRQHandler ; EXTI Line 4 DCD MFS1TX_IRQHandler ; MultiFunction Serial ch.1
#ifdef RT_USING_UART2 #ifdef RT_USING_UART2
DCD MFS2RX_IRQHandler DCD MFS2RX_IRQHandler ; MultiFunction Serial ch.2
#else #else
DCD DMA1_Channel1_IRQHandler ; DMA1 Channel 1 DCD NULL_IRQHandler ; MultiFunction Serial ch.2
#endif #endif
DCD DMA1_Channel2_IRQHandler ; DMA1 Channel 2 DCD MFS2TX_IRQHandler ; MultiFunction Serial ch.2
DCD DMA1_Channel3_IRQHandler ; DMA1 Channel 3 DCD MFS3RX_IRQHandler ; MultiFunction Serial ch.3
DCD DMA1_Channel4_IRQHandler ; DMA1 Channel 4 DCD MFS3TX_IRQHandler ; MultiFunction Serial ch.3
DCD DMA1_Channel5_IRQHandler ; DMA1 Channel 5 DCD MFS4RX_IRQHandler ; MultiFunction Serial ch.4
DCD DMA1_Channel6_IRQHandler ; DMA1 Channel 6 DCD MFS4TX_IRQHandler ; MultiFunction Serial ch.4
DCD DMA1_Channel7_IRQHandler ; DMA1 Channel 7 DCD MFS5RX_IRQHandler ; MultiFunction Serial ch.5
DCD ADC1_2_IRQHandler ; ADC1 & ADC2 DCD MFS5TX_IRQHandler ; MultiFunction Serial ch.5
DCD USB_HP_CAN1_TX_IRQHandler ; USB High Priority or CAN1 TX DCD MFS6RX_IRQHandler ; MultiFunction Serial ch.6
DCD USB_LP_CAN1_RX0_IRQHandler ; USB Low Priority or CAN1 RX0 DCD MFS6TX_IRQHandler ; MultiFunction Serial ch.6
DCD CAN1_RX1_IRQHandler ; CAN1 RX1 DCD MFS7RX_IRQHandler ; MultiFunction Serial ch.7
DCD CAN1_SCE_IRQHandler ; CAN1 SCE DCD MFS7TX_IRQHandler ; MultiFunction Serial ch.7
DCD EXTI9_5_IRQHandler ; EXTI Line 9..5 DCD PPG_IRQHandler ; PPG
DCD TIM1_BRK_IRQHandler ; TIM1 Break DCD OSC_PLL_WC_IRQHandler ; OSC / PLL / Watch Counter
DCD TIM1_UP_IRQHandler ; TIM1 Update DCD ADC0_IRQHandler ; ADC0
DCD TIM1_TRG_COM_IRQHandler ; TIM1 Trigger and Commutation DCD ADC1_IRQHandler ; ADC1
DCD TIM1_CC_IRQHandler ; TIM1 Capture Compare DCD ADC2_IRQHandler ; ADC2
DCD TIM2_IRQHandler ; TIM2 DCD FRTIM_IRQHandler ; Free-run Timer
DCD TIM3_IRQHandler ; TIM3 DCD INCAP_IRQHandler ; Input Capture
DCD TIM4_IRQHandler ; TIM4 DCD OUTCOMP_IRQHandler ; Output Compare
DCD I2C1_EV_IRQHandler ; I2C1 Event DCD BTIM_IRQHandler ; Base Timer ch.0 to ch.7
DCD I2C1_ER_IRQHandler ; I2C1 Error DCD CAN0_IRQHandler ; CAN ch.0
DCD I2C2_EV_IRQHandler ; I2C2 Event DCD CAN1_IRQHandler ; CAN ch.1
DCD I2C2_ER_IRQHandler ; I2C2 Error DCD USBF_IRQHandler ; USB Function
DCD SPI1_IRQHandler ; SPI1 DCD USBF_USBH_IRQHandler ; USB Function / USB HOST
DCD SPI2_IRQHandler ; SPI2 DCD RESERVED_1_IRQHandler ; Reserved_1
DCD USART1_IRQHandler ; USART1 DCD RESERVED_2_IRQHandler ; Reserved_2
DCD USART2_IRQHandler ; USART2 DCD DMAC0_IRQHandler ; DMAC ch.0
DCD USART3_IRQHandler ; USART3 DCD DMAC1_IRQHandler ; DMAC ch.1
DCD EXTI15_10_IRQHandler ; EXTI Line 15..10 DCD DMAC2_IRQHandler ; DMAC ch.2
DCD RTCAlarm_IRQHandler ; RTC Alarm through EXTI Line DCD DMAC3_IRQHandler ; DMAC ch.3
DCD OTG_FS_WKUP_IRQHandler ; USB OTG FS Wakeup from suspend DCD DMAC4_IRQHandler ; DMAC ch.4
DCD TIM8_BRK_IRQHandler ; TIM8 Break DCD DMAC5_IRQHandler ; DMAC ch.5
DCD TIM8_UP_IRQHandler ; TIM8 Update DCD DMAC6_IRQHandler ; DMAC ch.6
DCD TIM8_TRG_COM_IRQHandler ; TIM8 Trigger and Commutation DCD DMAC7_IRQHandler ; DMAC ch.7
DCD TIM8_CC_IRQHandler ; TIM8 Capture Compare DCD RESERVED_3_IRQHandler ; Reserved_3
DCD ADC3_IRQHandler ; ADC3 DCD RESERVED_4_IRQHandler ; Reserved_4
DCD FSMC_IRQHandler ; FSMC
DCD SDIO_IRQHandler ; SDIO
DCD TIM5_IRQHandler ; TIM5
DCD SPI3_IRQHandler ; SPI3
DCD UART4_IRQHandler ; UART4
DCD UART5_IRQHandler ; UART5
DCD TIM6_IRQHandler ; TIM6
DCD TIM7_IRQHandler ; TIM7
DCD DMA2_Channel1_IRQHandler ; DMA2 Channel1
DCD DMA2_Channel2_IRQHandler ; DMA2 Channel2
DCD DMA2_Channel3_IRQHandler ; DMA2 Channel3
DCD DMA2_Channel4_5_IRQHandler ; DMA2 Channel4 & Channel5
; for STM32F10x Connectivity line devices
DCD DMA2_Channel5_IRQHandler ; DMA2 Channel5
DCD ETH_IRQHandler ; Ethernet
DCD ETH_WKUP_IRQHandler ; Ethernet Wakeup through EXTI line
DCD CAN2_TX_IRQHandler ; CAN2 TX
DCD CAN2_RX0_IRQHandler ; CAN2 RX0
DCD CAN2_RX1_IRQHandler ; CAN2 RX1
DCD CAN2_SCE_IRQHandler ; CAN2 SCE
DCD OTG_FS_IRQHandler ; USB OTG FS
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Default interrupt handlers. ;; Default interrupt handlers.
;; ;;
THUMB THUMB
PUBWEAK NMI_Handler PUBWEAK NMI_Handler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
NMI_Handler NMI_Handler
B NMI_Handler B NMI_Handler
PUBWEAK MemManage_Handler PUBWEAK MemManage_Handler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
MemManage_Handler MemManage_Handler
B MemManage_Handler B MemManage_Handler
PUBWEAK BusFault_Handler PUBWEAK BusFault_Handler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
BusFault_Handler BusFault_Handler
B BusFault_Handler B BusFault_Handler
PUBWEAK UsageFault_Handler PUBWEAK UsageFault_Handler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
UsageFault_Handler UsageFault_Handler
B UsageFault_Handler B UsageFault_Handler
PUBWEAK SVC_Handler PUBWEAK SVC_Handler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
SVC_Handler SVC_Handler
B SVC_Handler B SVC_Handler
PUBWEAK DebugMon_Handler PUBWEAK DebugMon_Handler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
DebugMon_Handler DebugMon_Handler
B DebugMon_Handler B DebugMon_Handler
PUBWEAK WWDG_IRQHandler PUBWEAK CSV_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
WWDG_IRQHandler CSV_IRQHandler
B WWDG_IRQHandler B CSV_IRQHandler
PUBWEAK PVD_IRQHandler PUBWEAK SWDT_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
PVD_IRQHandler SWDT_IRQHandler
B PVD_IRQHandler B SWDT_IRQHandler
PUBWEAK TAMPER_IRQHandler PUBWEAK LVD_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
TAMPER_IRQHandler LVD_IRQHandler
B TAMPER_IRQHandler B LVD_IRQHandler
PUBWEAK RTC_IRQHandler PUBWEAK WFG_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
RTC_IRQHandler WFG_IRQHandler
B RTC_IRQHandler B WFG_IRQHandler
PUBWEAK FLASH_IRQHandler PUBWEAK EXINT0_7_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
FLASH_IRQHandler EXINT0_7_IRQHandler
B FLASH_IRQHandler B EXINT0_7_IRQHandler
PUBWEAK RCC_IRQHandler PUBWEAK EXINT8_15_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
RCC_IRQHandler EXINT8_15_IRQHandler
B RCC_IRQHandler B EXINT8_15_IRQHandler
PUBWEAK EXTI0_IRQHandler PUBWEAK DTIM_QDU_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
EXTI0_IRQHandler DTIM_QDU_IRQHandler
B EXTI0_IRQHandler B DTIM_QDU_IRQHandler
PUBWEAK EXTI1_IRQHandler PUBWEAK MFS0RX_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
EXTI1_IRQHandler MFS0RX_IRQHandler
B EXTI1_IRQHandler B MFS0RX_IRQHandler
PUBWEAK EXTI2_IRQHandler PUBWEAK MFS0TX_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
EXTI2_IRQHandler MFS0TX_IRQHandler
B EXTI2_IRQHandler B MFS0TX_IRQHandler
PUBWEAK EXTI3_IRQHandler PUBWEAK MFS1RX_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
EXTI3_IRQHandler MFS1RX_IRQHandler
B EXTI3_IRQHandler B MFS1RX_IRQHandler
PUBWEAK EXTI4_IRQHandler PUBWEAK MFS1TX_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
EXTI4_IRQHandler MFS1TX_IRQHandler
B EXTI4_IRQHandler B MFS1TX_IRQHandler
PUBWEAK DMA1_Channel1_IRQHandler PUBWEAK NULL_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
DMA1_Channel1_IRQHandler NULL_IRQHandler
B DMA1_Channel1_IRQHandler B NULL_IRQHandler
PUBWEAK DMA1_Channel2_IRQHandler PUBWEAK MFS2TX_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
DMA1_Channel2_IRQHandler MFS2TX_IRQHandler
B DMA1_Channel2_IRQHandler B MFS2TX_IRQHandler
PUBWEAK DMA1_Channel3_IRQHandler PUBWEAK MFS3RX_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
DMA1_Channel3_IRQHandler MFS3RX_IRQHandler
B DMA1_Channel3_IRQHandler B MFS3RX_IRQHandler
PUBWEAK DMA1_Channel4_IRQHandler PUBWEAK MFS3TX_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
DMA1_Channel4_IRQHandler MFS3TX_IRQHandler
B DMA1_Channel4_IRQHandler B MFS3TX_IRQHandler
PUBWEAK DMA1_Channel5_IRQHandler PUBWEAK MFS4RX_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
DMA1_Channel5_IRQHandler MFS4RX_IRQHandler
B DMA1_Channel5_IRQHandler B MFS4RX_IRQHandler
PUBWEAK DMA1_Channel6_IRQHandler PUBWEAK MFS4TX_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
DMA1_Channel6_IRQHandler MFS4TX_IRQHandler
B DMA1_Channel6_IRQHandler B MFS4TX_IRQHandler
PUBWEAK DMA1_Channel7_IRQHandler PUBWEAK MFS5RX_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
DMA1_Channel7_IRQHandler MFS5RX_IRQHandler
B DMA1_Channel7_IRQHandler B MFS5RX_IRQHandler
PUBWEAK ADC1_2_IRQHandler PUBWEAK MFS5TX_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
ADC1_2_IRQHandler MFS5TX_IRQHandler
B ADC1_2_IRQHandler B MFS5TX_IRQHandler
PUBWEAK USB_HP_CAN1_TX_IRQHandler PUBWEAK MFS6RX_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
USB_HP_CAN1_TX_IRQHandler MFS6RX_IRQHandler
B USB_HP_CAN1_TX_IRQHandler B MFS6RX_IRQHandler
PUBWEAK USB_LP_CAN1_RX0_IRQHandler PUBWEAK MFS6TX_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
USB_LP_CAN1_RX0_IRQHandler MFS6TX_IRQHandler
B USB_LP_CAN1_RX0_IRQHandler B MFS6TX_IRQHandler
PUBWEAK CAN1_RX1_IRQHandler PUBWEAK MFS7RX_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
CAN1_RX1_IRQHandler MFS7RX_IRQHandler
B CAN1_RX1_IRQHandler B MFS7RX_IRQHandler
PUBWEAK CAN1_SCE_IRQHandler PUBWEAK MFS7TX_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
CAN1_SCE_IRQHandler MFS7TX_IRQHandler
B CAN1_SCE_IRQHandler B MFS7TX_IRQHandler
PUBWEAK EXTI9_5_IRQHandler PUBWEAK PPG_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
EXTI9_5_IRQHandler PPG_IRQHandler
B EXTI9_5_IRQHandler B PPG_IRQHandler
PUBWEAK TIM1_BRK_IRQHandler PUBWEAK OSC_PLL_WC_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
TIM1_BRK_IRQHandler OSC_PLL_WC_IRQHandler
B TIM1_BRK_IRQHandler B OSC_PLL_WC_IRQHandler
PUBWEAK TIM1_UP_IRQHandler PUBWEAK ADC0_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
TIM1_UP_IRQHandler ADC0_IRQHandler
B TIM1_UP_IRQHandler B ADC0_IRQHandler
PUBWEAK TIM1_TRG_COM_IRQHandler PUBWEAK ADC1_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
TIM1_TRG_COM_IRQHandler ADC1_IRQHandler
B TIM1_TRG_COM_IRQHandler B ADC1_IRQHandler
PUBWEAK TIM1_CC_IRQHandler PUBWEAK ADC2_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
TIM1_CC_IRQHandler ADC2_IRQHandler
B TIM1_CC_IRQHandler B ADC2_IRQHandler
PUBWEAK TIM2_IRQHandler PUBWEAK FRTIM_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
TIM2_IRQHandler FRTIM_IRQHandler
B TIM2_IRQHandler B FRTIM_IRQHandler
PUBWEAK TIM3_IRQHandler PUBWEAK INCAP_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
TIM3_IRQHandler INCAP_IRQHandler
B TIM3_IRQHandler B INCAP_IRQHandler
PUBWEAK TIM4_IRQHandler PUBWEAK OUTCOMP_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
TIM4_IRQHandler OUTCOMP_IRQHandler
B TIM4_IRQHandler B OUTCOMP_IRQHandler
PUBWEAK I2C1_EV_IRQHandler PUBWEAK BTIM_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
I2C1_EV_IRQHandler BTIM_IRQHandler
B I2C1_EV_IRQHandler B BTIM_IRQHandler
PUBWEAK I2C1_ER_IRQHandler PUBWEAK CAN0_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
I2C1_ER_IRQHandler CAN0_IRQHandler
B I2C1_ER_IRQHandler B CAN0_IRQHandler
PUBWEAK I2C2_EV_IRQHandler PUBWEAK CAN1_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
I2C2_EV_IRQHandler CAN1_IRQHandler
B I2C2_EV_IRQHandler B CAN1_IRQHandler
PUBWEAK I2C2_ER_IRQHandler PUBWEAK USBF_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
I2C2_ER_IRQHandler USBF_IRQHandler
B I2C2_ER_IRQHandler B USBF_IRQHandler
PUBWEAK SPI1_IRQHandler PUBWEAK USBF_USBH_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
SPI1_IRQHandler USBF_USBH_IRQHandler
B SPI1_IRQHandler B USBF_USBH_IRQHandler
PUBWEAK SPI2_IRQHandler PUBWEAK RESERVED_1_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
SPI2_IRQHandler RESERVED_1_IRQHandler
B SPI2_IRQHandler B RESERVED_1_IRQHandler
PUBWEAK USART1_IRQHandler PUBWEAK RESERVED_2_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
USART1_IRQHandler RESERVED_2_IRQHandler
B USART1_IRQHandler B RESERVED_2_IRQHandler
PUBWEAK USART2_IRQHandler PUBWEAK DMAC0_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
USART2_IRQHandler DMAC0_IRQHandler
B USART2_IRQHandler B DMAC0_IRQHandler
PUBWEAK USART3_IRQHandler PUBWEAK DMAC1_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
USART3_IRQHandler DMAC1_IRQHandler
B USART3_IRQHandler B DMAC1_IRQHandler
PUBWEAK EXTI15_10_IRQHandler PUBWEAK DMAC2_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
EXTI15_10_IRQHandler DMAC2_IRQHandler
B EXTI15_10_IRQHandler B DMAC2_IRQHandler
PUBWEAK RTCAlarm_IRQHandler PUBWEAK DMAC3_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
RTCAlarm_IRQHandler DMAC3_IRQHandler
B RTCAlarm_IRQHandler B DMAC3_IRQHandler
PUBWEAK OTG_FS_WKUP_IRQHandler PUBWEAK DMAC4_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
OTG_FS_WKUP_IRQHandler DMAC4_IRQHandler
B OTG_FS_WKUP_IRQHandler B DMAC4_IRQHandler
PUBWEAK TIM8_BRK_IRQHandler PUBWEAK DMAC5_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
TIM8_BRK_IRQHandler DMAC5_IRQHandler
B TIM8_BRK_IRQHandler B DMAC5_IRQHandler
PUBWEAK TIM8_UP_IRQHandler PUBWEAK DMAC6_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
TIM8_UP_IRQHandler DMAC6_IRQHandler
B TIM8_UP_IRQHandler B DMAC6_IRQHandler
PUBWEAK TIM8_TRG_COM_IRQHandler PUBWEAK DMAC7_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
TIM8_TRG_COM_IRQHandler DMAC7_IRQHandler
B TIM8_TRG_COM_IRQHandler B DMAC7_IRQHandler
PUBWEAK TIM8_CC_IRQHandler PUBWEAK RESERVED_3_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
TIM8_CC_IRQHandler RESERVED_3_IRQHandler
B TIM8_CC_IRQHandler B RESERVED_3_IRQHandler
PUBWEAK ADC3_IRQHandler PUBWEAK RESERVED_4_IRQHandler
SECTION .text:CODE:REORDER(1) SECTION .text:CODE:REORDER(1)
ADC3_IRQHandler RESERVED_4_IRQHandler
B ADC3_IRQHandler B RESERVED_4_IRQHandler
PUBWEAK FSMC_IRQHandler
SECTION .text:CODE:REORDER(1)
FSMC_IRQHandler
B FSMC_IRQHandler
PUBWEAK SDIO_IRQHandler
SECTION .text:CODE:REORDER(1)
SDIO_IRQHandler
B SDIO_IRQHandler
PUBWEAK TIM5_IRQHandler
SECTION .text:CODE:REORDER(1)
TIM5_IRQHandler
B TIM5_IRQHandler
PUBWEAK SPI3_IRQHandler
SECTION .text:CODE:REORDER(1)
SPI3_IRQHandler
B SPI3_IRQHandler
PUBWEAK UART4_IRQHandler
SECTION .text:CODE:REORDER(1)
UART4_IRQHandler
B UART4_IRQHandler
PUBWEAK UART5_IRQHandler
SECTION .text:CODE:REORDER(1)
UART5_IRQHandler
B UART5_IRQHandler
PUBWEAK TIM6_IRQHandler
SECTION .text:CODE:REORDER(1)
TIM6_IRQHandler
B TIM6_IRQHandler
PUBWEAK TIM7_IRQHandler
SECTION .text:CODE:REORDER(1)
TIM7_IRQHandler
B TIM7_IRQHandler
PUBWEAK DMA2_Channel1_IRQHandler
SECTION .text:CODE:REORDER(1)
DMA2_Channel1_IRQHandler
B DMA2_Channel1_IRQHandler
PUBWEAK DMA2_Channel2_IRQHandler
SECTION .text:CODE:REORDER(1)
DMA2_Channel2_IRQHandler
B DMA2_Channel2_IRQHandler
PUBWEAK DMA2_Channel3_IRQHandler
SECTION .text:CODE:REORDER(1)
DMA2_Channel3_IRQHandler
B DMA2_Channel3_IRQHandler
PUBWEAK DMA2_Channel4_5_IRQHandler
SECTION .text:CODE:REORDER(1)
DMA2_Channel4_5_IRQHandler
B DMA2_Channel4_5_IRQHandler
; for STM32F10x Connectivity line devices END
PUBWEAK DMA2_Channel5_IRQHandler
SECTION .text:CODE:REORDER(1)
DMA2_Channel5_IRQHandler
B DMA2_Channel5_IRQHandler
PUBWEAK ETH_IRQHandler
SECTION .text:CODE:REORDER(1)
ETH_IRQHandler
B ETH_IRQHandler
PUBWEAK ETH_WKUP_IRQHandler
SECTION .text:CODE:REORDER(1)
ETH_WKUP_IRQHandler
B ETH_WKUP_IRQHandler
PUBWEAK CAN2_TX_IRQHandler
SECTION .text:CODE:REORDER(1)
CAN2_TX_IRQHandler
B CAN2_TX_IRQHandler
PUBWEAK CAN2_RX0_IRQHandler
SECTION .text:CODE:REORDER(1)
CAN2_RX0_IRQHandler
B CAN2_RX0_IRQHandler
PUBWEAK CAN2_RX1_IRQHandler
SECTION .text:CODE:REORDER(1)
CAN2_RX1_IRQHandler
B CAN2_RX1_IRQHandler
PUBWEAK CAN2_SCE_IRQHandler
SECTION .text:CODE:REORDER(1)
CAN2_SCE_IRQHandler
B CAN2_SCE_IRQHandler
PUBWEAK OTG_FS_IRQHandler
SECTION .text:CODE:REORDER(1)
OTG_FS_IRQHandler
B OTG_FS_IRQHandler
END
/******************* (C) COPYRIGHT 2009 STMicroelectronics *****END OF FILE****/