在添加S@R_502_6136@VF016B格式化和挂载文件系统时遇到无法格式化的问题,提示如下
The sector size of device is greater than the sector size of FAT.
[D/main] elmfs on S@R_502_6136@ mount fail
format error
解决方法:
#define RT_DFS_ELM_MAX_SECTOR_SIZE 4096 之前默认是512,改为4096
dfs.h文件
#define SECTOR_SIZE 4096 之前默认是512,改为4096
成功提示
[D/main] elmfs on S@R_502_6136@ mount fail
[D/main] make elmfs on S@R_502_6136@,then remount
[D/main] elmfs on S@R_502_6136@ mount ok
disk free: 1.9 MB [ 506 block, 4096 bytes per block ]
[D/main] system start
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。