2017-01-18 09:55:53 +08:00
|
|
|
# Kconfig - FRDM-KW41Z board
|
|
|
|
#
|
|
|
|
# Copyright (c) 2017, NXP
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
if BOARD_FRDM_KW41Z
|
|
|
|
|
|
|
|
config BOARD
|
2018-05-26 02:56:38 +08:00
|
|
|
default "frdm_kw41z"
|
2017-01-18 09:55:53 +08:00
|
|
|
|
|
|
|
config OSC_XTAL0_FREQ
|
|
|
|
default 32000000
|
|
|
|
|
|
|
|
config MCG_FRDIV
|
|
|
|
default 5
|
|
|
|
|
|
|
|
config MCG_FCRDIV
|
|
|
|
default 0
|
|
|
|
|
|
|
|
if PINMUX_MCUX
|
|
|
|
|
|
|
|
config PINMUX_MCUX_PORTA
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config PINMUX_MCUX_PORTB
|
2017-06-07 19:50:57 +08:00
|
|
|
def_bool y if ADC_0
|
2017-01-18 09:55:53 +08:00
|
|
|
|
|
|
|
config PINMUX_MCUX_PORTC
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # PINMUX_MCUX
|
|
|
|
|
|
|
|
if GPIO_MCUX
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTA
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTB
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
config GPIO_MCUX_PORTC
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # GPIO_MCUX
|
|
|
|
|
|
|
|
if UART_MCUX_LPUART
|
|
|
|
|
|
|
|
config UART_MCUX_LPUART_0
|
|
|
|
def_bool y if UART_CONSOLE
|
|
|
|
|
|
|
|
endif # UART_MCUX
|
|
|
|
|
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_1
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
2017-06-07 19:50:57 +08:00
|
|
|
if ADC
|
|
|
|
|
|
|
|
config ADC_0
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # ADC
|
|
|
|
|
2017-01-18 09:55:53 +08:00
|
|
|
if FXOS8700
|
|
|
|
|
|
|
|
config FXOS8700_DRDY_INT1
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # FXOS8700
|
|
|
|
|
2018-04-18 02:06:02 +08:00
|
|
|
if SPI
|
|
|
|
|
|
|
|
config SPI_0
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # SPI
|
|
|
|
|
2017-01-18 09:55:53 +08:00
|
|
|
endif # BOARD_FRDM_KW41Z
|