Keil uVision4汉化前编译stm32单片机没问题,汉化后编译stm32单片机出错。已经尝试重装Keil uVision4软件多次了,但是每次破解后,不汉化编译stm32单片机程序就没有错误,汉化后编译同一个stm32单片机也会出错,想请教一下大家有什么办法解决Keil uVision4汉化后出现的这个问题吗?下面是具体的详情:
1、这是没有汉化前,编译stm32单片机程序的详情:
Build target 'Target 1'
compiling main.c...
compiling stm32f10x_it.c...
compiling public.c...
compiling core_cm3.c...
compiling system_stm32f10x.c...
assembling startup_stm32f10x_hd.s...
compiling stm32f10x_gpio.c...
compiling stm32f10x_rcc.c...
compiling led.c...
linking...
Program Size: Code=2744 RO-data=336 RW-data=40 ZI-data=1632
FromELF: creating hex file...
".\output\工程模板.axf" - 0 Error(s), 0 Warning(s).
2、这是汉化后,编译stm32单片机程序出错的详情:
Build target 'Target 1'
compiling main.c...
main.c: Warning: C3910W: Old syntax, please use '--via'.
main.c: Warning: C3910W: Old syntax, please use '--cpu'.
main.c: Warning: C3910W: Old syntax, please use '--apcs'.
compiling stm32f10x_it.c...
stm32f10x_it.c: Warning: C3910W: Old syntax, please use '--via'.
stm32f10x_it.c: Warning: C3910W: Old syntax, please use '--cpu'.
stm32f10x_it.c: Warning: C3910W: Old syntax, please use '--apcs'.
compiling public.c...
public.c: Warning: C3910W: Old syntax, please use '--via'.
public.c: Warning: C3910W: Old syntax, please use '--cpu'.
public.c: Warning: C3910W: Old syntax, please use '--apcs'.
compiling core_cm3.c...
core_cm3.c: Warning: C3910W: Old syntax, please use '--via'.
core_cm3.c: Warning: C3910W: Old syntax, please use '--cpu'.
core_cm3.c: Warning: C3910W: Old syntax, please use '--apcs'.
compiling system_stm32f10x.c...
system_stm32f10x.c: Warning: C3910W: Old syntax, please use '--via'.
system_stm32f10x.c: Warning: C3910W: Old syntax, please use '--cpu'.
system_stm32f10x.c: Warning: C3910W: Old syntax, please use '--apcs'.
assembling startup_stm32f10x_hd.s...
startup_stm32f10x_hd.s: Warning: A3910W: Old syntax, please use '--via'.
startup_stm32f10x_hd.s: Warning: A3910W: Old syntax, please use '--cpu'.
startup_stm32f10x_hd.s: Warning: A3910W: Old syntax, please use '--apcs'.
startup_stm32f10x_hd.s: Warning: A3910W: Old syntax, please use '--list'.
startup_stm32f10x_hd.s: Warning: A3910W: Old syntax, please use '--list='.
startup_stm32f10x_hd.s: Warning: A3910W: Old syntax, please use '--xref'.
compiling stm32f10x_gpio.c...
stm32f10x_gpio.c: Warning: C3910W: Old syntax, please use '--via'.
stm32f10x_gpio.c: Warning: C3910W: Old syntax, please use '--cpu'.
stm32f10x_gpio.c: Warning: C3910W: Old syntax, please use '--apcs'.
compiling stm32f10x_rcc.c...
stm32f10x_rcc.c: Warning: C3910W: Old syntax, please use '--via'.
stm32f10x_rcc.c: Warning: C3910W: Old syntax, please use '--cpu'.
stm32f10x_rcc.c: Warning: C3910W: Old syntax, please use '--apcs'.
compiling led.c...
led.c: Warning: C3910W: Old syntax, please use '--via'.
led.c: Warning: C3910W: Old syntax, please use '--cpu'.
led.c: Warning: C3910W: Old syntax, please use '--apcs'.
linking...
.\output\工程模板.axf: Warning: L3910W: Old syntax, please use '--via'.
.\output\工程模板.axf: Warning: L3910W: Old syntax, please use '--ro_base'.
.\output\工程模板.axf: Warning: L3910W: Old syntax, please use '--entry'.
.\output\工程模板.axf: Warning: L3910W: Old syntax, please use '--rw_base'.
.\output\工程模板.axf: Warning: L3910W: Old syntax, please use '--strict'.
.\output\工程模板.axf: Warning: L3910W: Old syntax, please use '--map'.
.\output\工程模板.axf: Warning: L3910W: Old syntax, please use '--xref'.
.\output\工程模板.axf: Warning: L3910W: Old syntax, please use '--callgraph'.
.\output\工程模板.axf: Warning: L3910W: Old syntax, please use '--symbols'.
.\output\工程模板.axf: Warning: L3910W: Old syntax, please use '--info'.
.\output\工程模板.axf: Warning: L3910W: Old syntax, please use '--info'.
.\output\工程模板.axf: Warning: L3910W: Old syntax, please use '--info'.
.\output\工程模板.axf: Warning: L3910W: Old syntax, please use '--info'.
.\output\工程模板.axf: Warning: L3910W: Old syntax, please use '--list'.
.\output\工程模板.axf: Warning: L6310W: Unable to find ARM libraries.
FromELF: creating hex file...
.\output\工程模板: Warning: Q3910W: Old syntax, please use '--i32combined'.
.\output\工程模板: Warning: Q3912W: Option 'nodebug' is deprecated.
.\output\工程模板: Warning: Q3910W: Old syntax, please use '--output'.
".\output\工程模板.axf" - 1 Error(s), 48 Warning(s).
3、如果把没有汉化前的UV4图标程序重新替换掉汉化后的UV4图标程序,编译这个stm32程序就又没有问题了。
4、想请教一下大家,又没有办法解决Keil uVision4汉化后出现的这个问题,有的话,麻烦告知指教一下,谢谢!
5、随附件是我用于编译的stm32的单片机程序。
工程模板.rar
(1.36 MB, 下载次数: 12)
|