中级会员 
   
	- 积分
 - 227
 
        - 金钱
 - 227 
 
       - 注册时间
 - 2016-7-14
 
      - 在线时间
 - 30 小时
 
 
 
 | 
 
 
发表于 2018-11-1 16:26:27
|
显示全部楼层
 
 
 
compiling main.c... 
main.c(117): error:  #167: argument of type "char *" is incompatible with parameter of type "const TCHAR *" 
    f_mount(fs[0],"0:",1);                                      //挂载SD卡  
main.c(118): error:  #167: argument of type "char *" is incompatible with parameter of type "const TCHAR *" 
        f_mount(fs[1],"1:",1);                                  //挂载FLASH.       
main.c(120): error:  #167: argument of type "char *" is incompatible with parameter of type "const TCHAR *" 
                        f_open(&file ,"0:/mytesttxt.txt" ,FA_OPEN_ALWAYS | FA_WRITE  ); 
main.c(124): error:  #167: argument of type "char *" is incompatible with parameter of type "const TCHAR *" 
                        f_open(&file ,"0:/mytesttxt.txt" ,FA_READ  ); 
 
 
 
最近也是在移植FATFS文件系统到c8t6单片机上,首先遇到的问题就是rom控件被塞爆了,接着注释掉cc936里面的大容量代码,发现又出现如上的问题,努力解决中 |   
 
 
 
 |