stm32的启动文件在keil MDK

2019-03-23 20:13发布

startup_stm32f10x_hd.S(1): error: A1167E: Invalid line start
startup_stm32f10x_hd.S:     1 00000000 /**
startup_stm32f10x_hd.S(2): error: A1137E: Unexpected characters at end of line
startup_stm32f10x_hd.S:     2 00000000  ******************************************************************************
startup_stm32f10x_hd.S:                 ^
startup_stm32f10x_hd.S(3): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:     3 00000000  * @file      startup_stm32f10x_hd.s
startup_stm32f10x_hd.S(4): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:     4 00000000  * @author    MCD Application Team
startup_stm32f10x_hd.S(5): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:     5 00000000  * @version   V3.3.0
startup_stm32f10x_hd.S(6): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:     6 00000000  * @date      04/16/2010
startup_stm32f10x_hd.S(7): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:     7 00000000  * @brief     STM32F10x High Density Devices vector table for RIDE7 toolchain.
startup_stm32f10x_hd.S(8): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:     8 00000000  *            This module performs:
startup_stm32f10x_hd.S(9): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:     9 00000000  *                - Set the initial SP
startup_stm32f10x_hd.S(10): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    10 00000000  *                - Set the initial PC == Reset_Handler,
startup_stm32f10x_hd.S(11): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    11 00000000  *                - Set the vector table entries with the exceptions ISR address
startup_stm32f10x_hd.S(12): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    12 00000000  *                - Configure the clock system and the external SRAM mounted on
startup_stm32f10x_hd.S(13): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    13 00000000  *                  STM3210E-EVAL board to be used as data memory (optional,
startup_stm32f10x_hd.S(14): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    14 00000000  *                  to be enabled by user)
startup_stm32f10x_hd.S(15): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    15 00000000  *                - Branches to main in the C library (which eventually
startup_stm32f10x_hd.S(16): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    16 00000000  *                  calls main()).
startup_stm32f10x_hd.S(17): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    17 00000000  *            After Reset the Cortex-M3 processor is in Thread mode,
startup_stm32f10x_hd.S(18): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    18 00000000  *            priority is Privileged, and the Stack is set to Main.
startup_stm32f10x_hd.S(19): error: A1137E: Unexpected characters at end of line
startup_stm32f10x_hd.S:    19 00000000  *******************************************************************************
startup_stm32f10x_hd.S:                 ^
startup_stm32f10x_hd.S(20): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    20 00000000  * @copy
startup_stm32f10x_hd.S(21): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    21 00000000  *
startup_stm32f10x_hd.S(22): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    22 00000000  * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
startup_stm32f10x_hd.S(23): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    23 00000000  * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
startup_stm32f10x_hd.S(24): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    24 00000000  * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
startup_stm32f10x_hd.S(25): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    25 00000000  * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
startup_stm32f10x_hd.S(26): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    26 00000000  * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
startup_stm32f10x_hd.S(27): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    27 00000000  * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
startup_stm32f10x_hd.S(28): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    28 00000000  *
startup_stm32f10x_hd.S(29): error: A1159E: Label missing from line start
startup_stm32f10x_hd.S:    29 00000000  * <h2><center>&copy; COPYRIGHT 2010 STMicroelectronics</center></h2>
startup_stm32f10x_hd.S(30): error: A1137E: Unexpected characters at end of line
startup_stm32f10x_hd.S:    30 00000000  */
startup_stm32f10x_hd.S:                 ^
startup_stm32f10x_hd.S(32): error: A1137E: Unexpected characters at end of line
startup_stm32f10x_hd.S:    32 00000000   .syntax unified
startup_stm32f10x_hd.S:                  ^
startup_stm32f10x_hd.S(33): error: A1137E: Unexpected characters at end of line
startup_stm32f10x_hd.S:    33 00000000   .cpu cortex-m3
startup_stm32f10x_hd.S:                  ^
startup_stm32f10x_hd.S(34): error: A1137E: Unexpected characters at end of line
startup_stm32f10x_hd.S:    34 00000000   .fpu softvfp
startup_stm32f10x_hd.S:                  ^
startup_stm32f10x_hd.S(35): error: A1137E: Unexpected characters at end of line
startup_stm32f10x_hd.S:    35 00000000   .thumb
startup_stm32f10x_hd.S:                  ^
startup_stm32f10x_hd.S(37): error: A1163E: Unknown opcode g_pfnVectors , expecting opcode or Macro
startup_stm32f10x_hd.S:    37 00000000 .global  g_pfnVectors
startup_stm32f10x_hd.S:                         ^
startup_stm32f10x_hd.S(38): error: A1163E: Unknown opcode Default_Handler , expecting opcode or Macro
startup_stm32f10x_hd.S:    38 00000000 .global  Default_Handler
startup_stm32f10x_hd.S:                         ^
startup_stm32f10x_hd.S(40): error: A1163E: Unknown opcode start , expecting opcode or Macro
startup_stm32f10x_hd.S:    40 00000000 /* start address for the initialization values of the .data section.
startup_stm32f10x_hd.S:                   ^
startup_stm32f10x_hd.S(41): error: A1163E: Unknown opcode in , expecting opcode or Macro
startup_stm32f10x_hd.S:    41 00000000 defined in linker script */
startup_stm32f10x_hd.S:                        ^
startup_stm32f10x_hd.S(42): error: A1163E: Unknown opcode _sidata , expecting opcode or Macro
startup_stm32f10x_hd.S:    42 00000000 .word  _sidata
startup_stm32f10x_hd.S:                       ^
startup_stm32f10x_hd.S(43): error: A1163E: Unknown opcode start , expecting opcode or Macro
startup_stm32f10x_hd.S:    43 00000000 /* start address for the .data section. defined in linker script */  
startup_stm32f10x_hd.S:                   ^
startup_stm32f10x_hd.S(44): error: A1163E: Unknown opcode _sdata , expecting opcode or Macro
startup_stm32f10x_hd.S:    44 00000000 .word  _sdata
startup_stm32f10x_hd.S:                       ^
startup_stm32f10x_hd.S(45): error: A1167E: Invalid line start
startup_stm32f10x_hd.S:    45 00000000 /* end address for the .data section. defined in linker script */
startup_stm32f10x_hd.S(46): error: A1163E: Unknown opcode _edata , expecting opcode or Macro
startup_stm32f10x_hd.S:    46 00000000 .word  _edata
startup_stm32f10x_hd.S:                       ^
startup_stm32f10x_hd.S(47): error: A1163E: Unknown opcode start , expecting opcode or Macro
startup_stm32f10x_hd.S:    47 00000000 /* start address for the .bss section. defined in linker script */
startup_stm32f10x_hd.S:                   ^
startup_stm32f10x_hd.S(48): error: A1163E: Unknown opcode _sbss , expecting opcode or Macro
startup_stm32f10x_hd.S:    48 00000000 .word  _sbss
startup_stm32f10x_hd.S:                       ^
startup_stm32f10x_hd.S(49): error: A1167E: Invalid line start
startup_stm32f10x_hd.S:    49 00000000 /* end address for the .bss section. defined in linker script */
startup_stm32f10x_hd.S(50): error: A1163E: Unknown opcode _ebss , expecting opcode or Macro
startup_stm32f10x_hd.S:    50 00000000 .word  _ebss
startup_stm32f10x_hd.S:                       ^
startup_stm32f10x_hd.S(51): error: A1163E: Unknown opcode stack , expecting opcode or Macro
startup_stm32f10x_hd.S:    51 00000000 /* stack used for SystemInit_ExtMemCtl; always internal RAM used */
startup_stm32f10x_hd.S:                   ^
startup_stm32f10x_hd.S(53): error: A1163E: Unknown opcode BootRAM, , expecting opcode or Macro
startup_stm32f10x_hd.S:    53 00000000 .equ  BootRAM,        0xF1E0F85F
startup_stm32f10x_hd.S:                      ^
startup_stm32f10x_hd.S(54): error: A1167E: Invalid line start
startup_stm32f10x_hd.S:    54 00000000 /**


在keil MDK 4中以前在eclipse中可以用的启动文件现在不能用了这位师兄知道哪里配置错了么?
此帖出自小平头技术问答
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。