Compare commits

...

3 Commits

Author SHA1 Message Date
UberGuidoZ
ecb53aa71d Fixed directory issue in batch file 2024-01-20 20:49:07 -08:00
UberGuidoZ
442eb1f61d
Merge pull request #554 from johnmrushing/johnmrushing-patch
Update Flash-v2.6.bat Directory Fix
2024-01-20 20:48:01 -08:00
johnmrushing
7fa0c10758
Update Flash-v2.6.bat Directory Fix
SD-mod and Marauder have flipped directories
2024-01-19 14:04:02 -05:00
2 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ IF [!last_firmware!]==[] echo Please get and copy the last firmware from ESP32Ma
esptool.exe -p !_com! -b %BR% -c esp32s2 --before default_reset -a no_reset erase_region 0x9000 0x6000 esptool.exe -p !_com! -b %BR% -c esp32s2 --before default_reset -a no_reset erase_region 0x9000 0x6000
echo Firmware Erased, preparing write... echo Firmware Erased, preparing write...
ping 127.0.0.1 -n 5 > NUL ping 127.0.0.1 -n 5 > NUL
esptool.exe -p !_com! -b %BR% -c esp32s2 --before default_reset -a no_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 SD\bootloader.bin 0x8000 SD\partitions.bin 0x10000 SD\!last_firmware! esptool.exe -p !_com! -b %BR% -c esp32s2 --before default_reset -a no_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 Marauder\bootloader.bin 0x8000 Marauder\partitions.bin 0x10000 Marauder\!last_firmware!
GOTO DONE GOTO DONE
:MARAUDERSD :MARAUDERSD
@ -88,7 +88,7 @@ IF [!last_firmware!]==[] echo Please get and copy the last firmware from ESP32Ma
esptool.exe -p !_com! -b %BR% -c esp32s2 --before default_reset -a no_reset erase_region 0x9000 0x6000 esptool.exe -p !_com! -b %BR% -c esp32s2 --before default_reset -a no_reset erase_region 0x9000 0x6000
echo Firmware Erased, preparing write... echo Firmware Erased, preparing write...
ping 127.0.0.1 -n 5 > NUL ping 127.0.0.1 -n 5 > NUL
esptool.exe -p !_com! -b %BR% -c esp32s2 --before default_reset -a no_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 Marauder\bootloader.bin 0x8000 Marauder\partitions.bin 0x10000 Marauder\!last_firmware! esptool.exe -p !_com! -b %BR% -c esp32s2 --before default_reset -a no_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 SD\bootloader.bin 0x8000 SD\partitions.bin 0x10000 SD\!last_firmware!
GOTO DONE GOTO DONE
:BACKUP :BACKUP
@ -253,4 +253,4 @@ GOTO ERREXIT
echo. echo.
echo (You may now close this window or press any key to exit.) echo (You may now close this window or press any key to exit.)
pause>nul pause>nul
exit exit