2019-11-01 20:45:29 +08:00
|
|
|
# Kinetis K8x series configuration options
|
|
|
|
|
2019-08-19 20:21:51 +08:00
|
|
|
# Copyright (c) 2019 SEAL AG
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if SOC_SERIES_KINETIS_K8X
|
|
|
|
|
|
|
|
config SOC_SERIES
|
|
|
|
default "k8x"
|
|
|
|
|
|
|
|
config NUM_IRQS
|
|
|
|
# must be >= the highest interrupt number used
|
|
|
|
default 106
|
|
|
|
|
2019-12-06 21:28:39 +08:00
|
|
|
config CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
|
|
|
|
default y
|
|
|
|
|
2019-09-12 06:52:35 +08:00
|
|
|
config KINETIS_FLASH_CONFIG_FOPT
|
|
|
|
default 0x3f
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on KINETIS_FLASH_CONFIG
|
2019-08-19 20:21:51 +08:00
|
|
|
|
|
|
|
config ADC_MCUX_ADC16
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on ADC
|
2019-08-19 20:21:51 +08:00
|
|
|
|
|
|
|
if CLOCK_CONTROL
|
|
|
|
|
|
|
|
config CLOCK_CONTROL_MCUX_MCG
|
|
|
|
default y
|
|
|
|
|
|
|
|
config CLOCK_CONTROL_MCUX_SIM
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # CLOCK_CONTROL
|
|
|
|
|
|
|
|
config ENTROPY_MCUX_TRNG
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on ENTROPY_GENERATOR
|
2019-08-19 20:21:51 +08:00
|
|
|
|
|
|
|
config SOC_FLASH_MCUX
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on FLASH
|
2019-08-19 20:21:51 +08:00
|
|
|
|
|
|
|
config GPIO
|
|
|
|
default y
|
|
|
|
|
|
|
|
config GPIO_MCUX
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on GPIO
|
2019-08-19 20:21:51 +08:00
|
|
|
|
|
|
|
config I2C_MCUX
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on I2C
|
2019-08-19 20:21:51 +08:00
|
|
|
|
|
|
|
config PINMUX_MCUX
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on PINMUX
|
2019-08-19 20:21:51 +08:00
|
|
|
|
|
|
|
config PWM_MCUX_FTM
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on PWM
|
2019-08-19 20:21:51 +08:00
|
|
|
|
|
|
|
config UART_MCUX_LPUART
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on SERIAL
|
2019-08-19 20:21:51 +08:00
|
|
|
|
|
|
|
config SPI_MCUX_DSPI
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on SPI
|
2019-08-19 20:21:51 +08:00
|
|
|
|
|
|
|
config USB_KINETIS
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on USB
|
2019-08-19 20:21:51 +08:00
|
|
|
|
|
|
|
config WDT_MCUX_WDOG
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on WATCHDOG
|
2019-08-19 20:21:51 +08:00
|
|
|
|
|
|
|
source "soc/arm/nxp_kinetis/k8x/Kconfig.defconfig.mk*"
|
|
|
|
|
|
|
|
endif # SOC_SERIES_KINETIS_K8X
|