Closed MRIIOT closed 3 months ago
The micropython.bin
file in the build directories are what espressif calls an "app image" file. They include only the micropython firmware and do not include the bootloader or partition table.
The firmware.bin
files combine the bootloader, partition table and micropython.bin
file into a full firnware foir writing to a new device.
Try ./mp-image-tool-esp32 ../micropython/ports/esp32/build/firmware.bin
instead.
Makes sense. Interesting, my build does not produce a firmware.bin
.
idf.py -D MICROPY_BOARD=$BOARD_NAME -D MICROPY_BOARD_VARIANT=$VARIANT_NAME -B $BUILD_FOLDER_NAME build
Ok, I used make
instead of idf.py
, which did produce a firmware.bin
but same No partition table found
error.
Ooh. That's odd. You should use the make command rather than idf.py to build micropython. You may need to rebuild from scratch (eg. "make clean"). See the instructions in ports/esp32/README.md.
I did, but let me try flashing the built firmware.bin to make sure it actually works.
I am closing this issue as I have been unable to replicate and there is nho new information on the bug.
If you are still getting "No partition table found." errors, please re-open and provide additional information.
I am trying to inspect my image, but am receiving a
PartitionError
.My typical build artifacts include:
Partition table is: