Skip to content

Commit

Permalink
pack binary
Browse files Browse the repository at this point in the history
update burn script
  • Loading branch information
cavonlee committed Dec 21, 2023
1 parent 223af45 commit f245d19
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 10 deletions.
Binary file not shown.
Binary file not shown.
Binary file added burn esp32-cam bat/ai-camera-firmware-v1.4.0.bin
Binary file not shown.
Binary file removed burn esp32-cam bat/ai-camera-firmware_v1.3.0.bin
Binary file not shown.
Binary file not shown.
10 changes: 4 additions & 6 deletions burn esp32-cam bat/install_ESP32.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

set baud=921600
set boot_app0="boot_app0.bin"
set bootloader="ai-camera-firmware_v1.3.0_bootloader.bin"
set partitions="ai-camera-firmware_v1.3.0_partitions.bin"
set app="ai-camera-firmware_v1.3.0.bin"

set app="ai-camera-firmware_v1.3.0.bin"
set merge_app="ai-camera-firmware_v1.3.0_merged.bin"
set bootloader="ai-camera-firmware-v1.4.0-bootloader.bin"
set partitions="ai-camera-firmware-v1.4.0-partitions.bin"
set app="ai-camera-firmware-v1.4.0.bin"
set merge_app="ai-camera-firmware-v1.4.0-merged.bin"

@REM esptool.exe --chip esp32 --before no_reset_no_sync erase_flash
@REM esptool.exe --chip esp32 --before no_reset_no_sync write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 %bootloader% 0x8000 %partitions% 0xe000 %boot_app0% 0x10000 %firmware%
Expand Down
8 changes: 4 additions & 4 deletions burn esp32-cam bat/merge_bin.bat
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@REM esptool.exe -help

set boot_app0="boot_app0.bin"
set bootloader="ai-camera-firmware_v1.3.0_bootloader.bin"
set partitions="ai-camera-firmware_v1.3.0_partitions.bin"
set app="ai-camera-firmware_v1.3.0.bin"
set bootloader="ai-camera-firmware-v1.4.0-bootloader.bin"
set partitions="ai-camera-firmware-v1.4.0-partitions.bin"
set app="ai-camera-firmware-v1.4.0.bin"

set out_merged_app="ai-camera-firmware_v1.3.0_merged.bin"
set out_merged_app="ai-camera-firmware-v1.4.0-merged.bin"

esptool.exe --chip ESP32 merge_bin -o %out_merged_app% --flash_mode dio --flash_size 4MB 0x1000 %bootloader% 0x8000 %partitions% 0xe000 %boot_app0% 0x10000 %app%

Expand Down

0 comments on commit f245d19

Please sign in to comment.