From: p15692025051 <846603105@qq.com> Date: Mon, 22 May 2023 10:19:05 +0000 (+0800) Subject: sdk编译脚本修改 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=ce82702fd98fff6452df1363269f18bb62e5e069;p=mirrors%2FASR1603_G5.git sdk编译脚本修改 --- diff --git a/2.sdk/firmware_base_release_pack.zip.tmp b/2.sdk/firmware_base_release_pack.zip.tmp deleted file mode 100644 index e654a136..00000000 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 index 1a1456b2..00000000 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 index da6ccf14..00000000 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 index 1cc85533..00000000 Binary files a/2.sdk/images/ext_fs.bin and /dev/null differ diff --git a/2.sdk/new.bat b/2.sdk/new.bat index 321a7dbb..4d1ffe36 100644 --- a/2.sdk/new.bat +++ b/2.sdk/new.bat @@ -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 index 00000000..6f8fe8a5 --- /dev/null +++ b/2.sdk/project/K5/new.bat @@ -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 diff --git a/2.sdk/project/K5/sdk/system/platform/ASR_1606/boards/EG810MCN_GA_ALIPAY/include/app_link_start_addr.h b/2.sdk/project/K5/sdk/system/platform/ASR_1606/boards/EG810MCN_GA_ALIPAY/include/app_link_start_addr.h index 4047c93c..5423a184 100644 --- a/2.sdk/project/K5/sdk/system/platform/ASR_1606/boards/EG810MCN_GA_ALIPAY/include/app_link_start_addr.h +++ b/2.sdk/project/K5/sdk/system/platform/ASR_1606/boards/EG810MCN_GA_ALIPAY/include/app_link_start_addr.h @@ -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