31617105 发表于 2010-11-24 15:08:08

thread 文件系统现在只能支持8个字符加扩张名,怎么样配置成更长的呢

ffxz 大大,我找了好多时间都没找到 求指点啊

gzhuli 发表于 2010-11-24 15:34:17

rtthread.h:

#define RT_DFS_ELM_USE_LFN 1

31617105 发表于 2010-11-24 16:19:41

回复【1楼】gzhuli 咕唧霖
-----------------------------------------------------------------------

谢谢你

31617105 发表于 2010-11-24 16:26:12

回复【1楼】gzhuli 咕唧霖
-----------------------------------------------------------------------

/* The _USE_LFN option switches the LFN support.
/
/   0: Disable LFN. _MAX_LFN and _LFN_UNICODE have no effect.
/   1: Enable LFN with static working buffer on the bss. NOT REENTRANT.
/   2: Enable LFN with dynamic working buffer on the STACK.

呵呵 找到了

gzhuli 发表于 2010-11-24 17:10:07

注意要加入elmfat/option目录下的编码转换引擎(GB2312对应cp936.c),加入后flash占用要增加几十k。

31617105 发表于 2010-11-24 17:18:38

回复【4楼】gzhuli 咕唧霖
-----------------------------------------------------------------------

呵呵,,,好多学问啊

taishan 发表于 2011-2-11 16:31:37

0.4版改在 rtconfig.h 中定义了。
页: [1]
查看完整版本: thread 文件系统现在只能支持8个字符加扩张名,怎么样配置成更长的呢