Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lfmiao0
rt-thread
提交
a35614d1
R
rt-thread
项目概览
lfmiao0
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a35614d1
编写于
3月 29, 2019
作者:
W
Wenlong.Fan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改CRLF-LF
上级
5f5b6a9a
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
152 addition
and
152 deletion
+152
-152
bsp/w60x/makeimg.bat
bsp/w60x/makeimg.bat
+152
-152
未找到文件。
bsp/w60x/makeimg.bat
浏览文件 @
a35614d1
@echo
off
@rem if debug_info=1, Debugging Print Information will be turned on
set
debug_info
=
0
@rem if make_fal=1, Partition tables are put into firmware
set
make_fal
=
0
@rem Setting firmware output directory
set
out_path
=
.\Bin
@rem Setting the bin file path
set
bin_file
=
.\rtthread.bin
@rem Setting winnermicro libraries path
set
wmlib_path
=
.\packages\wm_libraries
-
@rem Setting the 1M flash layout file
set
layout_1M_file
=
.
@rem Setting the 2M flash layout file
set
layout_2M_file
=
.
@rem Setting the makeimg by adding rtt flash original fls
set
makeimg_new_fls
=
.
if
"
%wmlib
_path:~0,1
%
"
==
"."
(
set
wmlib_path
=
%~dp0
%wmlib_path%
)
@rem find winnermicro libraries full path
for
/f
"delims="
%%i
in
(
'dir /ad /b /s
%wmlib_path%
*'
)
do
(
set
wmlib_path_full
=
%%i
)
@rem Setting the version.txt file path
set
version_file
=
%wmlib_path_full%
\Tools\version.txt
@rem Setting the secboot.img file path
set
secboot_file
=
%wmlib_path_full%
\Tools\secboot.img
@rem Setting the wm_gzip.exe file path
set
wm_gzip_file
=
%wmlib_path_full%
\Tools\wm_gzip.exe
@rem Setting the makeimg.exe file path
set
makeimg_file
=
%wmlib_path_full%
\Tools\makeimg.exe
@rem Setting the makeimg_all.exe file path
set
makeimg_all_file
=
%wmlib_path_full%
\Tools\makeimg_all.exe
@rem Prepare to generate firmware
@rem Get the full path
if
"
%out
_path:~0,1
%
"
==
"."
(
set
out_path
=
%~dp0
%out_path%
)
if
"
%bin
_file:~0,1
%
"
==
"."
(
set
bin_file
=
%~dp0
%bin_file%
)
@rem Create output folder
if
not
exist
"
%out_path%
"
(
md
"
%out_path%
"
)
@rem Copy the required files
if
exist
"
%bin_file%
"
(
copy
"
%bin_file%
"
"
%out_path%
"
)
else
(
echo
makeimg
err
!
No
bin
file
found
:
%bin_file%
&
goto
end
)
if
exist
"
%version_file%
"
(
copy
"
%version_file%
"
"
%out_path%
"
)
else
(
echo
makeimg
err
!
No
version
file
found
:
%version_file%
&
goto
end
)
if
exist
"
%secboot_file%
"
(
copy
"
%secboot_file%
"
"
%out_path%
"
)
else
(
echo
makeimg
err
!
No
secboot
file
found
:
%secboot_file%
&
goto
end
)
@rem Check the existence of firmware generation tools
if
not
exist
"
%wm_gzip_file%
"
(
echo
makeimg
err
!
No
wm_gzip
file
found
:
"
%wm_gzip_file%
"
&
goto
end
)
if
not
exist
"
%makeimg_file%
"
(
echo
makeimg
err
!
No
makeimg
file
found
:
"
%makeimg_file%
"
&
goto
end
)
if
not
exist
"
%makeimg_all_file%
"
(
echo
makeimg
err
!
No
makeimg_all
file
found
:
"
%makeimg_all_file%
"
&
goto
end
)
@rem Get File Names and File Extensions
for
/f
"delims="
%%A
in
(
'dir /b
%bin_file%
'
)
do
set
"bin_file_name=
%%A
"
for
/f
"delims=."
%%A
in
(
'dir /b
%bin_file%
'
)
do
set
bin_name
=
%%A
for
/f
"delims=
%bin_name%
"
%%A
in
(
'dir /b
%bin_file%
'
)
do
set
bin_extend
=
%%A
for
/f
"delims="
%%A
in
(
'dir /b
%version_file%
'
)
do
set
"version_file_name=
%%A
"
for
/f
"delims="
%%A
in
(
'dir /b
%secboot_file%
'
)
do
set
"secboot_file_name=
%%A
"
@rem Print Debug Information
if
not
"
%debug_info%
"
==
"0"
(
echo
bin_file_name
:
%bin_file_name%
&
echo
bin_name
:
%bin_name%
&
echo
bin_extend
:
%bin_extend%
&
echo
version_file_name
:
%version_file_name%
&
echo
secboot_file_name
:
%secboot_file_name%
)
echo
makeimg
1
M
Flash
...
@rem Start making 1M flash firmware
set
file_pos_1M
=
_1M
@rem Create command parameters
set
wm_gzip_cmd
=
"
%out_path%
\
%bin_file_name%
"
set
makeimg_img_cmd
=
"
%out_path%
\
%bin_file_name%
"
"
%out_path%
\
%bin_name%%
file_pos_1M
%
.img"
0
0
"
%out_path%
\
%version_file_name%
"
90000
10100
set
makeimg_gz_img_cmd
=
"
%out_path%
\
%bin_file_name%
.gz"
"
%out_path%
\
%bin_name%
_GZ
%file
_pos_1M
%
.img"
0
1
"
%out_path%
\
%version_file_name%
"
90000
10100
"
%out_path%
\
%bin_file_name%
"
set
makeimg_sec_img_cmd
=
"
%out_path%
\
%bin_file_name%
"
"
%out_path%
\
%bin_name%
_SEC
%file
_pos_1M
%
.img"
0
0
"
%out_path%
\
%version_file_name%
"
90000
10100
set
makeimg_all_cmd
=
"
%out_path%
\
%secboot_file_name%
"
"
%out_path%
\
%bin_name%%
file_pos_1M
%
.img"
"
%out_path%
\
%bin_name%%
file_pos_1M
%
.FLS"
@rem Print command Information
if
not
"
%debug_info%
"
==
"0"
(
echo
wm_gzip
%wm_gzip_cmd%
)
if
not
"
%debug_info%
"
==
"0"
(
echo
makeimg
%makeimg_img_cmd%
)
if
not
"
%debug_info%
"
==
"0"
(
echo
makeimg
%makeimg_gz_img_cmd%
)
if
not
"
%debug_info%
"
==
"0"
(
echo
makeimg
%makeimg_sec_img_cmd%
)
if
not
"
%debug_info%
"
==
"0"
(
echo
makeimg_all
%makeimg_all_cmd%
)
@rem Execute firmware generation commands
"
%wm_gzip_file%
"
%wm_gzip_cmd%
"
%makeimg_file%
"
%makeimg_img_cmd%
"
%makeimg_file%
"
%makeimg_gz_img_cmd%
"
%makeimg_file%
"
%makeimg_sec_img_cmd%
"
%makeimg_all_file%
"
%makeimg_all_cmd%
@rem Delete temporary files
if
exist
"
%out_path%
\
%bin_name%%
file_pos_1M
%
.img"
(
del
"
%out_path%
\
%bin_name%%
file_pos_1M
%
.img"
)
if
exist
"
%out_path%
\
%bin_file_name%
.gz"
(
del
"
%out_path%
\
%bin_file_name%
.gz"
)
@rem Start making 2M flash firmware
echo
makeimg
2
M
Flash
...
set
file_pos_2M
=
_2M
@rem Create command parameters
set
wm_gzip_cmd
=
"
%out_path%
\
%bin_file_name%
"
set
makeimg_img_cmd
=
"
%out_path%
\
%bin_file_name%
"
"
%out_path%
\
%bin_name%%
file_pos_2M
%
.img"
3
0
"
%out_path%
\
%version_file_name%
"
100000
10100
set
makeimg_gz_img_cmd
=
"
%out_path%
\
%bin_file_name%
.gz"
"
%out_path%
\
%bin_name%
_GZ
%file
_pos_2M
%
.img"
3
1
"
%out_path%
\
%version_file_name%
"
100000
10100
"
%out_path%
\
%bin_file_name%
"
set
makeimg_sec_img_cmd
=
"
%out_path%
\
%bin_file_name%
"
"
%out_path%
\
%bin_name%
_SEC
%file
_pos_2M
%
.img"
3
0
"
%out_path%
\
%version_file_name%
"
100000
10100
set
makeimg_all_cmd
=
"
%out_path%
\
%secboot_file_name%
"
"
%out_path%
\
%bin_name%%
file_pos_2M
%
.img"
"
%out_path%
\
%bin_name%%
file_pos_2M
%
.FLS"
@rem Print command Information
if
not
"
%debug_info%
"
==
"0"
(
echo
wm_gzip
%wm_gzip_cmd%
)
if
not
"
%debug_info%
"
==
"0"
(
echo
makeimg
%makeimg_img_cmd%
)
if
not
"
%debug_info%
"
==
"0"
(
echo
makeimg
%makeimg_gz_img_cmd%
)
if
not
"
%debug_info%
"
==
"0"
(
echo
makeimg
%makeimg_sec_img_cmd%
)
if
not
"
%debug_info%
"
==
"0"
(
echo
makeimg_all
%makeimg_all_cmd%
)
@rem Execute firmware generation commands
"
%wm_gzip_file%
"
%wm_gzip_cmd%
"
%makeimg_file%
"
%makeimg_img_cmd%
"
%makeimg_file%
"
%makeimg_gz_img_cmd%
"
%makeimg_file%
"
%makeimg_sec_img_cmd%
"
%makeimg_all_file%
"
%makeimg_all_cmd%
@rem Delete temporary files
if
exist
"
%out_path%
\
%bin_name%%
file_pos_2M
%
.img"
(
del
"
%out_path%
\
%bin_name%%
file_pos_2M
%
.img"
)
if
exist
"
%out_path%
\
%bin_file_name%
.gz"
(
del
"
%out_path%
\
%bin_file_name%
.gz"
)
@rem Partition tables are put into firmware
if
not
"
%make_fal%
"
==
"1"
(
goto
end
)
@rem Get the full path
if
"
%layout
_1M_file:~0,1
%
"
==
"."
(
set
layout_1M_file
=
%~dp0%layout
_1M_file
%
)
if
"
%layout
_2M_file:~0,1
%
"
==
"."
(
set
layout_2M_file
=
%~dp0%layout
_2M_file
%
)
if
"
%makeimg
_new_fls:~0,1
%
"
==
"."
(
set
makeimg_new_fls
=
%~dp0
%makeimg_new_fls%
)
@rem Check whether the file exists
if
not
exist
"
%layout
_1M_file
%
"
(
echo
makeimg
err
!
No
makeimg
file
found
:
"
%layout
_1M_file
%
"
&
goto
end
)
if
not
exist
"
%layout
_2M_file
%
"
(
echo
makeimg
err
!
No
makeimg
file
found
:
"
%layout
_2M_file
%
"
&
goto
end
)
if
not
exist
"
%makeimg_new_fls%
"
(
echo
makeimg
err
!
No
makeimg
file
found
:
"
%makeimg_new_fls%
"
&
goto
end
)
@rem Create command parameters to new fls
set
makeimg_new_cmd_1M
=
"
%out_path%
\
%bin_name%%
file_pos_1M
%
.FLS"
"
%layout
_1M_file
%
"
"
%out_path%
\
%bin_name%
_layout
%file
_pos_1M
%
.FLS"
@rem Execute generation fls cmd
"
%makeimg_new_fls%
"
%makeimg
_new_cmd_1M
%
@rem Create command parameters to new fls
set
makeimg_new_cmd_2M
=
"
%out_path%
\
%bin_name%%
file_pos_2M
%
.FLS"
"
%layout
_2M_file
%
"
"
%out_path%
\
%bin_name%
_layout
%file
_pos_2M
%
.FLS"
@rem Execute generation fls cmd
"
%makeimg_new_fls%
"
%makeimg
_new_cmd_2M
%
@rem Delete temporary files
if
exist
"
%out_path%
\
%bin_name%
_1M.FLS"
(
del
"
%out_path%
\
%bin_name%%
file_pos_1M
%
.FLS"
)
if
exist
"
%out_path%
\
%bin_name%
_2M.FLS"
(
del
"
%out_path%
\
%bin_name%%
file_pos_2M
%
.FLS"
)
:end
echo
end
@echo
off
@rem if debug_info=1, Debugging Print Information will be turned on
set
debug_info
=
0
@rem if make_fal=1, Partition tables are put into firmware
set
make_fal
=
0
@rem Setting firmware output directory
set
out_path
=
.\Bin
@rem Setting the bin file path
set
bin_file
=
.\rtthread.bin
@rem Setting winnermicro libraries path
set
wmlib_path
=
.\packages\wm_libraries
-
@rem Setting the 1M flash layout file
set
layout_1M_file
=
.
@rem Setting the 2M flash layout file
set
layout_2M_file
=
.
@rem Setting the makeimg by adding rtt flash original fls
set
makeimg_new_fls
=
.
if
"
%wmlib
_path:~0,1
%
"
==
"."
(
set
wmlib_path
=
%~dp0
%wmlib_path%
)
@rem find winnermicro libraries full path
for
/f
"delims="
%%i
in
(
'dir /ad /b /s
%wmlib_path%
*'
)
do
(
set
wmlib_path_full
=
%%i
)
@rem Setting the version.txt file path
set
version_file
=
%wmlib_path_full%
\Tools\version.txt
@rem Setting the secboot.img file path
set
secboot_file
=
%wmlib_path_full%
\Tools\secboot.img
@rem Setting the wm_gzip.exe file path
set
wm_gzip_file
=
%wmlib_path_full%
\Tools\wm_gzip.exe
@rem Setting the makeimg.exe file path
set
makeimg_file
=
%wmlib_path_full%
\Tools\makeimg.exe
@rem Setting the makeimg_all.exe file path
set
makeimg_all_file
=
%wmlib_path_full%
\Tools\makeimg_all.exe
@rem Prepare to generate firmware
@rem Get the full path
if
"
%out
_path:~0,1
%
"
==
"."
(
set
out_path
=
%~dp0
%out_path%
)
if
"
%bin
_file:~0,1
%
"
==
"."
(
set
bin_file
=
%~dp0
%bin_file%
)
@rem Create output folder
if
not
exist
"
%out_path%
"
(
md
"
%out_path%
"
)
@rem Copy the required files
if
exist
"
%bin_file%
"
(
copy
"
%bin_file%
"
"
%out_path%
"
)
else
(
echo
makeimg
err
!
No
bin
file
found
:
%bin_file%
&
goto
end
)
if
exist
"
%version_file%
"
(
copy
"
%version_file%
"
"
%out_path%
"
)
else
(
echo
makeimg
err
!
No
version
file
found
:
%version_file%
&
goto
end
)
if
exist
"
%secboot_file%
"
(
copy
"
%secboot_file%
"
"
%out_path%
"
)
else
(
echo
makeimg
err
!
No
secboot
file
found
:
%secboot_file%
&
goto
end
)
@rem Check the existence of firmware generation tools
if
not
exist
"
%wm_gzip_file%
"
(
echo
makeimg
err
!
No
wm_gzip
file
found
:
"
%wm_gzip_file%
"
&
goto
end
)
if
not
exist
"
%makeimg_file%
"
(
echo
makeimg
err
!
No
makeimg
file
found
:
"
%makeimg_file%
"
&
goto
end
)
if
not
exist
"
%makeimg_all_file%
"
(
echo
makeimg
err
!
No
makeimg_all
file
found
:
"
%makeimg_all_file%
"
&
goto
end
)
@rem Get File Names and File Extensions
for
/f
"delims="
%%A
in
(
'dir /b
%bin_file%
'
)
do
set
"bin_file_name=
%%A
"
for
/f
"delims=."
%%A
in
(
'dir /b
%bin_file%
'
)
do
set
bin_name
=
%%A
for
/f
"delims=
%bin_name%
"
%%A
in
(
'dir /b
%bin_file%
'
)
do
set
bin_extend
=
%%A
for
/f
"delims="
%%A
in
(
'dir /b
%version_file%
'
)
do
set
"version_file_name=
%%A
"
for
/f
"delims="
%%A
in
(
'dir /b
%secboot_file%
'
)
do
set
"secboot_file_name=
%%A
"
@rem Print Debug Information
if
not
"
%debug_info%
"
==
"0"
(
echo
bin_file_name
:
%bin_file_name%
&
echo
bin_name
:
%bin_name%
&
echo
bin_extend
:
%bin_extend%
&
echo
version_file_name
:
%version_file_name%
&
echo
secboot_file_name
:
%secboot_file_name%
)
echo
makeimg
1
M
Flash
...
@rem Start making 1M flash firmware
set
file_pos_1M
=
_1M
@rem Create command parameters
set
wm_gzip_cmd
=
"
%out_path%
\
%bin_file_name%
"
set
makeimg_img_cmd
=
"
%out_path%
\
%bin_file_name%
"
"
%out_path%
\
%bin_name%%
file_pos_1M
%
.img"
0
0
"
%out_path%
\
%version_file_name%
"
90000
10100
set
makeimg_gz_img_cmd
=
"
%out_path%
\
%bin_file_name%
.gz"
"
%out_path%
\
%bin_name%
_GZ
%file
_pos_1M
%
.img"
0
1
"
%out_path%
\
%version_file_name%
"
90000
10100
"
%out_path%
\
%bin_file_name%
"
set
makeimg_sec_img_cmd
=
"
%out_path%
\
%bin_file_name%
"
"
%out_path%
\
%bin_name%
_SEC
%file
_pos_1M
%
.img"
0
0
"
%out_path%
\
%version_file_name%
"
90000
10100
set
makeimg_all_cmd
=
"
%out_path%
\
%secboot_file_name%
"
"
%out_path%
\
%bin_name%%
file_pos_1M
%
.img"
"
%out_path%
\
%bin_name%%
file_pos_1M
%
.FLS"
@rem Print command Information
if
not
"
%debug_info%
"
==
"0"
(
echo
wm_gzip
%wm_gzip_cmd%
)
if
not
"
%debug_info%
"
==
"0"
(
echo
makeimg
%makeimg_img_cmd%
)
if
not
"
%debug_info%
"
==
"0"
(
echo
makeimg
%makeimg_gz_img_cmd%
)
if
not
"
%debug_info%
"
==
"0"
(
echo
makeimg
%makeimg_sec_img_cmd%
)
if
not
"
%debug_info%
"
==
"0"
(
echo
makeimg_all
%makeimg_all_cmd%
)
@rem Execute firmware generation commands
"
%wm_gzip_file%
"
%wm_gzip_cmd%
"
%makeimg_file%
"
%makeimg_img_cmd%
"
%makeimg_file%
"
%makeimg_gz_img_cmd%
"
%makeimg_file%
"
%makeimg_sec_img_cmd%
"
%makeimg_all_file%
"
%makeimg_all_cmd%
@rem Delete temporary files
if
exist
"
%out_path%
\
%bin_name%%
file_pos_1M
%
.img"
(
del
"
%out_path%
\
%bin_name%%
file_pos_1M
%
.img"
)
if
exist
"
%out_path%
\
%bin_file_name%
.gz"
(
del
"
%out_path%
\
%bin_file_name%
.gz"
)
@rem Start making 2M flash firmware
echo
makeimg
2
M
Flash
...
set
file_pos_2M
=
_2M
@rem Create command parameters
set
wm_gzip_cmd
=
"
%out_path%
\
%bin_file_name%
"
set
makeimg_img_cmd
=
"
%out_path%
\
%bin_file_name%
"
"
%out_path%
\
%bin_name%%
file_pos_2M
%
.img"
3
0
"
%out_path%
\
%version_file_name%
"
100000
10100
set
makeimg_gz_img_cmd
=
"
%out_path%
\
%bin_file_name%
.gz"
"
%out_path%
\
%bin_name%
_GZ
%file
_pos_2M
%
.img"
3
1
"
%out_path%
\
%version_file_name%
"
100000
10100
"
%out_path%
\
%bin_file_name%
"
set
makeimg_sec_img_cmd
=
"
%out_path%
\
%bin_file_name%
"
"
%out_path%
\
%bin_name%
_SEC
%file
_pos_2M
%
.img"
3
0
"
%out_path%
\
%version_file_name%
"
100000
10100
set
makeimg_all_cmd
=
"
%out_path%
\
%secboot_file_name%
"
"
%out_path%
\
%bin_name%%
file_pos_2M
%
.img"
"
%out_path%
\
%bin_name%%
file_pos_2M
%
.FLS"
@rem Print command Information
if
not
"
%debug_info%
"
==
"0"
(
echo
wm_gzip
%wm_gzip_cmd%
)
if
not
"
%debug_info%
"
==
"0"
(
echo
makeimg
%makeimg_img_cmd%
)
if
not
"
%debug_info%
"
==
"0"
(
echo
makeimg
%makeimg_gz_img_cmd%
)
if
not
"
%debug_info%
"
==
"0"
(
echo
makeimg
%makeimg_sec_img_cmd%
)
if
not
"
%debug_info%
"
==
"0"
(
echo
makeimg_all
%makeimg_all_cmd%
)
@rem Execute firmware generation commands
"
%wm_gzip_file%
"
%wm_gzip_cmd%
"
%makeimg_file%
"
%makeimg_img_cmd%
"
%makeimg_file%
"
%makeimg_gz_img_cmd%
"
%makeimg_file%
"
%makeimg_sec_img_cmd%
"
%makeimg_all_file%
"
%makeimg_all_cmd%
@rem Delete temporary files
if
exist
"
%out_path%
\
%bin_name%%
file_pos_2M
%
.img"
(
del
"
%out_path%
\
%bin_name%%
file_pos_2M
%
.img"
)
if
exist
"
%out_path%
\
%bin_file_name%
.gz"
(
del
"
%out_path%
\
%bin_file_name%
.gz"
)
@rem Partition tables are put into firmware
if
not
"
%make_fal%
"
==
"1"
(
goto
end
)
@rem Get the full path
if
"
%layout
_1M_file:~0,1
%
"
==
"."
(
set
layout_1M_file
=
%~dp0%layout
_1M_file
%
)
if
"
%layout
_2M_file:~0,1
%
"
==
"."
(
set
layout_2M_file
=
%~dp0%layout
_2M_file
%
)
if
"
%makeimg
_new_fls:~0,1
%
"
==
"."
(
set
makeimg_new_fls
=
%~dp0
%makeimg_new_fls%
)
@rem Check whether the file exists
if
not
exist
"
%layout
_1M_file
%
"
(
echo
makeimg
err
!
No
makeimg
file
found
:
"
%layout
_1M_file
%
"
&
goto
end
)
if
not
exist
"
%layout
_2M_file
%
"
(
echo
makeimg
err
!
No
makeimg
file
found
:
"
%layout
_2M_file
%
"
&
goto
end
)
if
not
exist
"
%makeimg_new_fls%
"
(
echo
makeimg
err
!
No
makeimg
file
found
:
"
%makeimg_new_fls%
"
&
goto
end
)
@rem Create command parameters to new fls
set
makeimg_new_cmd_1M
=
"
%out_path%
\
%bin_name%%
file_pos_1M
%
.FLS"
"
%layout
_1M_file
%
"
"
%out_path%
\
%bin_name%
_layout
%file
_pos_1M
%
.FLS"
@rem Execute generation fls cmd
"
%makeimg_new_fls%
"
%makeimg
_new_cmd_1M
%
@rem Create command parameters to new fls
set
makeimg_new_cmd_2M
=
"
%out_path%
\
%bin_name%%
file_pos_2M
%
.FLS"
"
%layout
_2M_file
%
"
"
%out_path%
\
%bin_name%
_layout
%file
_pos_2M
%
.FLS"
@rem Execute generation fls cmd
"
%makeimg_new_fls%
"
%makeimg
_new_cmd_2M
%
@rem Delete temporary files
if
exist
"
%out_path%
\
%bin_name%
_1M.FLS"
(
del
"
%out_path%
\
%bin_name%%
file_pos_1M
%
.FLS"
)
if
exist
"
%out_path%
\
%bin_name%
_2M.FLS"
(
del
"
%out_path%
\
%bin_name%%
file_pos_2M
%
.FLS"
)
:end
echo
end
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录