把原子的工程模板的大容量型号换成中容量的STM32F103C8T6报错

2019-08-17 04:21发布

本帖最后由 pcqboys 于 2017-6-30 11:11 编辑

1、把文件夹CORE_STARTUP里面的startup_stm32f10x_hd.s 换成 startup_stm32f10x_md.s        
2、option for targe 里面的 Define 一栏改成 “STM32F10X_MD,USE_STDPERIPH_DRIVER”

结果编译时报错
assembling startup_stm32f10x_md.s...
..CORE_STARTUPstartup_stm32f10x_md.s(41): error: A1163E: Unknown opcode MODULE , expecting opcode or Macro
..CORE_STARTUPstartup_stm32f10x_md.s(44): error: A1163E: Unknown opcode SECTION , expecting opcode or Macro
..CORE_STARTUPstartup_stm32f10x_md.s(46): error: A1163E: Unknown opcode SECTION , expecting opcode or Macro
..CORE_STARTUPstartup_stm32f10x_md.s(50): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
..CORE_STARTUPstartup_stm32f10x_md.s(52): error: A1159E: Label missing from line start
..CORE_STARTUPstartup_stm32f10x_md.s(53): error: A1355U: A Label was found which was in no AREA


求指教
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。