2019-11-01 20:45:29 +08:00
|
|
|
# Kinetis KE1xF series configuration options
|
|
|
|
|
2019-05-05 06:01:56 +08:00
|
|
|
# Copyright (c) 2019 Vestas Wind Systems A/S
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if SOC_SERIES_KINETIS_KE1XF
|
|
|
|
|
|
|
|
config SOC_SERIES
|
|
|
|
default "ke1xf"
|
|
|
|
|
|
|
|
config NUM_IRQS
|
|
|
|
# must be >= the highest interrupt number used
|
|
|
|
default 91
|
|
|
|
|
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 0x7d
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on KINETIS_FLASH_CONFIG
|
2019-09-12 06:52:35 +08:00
|
|
|
|
2019-05-05 06:01:56 +08:00
|
|
|
if CLOCK_CONTROL
|
|
|
|
|
2019-06-17 04:25:44 +08:00
|
|
|
config CLOCK_CONTROL_MCUX_SCG
|
|
|
|
default y
|
|
|
|
|
2019-05-05 06:01:56 +08:00
|
|
|
config CLOCK_CONTROL_MCUX_SIM
|
|
|
|
default y
|
|
|
|
|
|
|
|
config CLOCK_CONTROL_MCUX_PCC
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # CLOCK_CONTROL
|
|
|
|
|
2019-05-21 05:16:21 +08:00
|
|
|
config WDT_MCUX_WDOG32
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on WATCHDOG
|
2019-05-17 04:13:59 +08:00
|
|
|
|
|
|
|
config COUNTER_MCUX_RTC
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on COUNTER
|
2019-05-19 21:53:54 +08:00
|
|
|
|
|
|
|
config PWM_MCUX_FTM
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on PWM
|
2019-05-05 06:01:56 +08:00
|
|
|
|
|
|
|
config PINMUX_MCUX
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on PINMUX
|
2019-05-05 06:01:56 +08:00
|
|
|
|
|
|
|
config GPIO
|
|
|
|
default y
|
|
|
|
|
|
|
|
config GPIO_MCUX
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on GPIO
|
2019-05-05 06:01:56 +08:00
|
|
|
|
|
|
|
config SOC_FLASH_MCUX
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on FLASH
|
2019-05-05 06:01:56 +08:00
|
|
|
|
|
|
|
config UART_MCUX_LPUART
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on SERIAL
|
2019-05-14 23:03:22 +08:00
|
|
|
|
|
|
|
config I2C_MCUX_LPI2C
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on I2C
|
2019-05-16 17:50:22 +08:00
|
|
|
|
|
|
|
config SPI_MCUX_LPSPI
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on SPI
|
2019-05-16 14:19:50 +08:00
|
|
|
|
|
|
|
config ADC_MCUX_ADC12
|
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on ADC
|
2019-05-16 14:19:50 +08:00
|
|
|
|
2019-05-05 06:01:56 +08:00
|
|
|
source "soc/arm/nxp_kinetis/ke1xf/Kconfig.defconfig.mke*"
|
|
|
|
|
|
|
|
endif # SOC_SERIES_KINETIS_KE1XF
|