Cortex-M4在keil下启动文件解析 下载本文

nFPROT1 EQU 0x00

FPROT1 EQU nFPROT1:EOR:0xFF nFPROT2 EQU 0x00

FPROT2 EQU nFPROT2:EOR:0xFF nFPROT3 EQU 0x00

FPROT3 EQU nFPROT3:EOR:0xFF nFDPROT EQU 0x00

FDPROT EQU nFDPROT:EOR:0xFF nFEPROT EQU 0x00

FEPROT EQU nFEPROT:EOR:0xFF FOPT EQU 0xFF FSEC EQU 0xFE IF :LNOT::DEF:RAM_TARGET

AREA |.ARM.__at_0x400|, CODE, READONLY

DCB BackDoorK0, BackDoorK1, BackDoorK2, BackDoorK3 DCB BackDoorK4, BackDoorK5, BackDoorK6, BackDoorK7 DCB FPROT0, FPROT1, FPROT2, FPROT3 DCB FSEC, FOPT, FEPROT, FDPROT ENDIF

IF?ENDIF为预编译结构,判断是否使用外部SRAM,在第1行中已定义为“不使用”。 AREA |.text|, CODE, READONLY 伪指令AREA。 Reset_Handler PROC

EXPORT Reset_Handler [WEAK] IMPORT SystemInit 声明SystemInit标号

IMPORT __main 声明__main标号

LDR R0, =SystemInit BLX R0

LDR R0, =__main BX R0 ENDP

NMI_Handler PROC

EXPORT NMI_Handler [WEAK] B . ENDP HardFault_Handler\\

PROC

EXPORT HardFault_Handler [WEAK] B . ENDP MemManage_Handler\\

PROC

EXPORT MemManage_Handler [WEAK] B . ENDP BusFault_Handler\\

PROC

EXPORT BusFault_Handler [WEAK] B . ENDP UsageFault_Handler\\

PROC

EXPORT UsageFault_Handler B . ENDP SVC_Handler PROC

EXPORT SVC_Handler B . ENDP DebugMon_Handler\\

PROC

EXPORT DebugMon_Handler B . ENDP PendSV_Handler PROC

EXPORT PendSV_Handler B . ENDP SysTick_Handler PROC

EXPORT SysTick_Handler B . ENDP Default_Handler PROC

EXPORT DMA0_IRQHandler EXPORT DMA1_IRQHandler EXPORT DMA2_IRQHandler EXPORT DMA3_IRQHandler EXPORT DMA4_IRQHandler EXPORT DMA5_IRQHandler EXPORT DMA6_IRQHandler EXPORT DMA7_IRQHandler EXPORT DMA8_IRQHandler EXPORT DMA9_IRQHandler EXPORT DMA10_IRQHandler EXPORT DMA11_IRQHandler [WEAK] [WEAK] [WEAK] [WEAK] [WEAK] [WEAK] [WEAK] [WEAK] [WEAK] [WEAK] [WEAK] [WEAK] [WEAK] [WEAK] [WEAK] [WEAK] [WEAK]

EXPORT DMA12_IRQHandler [WEAK] EXPORT DMA13_IRQHandler [WEAK] EXPORT DMA14_IRQHandler [WEAK] EXPORT DMA15_IRQHandler [WEAK] EXPORT DMA_Error_IRQHandler [WEAK] EXPORT MCM_IRQHandler [WEAK] EXPORT FTFL_IRQHandler [WEAK]

EXPORT Read_Collision_IRQHandler [WEAK] EXPORT LVD_LVW_IRQHandler [WEAK] EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT LLW_IRQHandler [WEAK] Watchdog_IRQHandler [WEAK] RNG_IRQHandler [WEAK] I2C0_IRQHandler [WEAK] I2C1_IRQHandler [WEAK] SPI0_IRQHandler [WEAK] SPI1_IRQHandler [WEAK] SPI2_IRQHandler [WEAK]

CAN0_ORed_Message_buffer_IRQHandler [WEAK] CAN0_Bus_Off_IRQHandler [WEAK] CAN0_Error_IRQHandler [WEAK]

CAN0_Tx_Warning_IRQHandler [WEAK] CAN0_Rx_Warning_IRQHandler [WEAK] CAN0_Wake_Up_IRQHandler [WEAK] Reserved51_IRQHandler [WEAK] Reserved52_IRQHandler [WEAK]

CAN1_ORed_Message_buffer_IRQHandler [WEAK] CAN1_Bus_Off_IRQHandler [WEAK] CAN1_Error_IRQHandler [WEAK]

CAN1_Tx_Warning_IRQHandler [WEAK] CAN1_Rx_Warning_IRQHandler [WEAK] CAN1_Wake_Up_IRQHandler [WEAK] Reserved59_IRQHandler [WEAK] Reserved60_IRQHandler [WEAK]

UART0_RX_TX_IRQHandler [WEAK] UART0_ERR_IRQHandler [WEAK] UART1_RX_TX_IRQHandler [WEAK] UART1_ERR_IRQHandler [WEAK] UART2_RX_TX_IRQHandler [WEAK] UART2_ERR_IRQHandler [WEAK] UART3_RX_TX_IRQHandler [WEAK] UART3_ERR_IRQHandler [WEAK] UART4_RX_TX_IRQHandler [WEAK] UART4_ERR_IRQHandler [WEAK] UART5_RX_TX_IRQHandler [WEAK]

EXPORT UART5_ERR_IRQHandler [WEAK] EXPORT ADC0_IRQHandler [WEAK] EXPORT ADC1_IRQHandler [WEAK] EXPORT CMP0_IRQHandler [WEAK] EXPORT CMP1_IRQHandler [WEAK] EXPORT CMP2_IRQHandler [WEAK] EXPORT FTM0_IRQHandler [WEAK] EXPORT FTM1_IRQHandler [WEAK] EXPORT FTM2_IRQHandler [WEAK] EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT EXPORT CMT_IRQHandler [WEAK] RTC_IRQHandler [WEAK]

Reserved83_IRQHandler [WEAK] PIT0_IRQHandler [WEAK] PIT1_IRQHandler [WEAK] PIT2_IRQHandler [WEAK] PIT3_IRQHandler [WEAK] PDB0_IRQHandler [WEAK] USB0_IRQHandler [WEAK] USBDCD_IRQHandler [WEAK]

ENET_1588_Timer_IRQHandler [WEAK] ENET_Transmit_IRQHandler [WEAK] ENET_Receive_IRQHandler [WEAK] ENET_Error_IRQHandler [WEAK] I2S0_IRQHandler [WEAK] SDHC_IRQHandler [WEAK] DAC0_IRQHandler [WEAK] DAC1_IRQHandler [WEAK] TSI0_IRQHandler [WEAK] MCG_IRQHandler [WEAK] LPTimer_IRQHandler [WEAK] Reserved102_IRQHandler [WEAK] PORTA_IRQHandler [WEAK] PORTB_IRQHandler [WEAK] PORTC_IRQHandler [WEAK] PORTD_IRQHandler [WEAK] PORTE_IRQHandler [WEAK]

Reserved108_IRQHandler [WEAK] Reserved109_IRQHandler [WEAK] Reserved110_IRQHandler [WEAK] Reserved111_IRQHandler [WEAK] Reserved112_IRQHandler [WEAK] Reserved113_IRQHandler [WEAK] Reserved114_IRQHandler [WEAK] Reserved115_IRQHandler [WEAK]