QUERY · ISSUE
ESP32: feature request Partition
enhancementport-esp32
related to: #8380
it would be nice if Partition.get_next_update() would also accept the block_size argument.
This way you won't be locked in to a certain block_size after initial deployment when doing OTA updates.
CANDIDATE · ISSUE
ESP32 esp32.Partition does not accept keywords
port-esp32
Hi,
it is documented that the ESP32 takes a keyword argument block_size: here
In practice I get:
MicroPython v1.18-82-g20df071e3-dirty on 2022-03-03; CUSTOM with ESP32
import esp32
esp32.Partition(esp32.Partition.RUNNING, block_size=512)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: function doesn't take keyword arguments
I need this functionality because the default 4096 is way too big for our application. Is there anything I can do to get this to work?