2019-11-01 20:45:29 +08:00
|
|
|
# Kinetis K2X MCU line
|
|
|
|
|
2019-09-12 21:41:26 +08:00
|
|
|
# Copyright (c) 2018 Prevas A/S
|
|
|
|
# Copyright (c) 2019 Thomas Burdick <thomas.burdick@gmail.com>
|
|
|
|
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
choice
|
2019-11-01 17:24:07 +08:00
|
|
|
prompt "Kinetis K2x MCU Selection"
|
|
|
|
depends on SOC_SERIES_KINETIS_K2X
|
2019-09-12 21:41:26 +08:00
|
|
|
|
|
|
|
config SOC_MK22F51212
|
|
|
|
bool "SOC_MK22F51212"
|
|
|
|
select HAS_MCUX
|
|
|
|
select HAS_MCUX_SMC
|
|
|
|
select HAS_MCUX_ADC16
|
|
|
|
select HAS_MCUX_FTFX
|
|
|
|
select HAS_MCUX_FTM
|
|
|
|
select HAS_MCUX_RNGA
|
|
|
|
select HAS_MCUX_SIM
|
|
|
|
select HAS_OSC
|
|
|
|
select HAS_MCG
|
|
|
|
select CPU_HAS_FPU
|
2021-03-02 18:19:41 +08:00
|
|
|
select HAS_MCUX_DAC
|
2019-09-12 21:41:26 +08:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
if SOC_SERIES_KINETIS_K2X
|
|
|
|
|
|
|
|
config SOC_PART_NUMBER_MK22FN512VLH12
|
|
|
|
bool
|
|
|
|
|
|
|
|
config SOC_PART_NUMBER_MK22FX512AVLK12
|
|
|
|
bool
|
|
|
|
|
|
|
|
config SOC_PART_NUMBER_KINETIS_K2X
|
|
|
|
string
|
|
|
|
default "MK22FN512VLH12" if SOC_PART_NUMBER_MK22FN512VLH12
|
|
|
|
help
|
|
|
|
This string holds the full part number of the SoC. It is a hidden option
|
|
|
|
that you should not set directly. The part number selection choice defines
|
|
|
|
the default value for this string.
|
|
|
|
|
|
|
|
endif # SOC_SERIES_KINETIS_K2X
|