Porting code from mimxrt1050_evk to this board to enable use of the SD card. Note that this board does not have the power pin connected to the SD card and must use the no-1-8-v option for the USDHC driver as in PR #34205 for the mm_swiftio. Tested with samples/subsys/fs/fat_fs. Signed-off-by: Jake Mercer <jake.mercer@civica.co.uk>
25 lines
384 B
Text
25 lines
384 B
Text
# MIMXRT1020-EVK board
|
|
|
|
# Copyright (c) 2018, NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_MIMXRT1020_EVK
|
|
|
|
config BOARD
|
|
default "mimxrt1020_evk" if BOARD_MIMXRT1020_EVK
|
|
|
|
choice CODE_LOCATION
|
|
default CODE_FLEXSPI
|
|
endchoice
|
|
|
|
config DISK_DRIVER_SDMMC
|
|
default y if DISK_DRIVERS
|
|
|
|
if NETWORKING
|
|
|
|
config NET_L2_ETHERNET
|
|
default y
|
|
|
|
endif # NETWORKING
|
|
|
|
endif # BOARD_MIMXRT1020_EVK
|