OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 2511|回复: 4

F103C8和F103ZE寄存器版本之间改哪些

[复制链接]

1

主题

15

帖子

0

精华

初级会员

Rank: 2

积分
71
金钱
71
注册时间
2019-7-8
在线时间
39 小时
发表于 2019-7-26 19:08:24 | 显示全部楼层 |阅读模式
1金钱
本帖最后由 林上有先生 于 2019-7-26 19:13 编辑

改了应该改的,可还是有下面这些错file:///C:\Users\Administrator\AppData\Roaming\Tencent\Users\1070333924\TIM\WinTemp\RichOle\STM2TK%RBA0I4_E]OM7T@G7.png
*** Using Compiler 'V5.06 update 3 (build 300)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'Target 1'
assembling startup_stm32f10x_md.s...
startup_stm32f10x_md.s(1): error: A1167E: Invalid line start
startup_stm32f10x_md.s(2): error: A1137E: Unexpected characters at end of line
startup_stm32f10x_md.s(3): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(4): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(5): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(6): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(7): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(8): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(9): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(10): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(11): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(12): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(13): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(14): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(15): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(16): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(17): error: A1137E: Unexpected characters at end of line
startup_stm32f10x_md.s(18): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(19): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(20): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(21): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(22): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(23): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(24): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(25): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(26): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(27): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(28): error: A1137E: Unexpected characters at end of line
startup_stm32f10x_md.s(29): error: A1137E: Unexpected characters at end of line
startup_stm32f10x_md.s(31): error: A1137E: Unexpected characters at end of line
startup_stm32f10x_md.s(32): error: A1137E: Unexpected characters at end of line
startup_stm32f10x_md.s(33): error: A1137E: Unexpected characters at end of line
startup_stm32f10x_md.s(34): error: A1137E: Unexpected characters at end of line
startup_stm32f10x_md.s(36): error: A1163E: Unknown opcode g_pfnVectors , expecting opcode or Macro
startup_stm32f10x_md.s(37): error: A1163E: Unknown opcode Default_Handler , expecting opcode or Macro
startup_stm32f10x_md.s(39): error: A1163E: Unknown opcode start , expecting opcode or Macro
startup_stm32f10x_md.s(40): error: A1163E: Unknown opcode in , expecting opcode or Macro
startup_stm32f10x_md.s(41): error: A1163E: Unknown opcode _sidata , expecting opcode or Macro
startup_stm32f10x_md.s(42): error: A1163E: Unknown opcode start , expecting opcode or Macro
startup_stm32f10x_md.s(43): error: A1163E: Unknown opcode _sdata , expecting opcode or Macro
startup_stm32f10x_md.s(44): error: A1167E: Invalid line start
startup_stm32f10x_md.s(45): error: A1163E: Unknown opcode _edata , expecting opcode or Macro
startup_stm32f10x_md.s(46): error: A1163E: Unknown opcode start , expecting opcode or Macro
startup_stm32f10x_md.s(47): error: A1163E: Unknown opcode _sbss , expecting opcode or Macro
startup_stm32f10x_md.s(48): error: A1167E: Invalid line start
startup_stm32f10x_md.s(49): error: A1163E: Unknown opcode _ebss , expecting opcode or Macro
startup_stm32f10x_md.s(51): error: A1163E: Unknown opcode BootRAM, , expecting opcode or Macro
startup_stm32f10x_md.s(52): error: A1167E: Invalid line start
startup_stm32f10x_md.s(53): error: A1159E: Label missing from line start
startup_stm32f10x_md.s(54): error: A1159E: Label missing from line start
compiling test.c...
compiling delay.c...
compiling usart.c...
compiling sys.c...
"..\OBJ\test.axf" - 50 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:02

最佳答案

查看完整内容[请看2#楼]

我们例程是直接用:stm32f10x.s 而不是md.s
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165540
金钱
165540
注册时间
2010-12-1
在线时间
2117 小时
发表于 2019-7-26 19:08:25 | 显示全部楼层
我们例程是直接用:stm32f10x.s
而不是md.s
我是开源电子网www.openedv.com站长,有关站务问题请与我联系。
正点原子STM32开发板购买店铺http://openedv.taobao.com
正点原子官方微信公众平台,点击这里关注“正点原子”
回复

使用道具 举报

1

主题

15

帖子

0

精华

初级会员

Rank: 2

积分
71
金钱
71
注册时间
2019-7-8
在线时间
39 小时
 楼主| 发表于 2019-7-26 19:14:32 | 显示全部楼层
我已经改了宏定义,也改了型号
回复

使用道具 举报

1

主题

15

帖子

0

精华

初级会员

Rank: 2

积分
71
金钱
71
注册时间
2019-7-8
在线时间
39 小时
 楼主| 发表于 2019-7-26 19:15:24 | 显示全部楼层
文件就这些
STM2TK%RBA0I4_E]OM7T@G7.png
回复

使用道具 举报

1

主题

15

帖子

0

精华

初级会员

Rank: 2

积分
71
金钱
71
注册时间
2019-7-8
在线时间
39 小时
 楼主| 发表于 2019-7-27 09:12:35 | 显示全部楼层
正点原子 发表于 2019-7-26 19:08
我们例程是直接用:stm32f10x.s
而不是md.s

可是,寄存器版本没这个文件呀,例程里用的是hd.s
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-6-26 14:43

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表