Found 3 other functions taking a
esp_partition_iterator_opaque_
argument:
Release partition iterator
Get esp_partition_t structure for given partition
Move partition iterator to the next partition found Any copies of the iterator will be invalid after this call.