diff --git a/release/v10/0&_three_lead_ecg.hxs b/release/v10/0&_three_lead_ecg.hxs new file mode 100644 index 0000000..77f0a81 Binary files /dev/null and b/release/v10/0&_three_lead_ecg.hxs differ diff --git a/release/v10/three_lead_ecg.zip b/release/v10/three_lead_ecg.zip index 69a72b5..3be05c2 100644 Binary files a/release/v10/three_lead_ecg.zip and b/release/v10/three_lead_ecg.zip differ diff --git a/scripter/build_app.bat b/scripter/build_app.bat index 45bf898..a5bf10e 100644 --- a/scripter/build_app.bat +++ b/scripter/build_app.bat @@ -3,6 +3,8 @@ @REM 编译app call scripter\keil_build.bat app\app.uvprojx app\_build\app.hex +del output\* + @REM 检查是否编译成功 if not exist app\_build\app.hex ( echo 编译app失败 @@ -43,9 +45,6 @@ if %errorlevel% neq 0 ( exit /b 1 ) -copy /y output\app.zip output\three_lead_ecg.zip -copy /y output\app_whole.hex output\three_lead_ecg.hex - @REM 打包整体镜像 mergehex --merge res/bootloader.hex output/settings.hex --output output/bl_temp.hex @@ -54,6 +53,9 @@ del output\bl_temp.hex del output\settings.hex del output\app.hex +copy /y output\app.zip output\three_lead_ecg.zip +copy /y output\app_whole.hex output\three_lead_ecg.hex + echo "Start flashing..." call scripter\unlock.bat