keil arm下编译CH375的例子不通过,请大家帮帮忙!

大家好,我们3月底在北京的销售处买了Mp3 的方案,我们想把他移植到飞利浦的arm7上,我们从你们的网站下了CH375的库文件,然后找了\CH375LIB\ARM32\FILELIBM中的文件和例子,在Keil下进行编译,我们没有进行任何改动,可是我们怎么编译都不通过,总是报错,如下: *** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: CH375FileReadX?T ADDRESS: 00000380H

有很多这样的错误,不知道是不是在Keil环境需要进行一些设置?

麻烦大家帮着看看,谢谢!急盼回复!

没有人么?大家帮帮忙,小弟在这儿多谢了!


请问你添加了库文件CH375HFM了没,具体的添加请看:http://www.wch.cn/bbs/View.asp?S=101&I=1511


你KEIL3下编译的吗??选择ADS1.2模式来编译.


谢谢hcn和usbxf 的回答,我是在keil 3下编译的,我添加库文件了,也还是不行,单独编译 ch375hft.c没有错误,但是最后链接是的总是报错,奇怪了,如下:

*** WARNING L25: DATA TYPES DIFFERENT SYMBOL: mCmdParam MODULE: .\CH375HFM.LIB (CH375HFM) DEFINED: CH375HFT.obj (CH375HFT) *** WARNING L23: UNRESOLVED EXTERNAL SYMBOLS *** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: CH375FileReadX?T ADDRESS: 00000380H *** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: CH375FileWriteX?T ADDRESS: 000003A0H *** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: CH375GetVer?T ADDRESS: 0000041EH *** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: CH375Init?T ADDRESS: 00000434H *** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: CH375DiskReady?T ADDRESS: 000005F0H *** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: CH375FileOpen?T ADDRESS: 00000620H *** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL

我觉得是和库没有链接起来,不知怎么回事,麻烦大家再帮忙看看。我选择ADS1.2模式来编译也不行。


多谢大家,已经搞定,在设置中把选择Thumb模式的勾去掉就可以了!


引用回复:多谢大家,已经搞定,在设置中把选择Thumb模式的勾去掉就可以了! 但是,还是有1个编译警告:!!!! *** WARNING L25: DATA TYPES DIFFERENT SYMBOL: mCmdParam MODULE: .\CH375HFM.LIB (CH375HFM) DEFINED: CH375HFT.obj (CH375HFT)

有影响吗??????怎么把这个警告也去掉???? 真的希望1切顺利~~~


只有登录才能回复,可以选择微信账号登录