📄 app_vect.lst
字号:
###############################################################################
# #
# IAR ANSI C/C++ Compiler V6.10.2.52244/W32 for ARM 07/Aug/2011 12:11:31 #
# Copyright 1999-2010 IAR Systems AB. #
# #
# Cpu mode = thumb #
# Endian = little #
# Source file = F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\APP\app_v #
# ect.c #
# Command line = F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\APP\app_v #
# ect.c -D USE_STDPERIPH_DRIVER -D STM32F10X_CL -lCN #
# F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\Flash\Lis #
# t\ -o F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\Fla #
# sh\Obj\ --no_cse --no_unroll --no_inline #
# --no_code_motion --no_tbaa --no_clustering #
# --no_scheduling --debug --endian=little --cpu=Cortex-M3 #
# -e --fpu=None --dlib_config #
# D:\arm\INC\c\DLib_Config_Normal.h -I #
# F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\APP\ -I #
# F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\..\BSP\ #
# -I F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\..\BSP #
# \ST\CMSIS\CM3\CoreSupport\ -I #
# F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\..\BSP\ST #
# \CMSIS\CM3\DeviceSupport\ST\STM32F10x\ -I #
# F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\..\BSP\ST #
# \STM32F10x_StdPeriph_Driver\inc\ -I #
# F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\..\BSP\uC #
# OS-II\ -I F:\stm32\我的程序\Micrium\Software\EWARM\OS-II #
# \..\..\uCOS-II\Ports\ARM-Cortex-M3\Generic\IAR\ -I #
# F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\..\..\uCO #
# S-II\Source\ -I F:\stm32\我的程序\Micrium\Software\EWARM #
# \OS-II\..\..\uC-LIB\ -I F:\stm32\我的程序\Micrium\Softwa #
# re\EWARM\OS-II\..\..\uC-LIB\Ports\ARM-Cortex-M3\IAR\ -I #
# F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\..\..\uC- #
# CPU\ -I F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\. #
# .\..\uC-CPU\ARM-Cortex-M3\IAR\ -On --use_c++_inline #
# List file = F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\Flash\Lis #
# t\app_vect.lst #
# Object file = F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\Flash\Obj #
# \app_vect.o #
# #
# #
###############################################################################
F:\stm32\我的程序\Micrium\Software\EWARM\OS-II\APP\app_vect.c
1 /*
2 *********************************************************************************************************
3 * EXAMPLE CODE
4 *
5 * (c) Copyright 2003-2007; Micrium, Inc.; Weston, FL
6 *
7 * All rights reserved. Protected by international copyright laws.
8 * Knowledge of the source code may NOT be used to develop a similar product.
9 * Please help us continue to provide the Embedded community with the finest
10 * software available. Your honesty is greatly appreciated.
11 *********************************************************************************************************
12 */
13
14 /*
15 *********************************************************************************************************
16 *
17 * EXCEPTION VECTORS
18 *
19 * ST Microelectronics STM32
20 * on the
21 *
22 * Micrium uC-Eval-STM32F107
23 * Evaluation Board
24 *
25 * Filename : app_vect_v5.c
26 * Version : V1.10
27 * Programmer(s) : BAN
28 *********************************************************************************************************
29 */
30
31 #include <includes.h>
32
33
34 /*
35 *********************************************************************************************************
36 * LOCAL DEFINES
37 *********************************************************************************************************
38 */
39
40
41 /*
42 *********************************************************************************************************
43 * LOCAL DATA TYPES
44 *********************************************************************************************************
45 */
46
47 typedef union {
48 CPU_FNCT_VOID Fnct;
49 void *Ptr;
50 } APP_INTVECT_ELEM;
51
52 /*
53 *********************************************************************************************************
54 * LOCAL TABLES
55 *********************************************************************************************************
56 */
57
58
59 /*
60 *********************************************************************************************************
61 * LOCAL GLOBAL VARIABLES
62 *********************************************************************************************************
63 */
64
65
66 /*
67 *********************************************************************************************************
68 * LOCAL FUNCTION PROTOTYPES
69 *********************************************************************************************************
70 */
71
72 #pragma language=extended
73 #pragma segment="CSTACK"
74
75 static void App_NMI_ISR (void);
76
77 static void App_Fault_ISR (void);
78
79 static void App_BusFault_ISR (void);
80
81 static void App_UsageFault_ISR (void);
82
83 static void App_MemFault_ISR (void);
84
85 static void App_Spurious_ISR (void);
86
87 static void App_Reserved_ISR (void);
88
89 extern void __iar_program_start(void);
90
91
92 /*
93 *********************************************************************************************************
94 * LOCAL CONFIGURATION ERRORS
95 *********************************************************************************************************
96 */
97
98 /*
99 *********************************************************************************************************
100 * EXCEPTION / INTERRUPT VECTOR TABLE
101 *
102 * Note(s) : (1) The Cortex-M3 may have up to 256 external interrupts, which are the final entries in the
103 * vector table. The STM32 has 48 external interrupt vectors.
104 *********************************************************************************************************
105 */
106
\ In section .intvec, align 4, root
107 __root const APP_INTVECT_ELEM __vector_table[] @ ".intvec" = {
\ __vector_table:
\ 00000000 ............ DC32 SFE(CSTACK), __iar_program_start, App_NMI_ISR, App_Fault_ISR
\ ............
\ ........
\ 00000010 ............ DC32 App_MemFault_ISR, App_BusFault_ISR, App_UsageFault_ISR
\ ............
\ 0000001C ............ DC32 App_Spurious_ISR, App_Spurious_ISR, App_Spurious_ISR
\ ............
\ 00000028 ............ DC32 App_Spurious_ISR, App_Spurious_ISR, App_Spurious_ISR
\ ............
\ 00000034 ............ DC32 App_Spurious_ISR, OS_CPU_PendSVHandler, OS_CPU_SysTickHandler
\ ............
\ 00000040 ............ DC32 BSP_IntHandlerWWDG, BSP_IntHandlerPVD, BSP_IntHandlerTAMPER
\ ............
\ 0000004C ............ DC32 BSP_IntHandlerRTC, BSP_IntHandlerFLASH, BSP_IntHandlerRCC
\ ............
\ 00000058 ............ DC32 BSP_IntHandlerEXTI0, BSP_IntHandlerEXTI1, BSP_IntHandlerEXTI2
\ ............
\ 00000064 ............ DC32 BSP_IntHandlerEXTI3, BSP_IntHandlerEXTI4, BSP_IntHandlerDMA1_CH1
\ ............
\ 00000070 ............ DC32 BSP_IntHandlerDMA1_CH2, BSP_IntHandlerDMA1_CH3
\ ....
\ 00000078 ............ DC32 BSP_IntHandlerDMA1_CH4, BSP_IntHandlerDMA1_CH5
\ ....
\ 00000080 ............ DC32 BSP_IntHandlerDMA1_CH6, BSP_IntHandlerDMA1_CH7
\ ....
\ 00000088 ............ DC32 BSP_IntHandlerADC1_2, BSP_IntHandlerCAN1_TX
\ ....
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -