Skip to content

Commit e36c31a

Browse files
danieldegrassedleach02
authored andcommitted
usb: dfu: Enable progressive erase for MCUX FlexSPI flash
Devices using the MCUX FlexSPI flash driver erase their flash too slowly, causing the usb stack to freeze, and USB DFU utilities to report a timeout. Enable IMG_ERASE_PROGRESSIVELY for SOCs using the MCUX FlexSPI driver to prevent this error. Fixes #45359 Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent 5ee9392 commit e36c31a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/usb/device/class/dfu/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ menuconfig USB_DFU_CLASS
66
select MPU_ALLOW_FLASH_WRITE
77
select POLL
88
depends on IMG_MANAGER
9-
select IMG_ERASE_PROGRESSIVELY if SOC_FLASH_NRF
9+
select IMG_ERASE_PROGRESSIVELY if (SOC_FLASH_NRF || FLASH_MCUX_FLEXSPI_NOR)
1010
help
1111
USB DFU class driver
1212

0 commit comments

Comments
 (0)