Skip to content

Commit 6c788e1

Browse files
committed
fatfs: add support for mmc disks when generating FF_VOLUME_STRS
add zephyr,mmc-disk's disk names as they were missing causing fatfs to be unusable on boards that had otherwise valid DT configuration for the mmc disks. Signed-off-by: Benjamin Cabé <[email protected]>
1 parent f797d0d commit 6c788e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/fatfs/zephyr_fatfs_config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
DT_FOREACH_STATUS_OKAY(zephyr_flash_disk, _FF_DISK_NAME) \
114114
DT_FOREACH_STATUS_OKAY(zephyr_ram_disk, _FF_DISK_NAME) \
115115
DT_FOREACH_STATUS_OKAY(zephyr_sdmmc_disk, _FF_DISK_NAME) \
116+
DT_FOREACH_STATUS_OKAY(zephyr_mmc_disk, _FF_DISK_NAME) \
116117
DT_FOREACH_STATUS_OKAY(st_stm32_sdmmc, _FF_DISK_NAME)
117118

118119
#undef FF_VOLUMES

0 commit comments

Comments
 (0)