micropython/ports
Andrew Leech 8bbaa20227 stm32/mboot: Implement DFU mass erase.
The implementation internally uses sector erase to wipe everything except
the sector(s) that mboot lives in (by erasing starting from
APPLICATION_ADDR).

The erase command can take some time (eg an STM32F765 with 2MB of flash
takes 8 to 10 seconds).  This time is normally enough to make pydfu.py fail
with a timeout.  The DFU standard includes a mechanism for the DFU device
to request a longer timeout as part of the get-status response just before
starting an operation.  This timeout functionality has been implemented
here.
2020-06-30 21:22:21 +10:00
..
bare-arm
cc3200
esp32
esp8266
javascript
mimxrt
minimal
nrf
pic16bit
powerpc
qemu-arm
samd
stm32 stm32/mboot: Implement DFU mass erase. 2020-06-30 21:22:21 +10:00
teensy
unix
windows
zephyr