zhaohe 1 year ago
parent
commit
cf99aafb72
  1. BIN
      release/v10/0&_three_lead_ecg.hxs
  2. BIN
      release/v10/three_lead_ecg.zip
  3. 8
      scripter/build_app.bat

BIN
release/v10/0&_three_lead_ecg.hxs

BIN
release/v10/three_lead_ecg.zip

8
scripter/build_app.bat

@ -3,6 +3,8 @@
@REM 编译app @REM 编译app
call scripter\keil_build.bat app\app.uvprojx app\_build\app.hex call scripter\keil_build.bat app\app.uvprojx app\_build\app.hex
del output\*
@REM 检查是否编译成功 @REM 检查是否编译成功
if not exist app\_build\app.hex ( if not exist app\_build\app.hex (
echo 编译app失败 echo 编译app失败
@ -43,9 +45,6 @@ if %errorlevel% neq 0 (
exit /b 1 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 打包整体镜像 @REM 打包整体镜像
mergehex --merge res/bootloader.hex output/settings.hex --output output/bl_temp.hex 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\settings.hex
del output\app.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..." echo "Start flashing..."
call scripter\unlock.bat call scripter\unlock.bat

Loading…
Cancel
Save