Python script for reading info relating to partitions of connected ESP32 devices. A quick AI written util for an operation I needed to do but seemed oddly annoying.
Copy this script into your ESP IDF VS Code environment, then run this script in the terminal that idf.py can run in.
Will print out partition types, offsets, sizes and which of any OTA partitions is in use.
Reads the device port from the VS Code settings. You need to ensure the device is not in use with another process when running the script.