新手入门
- 积分
- 7
- 金钱
- 7
- 注册时间
- 2016-8-8
- 在线时间
- 15 小时
|

楼主 |
发表于 2016-11-17 20:27:19
|
显示全部楼层
找到原因了,是应为我设置了只读模式,在这种模式下很多函数没有被编译,
#define _FS_READONLY 1
/* This option switches read-only configuration. (0:Read/Write or 1:Read-only)
/ Read-only configuration removes writing API functions, f_write(), f_sync(),
/ f_unlink(), f_mkdir(), f_chmod(), f_rename(), f_truncate(), f_getfree()
/ and optional writing functions as well. */
在程序备注里写明“只读配置删除编写接口函数: f_write(), f_sync(),
/ f_unlink(), f_mkdir()等”
这就是只生搬硬抄,不看说明,不往深处琢磨的下场 ,也谢谢楼上各位了 |
|