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
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2017-06-06 04:37:22 +08:00
|
|
|
|
|
|
|
endif # ADC
|
|
|
|
|
2017-08-26 22:22:55 +08:00
|
|
|
if CLOCK_CONTROL
|
|
|
|
|
|
|
|
config CLOCK_CONTROL_MCUX_SIM
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2017-08-26 22:22:55 +08:00
|
|
|
|
|
|
|
endif # CLOCK_CONTROL
|
|
|
|
|
2017-04-01 07:07:45 +08:00
|
|
|
if PINMUX
|
|
|
|
|
|
|
|
config PINMUX_MCUX
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2017-04-01 07:07:45 +08:00
|
|
|
|
|
|
|
endif # PINMUX
|
|
|
|
|
|
|
|
if GPIO
|
|
|
|
|
|
|
|
config GPIO_MCUX
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2017-04-01 07:07:45 +08:00
|
|
|
|
|
|
|
endif # GPIO
|
|
|
|
|
|
|
|
if SERIAL
|
|
|
|
|
2017-04-26 23:08:23 +08:00
|
|
|
config UART_MCUX_LPSCI
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2017-04-01 07:07:45 +08:00
|
|
|
|
|
|
|
endif # SERIAL
|
|
|
|
|
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_MCUX
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2017-04-01 07:07:45 +08:00
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
|
|
|
if FLASH
|
|
|
|
|
|
|
|
config SOC_FLASH_MCUX
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2017-04-01 07:07:45 +08:00
|
|
|
|
|
|
|
endif # FLASH
|
|
|
|
|
2018-05-29 00:41:12 +08:00
|
|
|
if USB
|
|
|
|
|
|
|
|
config USB_KINETIS
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-05-29 00:41:12 +08:00
|
|
|
|
|
|
|
endif # USB
|
|
|
|
|
2017-04-01 07:07:45 +08:00
|
|
|
endif # SOC_MKL25Z
|