Pycom LoPy: automatically switch module in bootloader mode by uploader


Pycom say in their specification of expansion board 3.0:

This allows our firmware update tool to automatically put the module into bootloader mode.

So it should be possible to implement this also in the ESP32 uploader used by platformio. Would be a handy feature, because it saves setting the Pycom to upload mode manually each time when uploading code with PlatformIO.