boards: mimxrt1050_evk: Configure default sdhc instance at board level
Configures the default instance of the sdhc driver for the mimxrt1050_evk board so applications don't have to configure it explicitly. Similarly, enables the gpio instance required by the sdhc driver. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
f8cfe453fd
commit
65d9f541a7
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue