blob: 3ea3bd43b59522a0d95a477c936f3cbdcdfd9882 [file] [log] [blame]
# MM-SWIFTIO board
# Copyright (c) 2019, MADMACHINE LIMITED
# SPDX-License-Identifier: Apache-2.0
if BOARD_MM_SWIFTIO
config BOARD
default "mm_swiftio"
choice CODE_LOCATION
default CODE_FLEXSPI
endchoice
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 y if DISK_ACCESS_USDHC1
config GPIO_MCUX_IGPIO_3
default n
config GPIO_MCUX_IGPIO_4
default n
config GPIO_MCUX_IGPIO_5
default y
endif # GPIO_MCUX_IGPIO
if UART_MCUX_LPUART
config UART_MCUX_LPUART_1
default y
endif # UART_MCUX_LPUART
endif # BOARD_MM_SWIFTIO