FF_USE_TRIM is set by default with this commit. Fatfs invokes disk_ioctl with CTRL_TRIM to erase the sectors calling sdmmc_erase_sectors to choose the right argument for the erase operation based on media type.
FF_USE_TRIM is set by default with this commit. Fatfs invokes disk_ioctl with CTRL_TRIM to erase the sectors calling sdmmc_erase_sectors to choose the right argument for the erase operation based on media type.