mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-13 18:08:54 +00:00
v1.0.1: update fatfs script
This commit is contained in:
@@ -68,7 +68,7 @@ def gen_fatfs(tooldir, srcdir, outimg, imgsiz, sector_siz, cluster):
|
|||||||
truncate = '{}truncate.exe -s {} {}'.format(tooldir, imgsiz, outimg)
|
truncate = '{}truncate.exe -s {} {}'.format(tooldir, imgsiz, outimg)
|
||||||
run_cmd(truncate)
|
run_cmd(truncate)
|
||||||
|
|
||||||
mformat = '{}mformat.exe -F -M {} -T {} -c {} -i {}'.format(tooldir, sector_siz, sector_cnt, cluster, outimg)
|
mformat = '{}mformat.exe -M {} -T {} -c {} -i {}'.format(tooldir, sector_siz, sector_cnt, cluster, outimg)
|
||||||
run_cmd(mformat)
|
run_cmd(mformat)
|
||||||
|
|
||||||
mcopy = '{}mcopy.exe -i {} -s {}\\\\ ::/'.format(tooldir, outimg, srcdir)
|
mcopy = '{}mcopy.exe -i {} -s {}\\\\ ::/'.format(tooldir, outimg, srcdir)
|
||||||
|
|||||||
Reference in New Issue
Block a user