- new Bootloader for ESP-IDF 4.2

- save partition table to device
- modify partition table for async OTA
This commit is contained in:
Thomas Göttgens
2022-09-26 22:42:58 +02:00
parent ae311c838e
commit 7e9a233296
4 changed files with 9 additions and 6 deletions

View File

@@ -48,7 +48,8 @@ if [ -f "${FILENAME}" ]; then
echo "Trying to flash ${FILENAME}, but first erasing and writing system information"
"$PYTHON" -m esptool erase_flash
"$PYTHON" -m esptool write_flash 0x1000 system-info.bin
"$PYTHON" -m esptool write_flash 0x2B0000 littlefs-*.bin
"$PYTHON" -m esptool write_flash 0x8000 partitions.bin
"$PYTHON" -m esptool write_flash 0x300000 littlefs-*.bin
"$PYTHON" -m esptool write_flash 0x10000 ${FILENAME}
else
echo "Invalid file: ${FILENAME}"