|
@@ -1,32 +1,3 @@
|
|
|
-/**
|
|
|
- ******************************************************************************
|
|
|
- * @file startup_stm32f10x_hd.s
|
|
|
- * @author MCD Application Team
|
|
|
- * @version V3.1.2
|
|
|
- * @date 09/28/2009
|
|
|
- * @brief STM32F10x High Density Devices vector table for RIDE7 toolchain.
|
|
|
- * This module performs:
|
|
|
- * - Set the initial SP
|
|
|
- * - Set the initial PC == Reset_Handler,
|
|
|
- * - Set the vector table entries with the exceptions ISR address,
|
|
|
- * - Configure external SRAM mounted on STM3210E-EVAL board
|
|
|
- * 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>© COPYRIGHT 2009 STMicroelectronics</center></h2>
|
|
|
- */
|
|
|
.section .bss.init
|
|
|
.equ Stack_Size, 0x00000200
|
|
|
.space Stack_Size
|
|
@@ -52,8 +23,6 @@ defined in linker script */
|
|
|
/* end address for the .bss section. defined in linker script */
|
|
|
.word _ebss
|
|
|
|
|
|
-// .equ Initial_spTop, 0x20000200
|
|
|
-.equ BootRAM, 0xF1E0F85F
|
|
|
/**
|
|
|
* @brief This is the code that gets called when the processor first
|
|
|
* starts execution following a reset event. Only the absolutely
|
|
@@ -131,17 +100,17 @@ Infinite_Loop:
|
|
|
g_pfnVectors:
|
|
|
.word Initial_spTop
|
|
|
.word Reset_Handler
|
|
|
- .word Default_Handler //NMI_Handler
|
|
|
+ .word Default_Handler //NMI_Handler
|
|
|
.word rt_hw_hard_fault
|
|
|
- .word Default_Handler //MemManage_Handler
|
|
|
- .word Default_Handler //BusFault_Handler
|
|
|
- .word Default_Handler //UsageFault_Handler
|
|
|
+ .word Default_Handler //MemManage_Handler
|
|
|
+ .word Default_Handler //BusFault_Handler
|
|
|
+ .word Default_Handler //UsageFault_Handler
|
|
|
.word 0
|
|
|
.word 0
|
|
|
.word 0
|
|
|
.word 0
|
|
|
- .word Default_Handler //SVC_Handler
|
|
|
- .word Default_Handler //DebugMon_Handler
|
|
|
+ .word Default_Handler //SVC_Handler
|
|
|
+ .word Default_Handler //DebugMon_Handler
|
|
|
.word 0
|
|
|
.word rt_hw_pend_sv
|
|
|
.word rt_hw_timer_handler
|