2017-04-01 07:07:45 +08:00
|
|
|
# Kconfig - Kinetis KL2x SoC configuration options
|
|
|
|
#
|
|
|
|
# Copyright (c) 2017, NXP
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
if SOC_MKL25Z4
|
|
|
|
|
|
|
|
config SOC
|
|
|
|
string
|
2018-05-26 03:19:21 +08:00
|
|
|
default "mkl25z4"
|
2017-04-01 07:07:45 +08:00
|
|
|
|
|
|
|
config NUM_IRQS
|
|
|
|
int
|
|
|
|
default 32
|
|
|
|
|
2017-06-06 04:37:22 +08:00
|
|
|
if ADC
|
|
|
|
|
|
|
|
config ADC_MCUX_ADC16
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # ADC
|
|
|
|
|
2017-08-26 22:22:55 +08:00
|
|
|
if CLOCK_CONTROL
|
|
|
|
|
|
|
|
config CLOCK_CONTROL_MCUX_SIM
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # CLOCK_CONTROL
|
|
|
|
|
2017-04-01 07:07:45 +08:00
|
|
|
if PINMUX
|
|
|
|
|
|
|
|
config PINMUX_MCUX
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # PINMUX
|
|
|
|
|
|
|
|
if GPIO
|
|
|
|
|
|
|
|
config GPIO_MCUX
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # GPIO
|
|
|
|
|
|
|
|
if SERIAL
|
|
|
|
|
2017-04-26 23:08:23 +08:00
|
|
|
config UART_MCUX_LPSCI
|
2017-04-01 07:07:45 +08:00
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # SERIAL
|
|
|
|
|
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_MCUX
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
|
|
|
if FLASH
|
|
|
|
|
|
|
|
config SOC_FLASH_MCUX
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # FLASH
|
|
|
|
|
2018-05-29 00:41:12 +08:00
|
|
|
if USB
|
|
|
|
|
|
|
|
config USB_KINETIS
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # USB
|
|
|
|
|
2017-04-01 07:07:45 +08:00
|
|
|
endif # SOC_MKL25Z
|