增加new_clean编译
authorp15692025051 <846603105@qq.com>
Mon, 15 May 2023 08:42:13 +0000 (16:42 +0800)
committerp15692025051 <846603105@qq.com>
Mon, 15 May 2023 08:42:13 +0000 (16:42 +0800)
2.sdk/new_clean.bat [new file with mode: 0644]

diff --git a/2.sdk/new_clean.bat b/2.sdk/new_clean.bat
new file mode 100644 (file)
index 0000000..e6b2a47
--- /dev/null
@@ -0,0 +1,34 @@
+@echo off
+
+del images /q
+Helios_SDK\tools\ASR_1606\win32\mklfs.exe -c project\%1%\ext -b 4096 -r 4096 -p 4096 -s 2097152 -i images\ext_fs.bin
+if errorlevel 0 (
+    echo "ext_fs.binÉú³É³É¹¦ !!!!!!!!!!!!!!! "
+)
+if errorlevel 1 (
+    echo "ext_fs.binÉú³Éʧ°Ü !!!!!!!!!!!!!!! "
+    goto exit
+)
+Helios_SDK\tools\ASR_1606\win32\mklfs.exe -c project\%1%\usr -b 4096 -r 4096 -p 4096 -s 184320 -i images\customer_fs.bin
+if errorlevel 0 (
+    echo "customer_fs.binÉú³É³É¹¦ !!!!!!!!!!!!!!! "
+)
+if errorlevel 1 (
+    echo "customer_fs.binÉú³Éʧ°Ü Çë¼ì²éusrĿ¼ÊÇ·ñ´óÓÚ180K!!!!!!!!!!!!!!!"
+    goto exit
+)
+
+copy project\%1%\font\ext_font.bin images\ext_font.bin
+
+Helios_SDK\tools\common\win32\7z\7z a project\%1%\sdk\system\platform\ASR_1606\boards\EG810MCN_GA_ALIPAY\images\firmware_base_release_pack.zip images\
+if errorlevel 1 (
+    echo imagesѹËõʧ°Ü!!!!!!!!!!!!!!!!!!
+    goto exit
+)
+xcopy project\K5\sdk\ Helios_SDK\ /e/h/y
+cd Helios_SDK
+helios clean
+
+helios make services/microPython @EG810MCN_GA_ALIPAY EG810MCN_GA_ALIPAY
+cd ..
+:exit
\ No newline at end of file