sdk编译脚本修改
authorp15692025051 <846603105@qq.com>
Mon, 22 May 2023 10:19:05 +0000 (18:19 +0800)
committerp15692025051 <846603105@qq.com>
Mon, 22 May 2023 10:19:05 +0000 (18:19 +0800)
2.sdk/firmware_base_release_pack.zip.tmp [deleted file]
2.sdk/images/customer_fs.bin [deleted file]
2.sdk/images/ext_font.bin [deleted file]
2.sdk/images/ext_fs.bin [deleted file]
2.sdk/new.bat
2.sdk/project/K5/new.bat [new file with mode: 0644]
2.sdk/project/K5/sdk/system/platform/ASR_1606/boards/EG810MCN_GA_ALIPAY/include/app_link_start_addr.h

diff --git a/2.sdk/firmware_base_release_pack.zip.tmp b/2.sdk/firmware_base_release_pack.zip.tmp
deleted file mode 100644 (file)
index e654a13..0000000
Binary files a/2.sdk/firmware_base_release_pack.zip.tmp and /dev/null differ
diff --git a/2.sdk/images/customer_fs.bin b/2.sdk/images/customer_fs.bin
deleted file mode 100644 (file)
index 1a1456b..0000000
Binary files a/2.sdk/images/customer_fs.bin and /dev/null differ
diff --git a/2.sdk/images/ext_font.bin b/2.sdk/images/ext_font.bin
deleted file mode 100644 (file)
index da6ccf1..0000000
Binary files a/2.sdk/images/ext_font.bin and /dev/null differ
diff --git a/2.sdk/images/ext_fs.bin b/2.sdk/images/ext_fs.bin
deleted file mode 100644 (file)
index 1cc8553..0000000
Binary files a/2.sdk/images/ext_fs.bin and /dev/null differ
index 321a7db..4d1ffe3 100644 (file)
@@ -1,34 +1,3 @@
 @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 323584 -i images\customer_fs.bin
-if errorlevel 0 (
-    echo "customer_fs.binÉú³É³É¹¦ !!!!!!!!!!!!!!! "
-)
-if errorlevel 1 (
-    echo "customer_fs.binÉú³Éʧ°Ü Çë¼ì²éusrĿ¼ÊÇ·ñ´óÓÚ316K!!!!!!!!!!!!!!!"
-    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 0 (
-    echo imagesѹËõ³É¹¦!!!!!!!!!!!!!!
-)
-if errorlevel 1 (
-    echo imagesѹËõʧ°Ü!!!!!!!!!!!!!!!!!!
-    goto exit
-)
-xcopy project\K5\sdk\ Helios_SDK\ /e/h/y
-cd Helios_SDK
-helios make services/microPython @EG810MCN_GA_ALIPAY EG810MCN_GA_ALIPAY
-cd ..
-:exit
\ No newline at end of file
+cd project\%1\
+new.bat %1
diff --git a/2.sdk/project/K5/new.bat b/2.sdk/project/K5/new.bat
new file mode 100644 (file)
index 0000000..6f8fe8a
--- /dev/null
@@ -0,0 +1,37 @@
+@echo off
+
+md images
+del images /q
+..\..\Helios_SDK\tools\ASR_1606\win32\mklfs.exe -c ext -b 4096 -r 4096 -p 4096 -s 2097152 -i .\images\ext_fs.bin
+if errorlevel 1 (
+    echo "ext_fs.binÉú³Éʧ°Ü !!!!!!!!!!!!!!! "
+    goto exit
+)
+if errorlevel 0 (
+    echo "ext_fs.binÉú³É³É¹¦ !!!!!!!!!!!!!!! "
+)
+
+..\..\Helios_SDK\tools\ASR_1606\win32\mklfs.exe -c usr -b 4096 -r 4096 -p 4096 -s 245760 -i .\images\customer_fs.bin
+if errorlevel 1 (
+    echo "customer_fs.binÉú³Éʧ°Ü Çë¼ì²éusrĿ¼ÊÇ·ñ´óÓÚ316K!!!!!!!!!!!!!!!"
+    goto exit
+)
+if errorlevel 0 (
+    echo "customer_fs.binÉú³É³É¹¦ !!!!!!!!!!!!!!! "
+)
+
+copy font\ext_font.bin images\ext_font.bin
+
+..\..\Helios_SDK\tools\common\win32\7z\7z a sdk\system\platform\ASR_1606\boards\EG810MCN_GA_ALIPAY\images\firmware_base_release_pack.zip .\images\
+if errorlevel 0 (
+    echo imagesѹËõ³É¹¦!!!!!!!!!!!!!!
+)
+if errorlevel 1 (
+    echo imagesѹËõʧ°Ü!!!!!!!!!!!!!!!!!!
+    goto exit
+)
+xcopy  sdk\ ..\..\Helios_SDK\ /e/h/y
+cd ..\..\Helios_SDK
+helios make services/microPython @EG810MCN_GA_ALIPAY EG810MCN_GA_ALIPAY
+cd ..
+:exit
\ No newline at end of file
index 4047c93..5423a18 100644 (file)
@@ -3,7 +3,7 @@
 #define __APP_LINK_START_ADDR_H__
 
 #define APP_LINK_START_ADDR  0x805DB000
-#define APP_FLASH_MAX_SIZE 0x167000
+#define APP_FLASH_MAX_SIZE 0x17A000
 
 #define APP_RAM_START 0x7E3E0000
 #define APP_RAM_MAX_SIZE 0x180000