V1.0
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,41 @@
|
||||
@echo off
|
||||
set Ota_app_bin=.\ota_app.bin
|
||||
set Download_bin=.\output_bin\ble_peripheral.bin
|
||||
set Ota_use_bin=.\output_bin\ota_data.bin
|
||||
|
||||
set Host_bin=.\output_tool\host
|
||||
set Host_addr=0x11002000
|
||||
|
||||
set App_bin=.\app.bin
|
||||
set Loading_addr=0x11013000
|
||||
REM Back area
|
||||
set Back_addr=0x20000
|
||||
|
||||
set soft_ver=0x10
|
||||
set hard_ver=0x20
|
||||
|
||||
set Is_xip_mode=1
|
||||
REM If If_add_app is set to 1, then Download_bin = Host_bin + App_bin; else Download_bin = Host_bin.
|
||||
set Is_add_app=1
|
||||
|
||||
REM Set boot2 start app,Only 1 can set 1.
|
||||
set RUN1=0
|
||||
set RUN2=1
|
||||
|
||||
.\output_tool\Double_ota\ge.exe %App_bin% ^
|
||||
%soft_ver% %hard_ver% ^
|
||||
%Back_addr% ^
|
||||
%Loading_addr% ^
|
||||
%Is_xip_mode% ^
|
||||
%Ota_use_bin%
|
||||
|
||||
.\output_tool\Double_ota\xinchip_bootloader2_tool.exe .\output_tool\Double_ota\boot2 ^
|
||||
%Host_bin% %Host_addr% %RUN1% ^
|
||||
%App_bin% %Loading_addr% %RUN2% ^
|
||||
%Download_bin% %Is_add_app%
|
||||
|
||||
copy %Download_bin% .\
|
||||
exit
|
||||
|
||||
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,45 @@
|
||||
@echo off
|
||||
set Download_bin=.\output_bin\ble_peripheral_single.bin
|
||||
set Ota_use_bin=.\output_bin\single_ota_data.bin
|
||||
|
||||
set Host_bin=.\output_tool\host
|
||||
set Host_addr=0x11002000
|
||||
|
||||
set App_bin=.\app.bin
|
||||
set App_loading_addr=0x11013000
|
||||
set App_save_addr=0x13000
|
||||
|
||||
set Ota_app_bin=.\ota_app.bin
|
||||
set ota_Loading_Save_addr=0x11010000
|
||||
|
||||
set soft_ver=0x10
|
||||
set hard_ver=0x20
|
||||
|
||||
set Is_xip_mode=1
|
||||
REM If If_add_app is set to 1, then Download_bin = Host_bin + Ota_app_bin + App_bin; else Download_bin = Host_bin + Ota_app_bin.
|
||||
set Is_add_app=1
|
||||
|
||||
REM Set boot2 start app,Only 1 can set 1.
|
||||
set RUN1=0
|
||||
set RUN2=0
|
||||
set RUN3=1
|
||||
|
||||
.\output_tool\Single_ota\ge_single.exe %App_bin% ^
|
||||
%soft_ver% %hard_ver% ^
|
||||
%App_save_addr% %App_loading_addr% ^
|
||||
%Ota_app_bin% %ota_Loading_Save_addr% ^
|
||||
%Is_xip_mode% ^
|
||||
%Ota_use_bin%
|
||||
|
||||
.\output_tool\Single_ota\xinchip_bootloader2_tool_single.exe .\output_tool\Single_ota\boot2_single_ota ^
|
||||
%Host_bin% %Host_addr% %RUN1% ^
|
||||
%Ota_app_bin% %ota_Loading_Save_addr% %RUN2% ^
|
||||
%App_bin% %App_loading_addr% %RUN3% ^
|
||||
%Download_bin% %Is_add_app%
|
||||
copy %Download_bin% .\
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user