1# Kinetis K2X MCU line
2
3# Copyright (c) 2018 Prevas A/S
4# Copyright (c) 2019 Thomas Burdick <thomas.burdick@gmail.com>
5
6#
7# SPDX-License-Identifier: Apache-2.0
8#
9
10choice
11	prompt "Kinetis K2x MCU Selection"
12	depends on SOC_SERIES_KINETIS_K2X
13
14config SOC_MK22F51212
15	bool "SOC_MK22F51212"
16	select HAS_MCUX
17	select HAS_MCUX_SMC
18	select HAS_MCUX_ADC16
19	select HAS_MCUX_FTFX
20	select HAS_MCUX_FTM
21	select HAS_MCUX_RNGA
22	select HAS_MCUX_SIM
23	select HAS_OSC
24	select HAS_MCG
25	select CPU_HAS_FPU
26	select HAS_MCUX_DAC
27	select HAS_MCUX_RCM
28
29endchoice
30
31if SOC_SERIES_KINETIS_K2X
32
33config SOC_PART_NUMBER_MK22FN512VLH12
34	bool
35
36config SOC_PART_NUMBER_MK22FX512AVLK12
37	bool
38
39config SOC_PART_NUMBER_KINETIS_K2X
40	string
41	default "MK22FN512VLH12" if SOC_PART_NUMBER_MK22FN512VLH12
42	help
43	  This string holds the full part number of the SoC. It is a hidden option
44	  that you should not set directly. The part number selection choice defines
45	  the default value for this string.
46
47endif # SOC_SERIES_KINETIS_K2X
48