IAR版本太高,例程不能编译通过

我在尝试用FILELIB8的例程,但是编译有错,好像只支持IAR2.10 的版本,我用的是4.11的版本。然后我把库换成FILELIBF_V41文件夹里的CH375HFF.R43,源程序还是用FILELIB8的例程,编译一样出错。出错信息是: Warning[w6]: Type conflict for external/entry "mCmdParam", in module CH375MAI against external/entry in module main; class/struct/union Warning[w60]: The entry point label "__program_start" was not found in any input file. The image will not have an entry point. Warning[w35]: There is more than one definition for the struct/union type with tag '_CMD_PARAM'; class/struct/union field names do not Error[e46]: Undefined external "__program_start" referred in ?ABS_ENTRY_MOD ( ) Error while running Linker 这是什么问题? CH375HFF.R43是怎么加载的,我不太会? 我是这样加载的,不知道对不对:option-general option-library configuration-library-custom clib-然后就选择了CH375HFF.R43。我感觉不对?

库应该选用:FILELIBF_V41,库的添加方法与C文件一样


IRA编译器版本不能由高向低兼容,很麻烦,你可以使用CH376芯片,不需要加库,占用MCU资源更少.支持SD,U盘读写.是CH375的升级版.


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