2019-11-01 20:45:29 +08:00
|
|
|
# TWR-KE18F board
|
|
|
|
|
2019-05-08 02:24:03 +08:00
|
|
|
# Copyright (c) 2019 Vestas Wind Systems A/S
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if BOARD_TWR_KE18F
|
|
|
|
|
|
|
|
config BOARD
|
|
|
|
default "twr_ke18f"
|
|
|
|
|
|
|
|
if UART_MCUX_LPUART
|
|
|
|
|
|
|
|
config UART_MCUX_LPUART_0
|
|
|
|
default y if UART_CONSOLE
|
|
|
|
|
|
|
|
endif # UART_MCUX_LPUART
|
|
|
|
|
2019-05-14 23:06:13 +08:00
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_0
|
|
|
|
default y
|
|
|
|
|
|
|
|
config I2C_1
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
2019-05-16 17:51:26 +08:00
|
|
|
if SPI_MCUX_LPSPI
|
|
|
|
|
|
|
|
config SPI_0
|
|
|
|
default y
|
|
|
|
|
|
|
|
config SPI_1
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # SPI_MCUX_LPSPI
|
|
|
|
|
2019-06-07 02:45:12 +08:00
|
|
|
if CAN
|
|
|
|
|
|
|
|
config CAN_0
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # CAN
|
|
|
|
|
2019-05-08 02:24:03 +08:00
|
|
|
if PINMUX_MCUX
|
|
|
|
|
|
|
|
config PINMUX_MCUX_PORTA
|
|
|
|
default y
|
|
|
|
|
|
|
|
config PINMUX_MCUX_PORTB
|
|
|
|
default y
|
|
|
|
|
|
|
|
config PINMUX_MCUX_PORTC
|
|
|
|
default y
|
|
|
|
|
|
|
|
config PINMUX_MCUX_PORTD
|
|
|
|
default y
|
|
|
|
|
|
|
|
config PINMUX_MCUX_PORTE
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # PINMUX_MCUX
|
|
|
|
|
|
|
|
if GPIO_MCUX
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTA
|
|
|
|
default y
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTB
|
|
|
|
default y
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTC
|
|
|
|
default y
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTD
|
|
|
|
default y
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTE
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # GPIO_MCUX
|
|
|
|
|
2019-05-16 14:21:25 +08:00
|
|
|
if ADC
|
|
|
|
|
|
|
|
config ADC_0
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # ADC
|
|
|
|
|
2020-01-13 06:21:06 +08:00
|
|
|
if SENSOR
|
|
|
|
|
|
|
|
config TEMP_KINETIS
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # SENSOR
|
|
|
|
|
2019-05-19 22:06:06 +08:00
|
|
|
if PWM
|
|
|
|
|
|
|
|
config PWM_0
|
|
|
|
default y
|
|
|
|
|
|
|
|
config PWM_3
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # PWM
|
|
|
|
|
2019-05-08 02:24:03 +08:00
|
|
|
endif # BOARD_TWR_KE18F
|