Gunar Schorcht
09e94b3e15
sys/usb/usbus/dfu: check min sector size for STM32 F2/F4/F7
...
STM32F2/4/7 MCUs use sectors instead of pages, where the minimum sector size is defined by FLASHPAGE_MIN_SECTOR_SIZE, which is 16KB or 32KB (the first sector) depending on the CPU_MODEL. In this case SLOT0_OFFSET must be a multiple of the minimum sector size to cover a whole sector.
2022-11-30 19:28:14 +01:00
Marian Buschsieweke
d571f150ec
sys/usb/usbus/dfu: use container_of()
2021-12-03 10:12:39 +01:00
Leandro Lanzieri
398df91a99
sys/usb/usbus: model cdc acm stdio in Kconfig
2021-11-26 11:06:47 +01:00
Dylan Laduranty
64a82c9a78
usbus/dfu: fix underflow condition while updating firmware
...
Reports dfuERROR if underflow is detected or if flash write failed
Implement DFU control CLRSTATUS while at it to clear dfuERROR by the host
2021-11-03 17:06:27 +01:00
5dfc4725c8
usbus_dfu: Use ztimer for reboot timeout
2021-10-26 14:14:46 +02:00
Benjamin Valentin
cabe639d04
sys/riotboot: move magic address to common file
2021-07-20 22:51:15 +02:00
dylad
25d0dffa61
Kconfig: add Kconfig support for DFU
2021-01-12 11:34:22 +01:00
dylad
669a8ec7b3
usbus/dfu: introduce initial Device Firmware Upgrade support for USBUS
2021-01-12 11:34:22 +01:00