diff --git a/boards/arm/mimxrt1050_evk/Kconfig.defconfig b/boards/arm/mimxrt1050_evk/Kconfig.defconfig index 936a9de72bf..761e52feb3d 100644 --- a/boards/arm/mimxrt1050_evk/Kconfig.defconfig +++ b/boards/arm/mimxrt1050_evk/Kconfig.defconfig @@ -18,13 +18,20 @@ choice DATA_LOCATION default DATA_SEMC endchoice +if DISK_ACCESS_USDHC + +config DISK_ACCESS_USDHC1 + default y + +endif # DISK_ACCESS_USDHC + if GPIO_MCUX_IGPIO config GPIO_MCUX_IGPIO_1 default y config GPIO_MCUX_IGPIO_2 - default n + default y if DISK_ACCESS_USDHC1 config GPIO_MCUX_IGPIO_3 default n diff --git a/samples/subsys/fs/fat_fs/prj_mimxrt1050_evk.conf b/samples/subsys/fs/fat_fs/prj_mimxrt1050_evk.conf index f440fdab715..c5f61889b3d 100644 --- a/samples/subsys/fs/fat_fs/prj_mimxrt1050_evk.conf +++ b/samples/subsys/fs/fat_fs/prj_mimxrt1050_evk.conf @@ -1,8 +1,5 @@ -CONFIG_GPIO_MCUX_IGPIO_1=y -CONFIG_GPIO_MCUX_IGPIO_2=y CONFIG_DISK_ACCESS=y CONFIG_DISK_ACCESS_SDHC=y -CONFIG_DISK_ACCESS_USDHC1=y CONFIG_LOG=y CONFIG_FILE_SYSTEM=y CONFIG_FAT_FILESYSTEM_ELM=y