1# Copyright (c) 2018, Cypress
2# Copyright (c) 2020, ATL Electronics
3# SPDX-License-Identifier: Apache-2.0
4
5choice
6	prompt "Cypress PSoC6 MCU Selection"
7	depends on SOC_SERIES_PSOC62 || \
8		   SOC_SERIES_PSOC63
9
10config SOC_PSOC6_M0
11	bool "SOC_PSOC6_M0"
12	select CPU_CORTEX_M0PLUS
13	select CPU_CORTEX_M_HAS_SYSTICK
14	select CPU_CORTEX_M_HAS_VTOR
15
16config SOC_PSOC6_M4
17	bool "SOC_PSOC6_M4"
18	select CPU_CORTEX_M4
19	select CPU_CORTEX_M_HAS_DWT
20	select CPU_CORTEX_M_HAS_SYSTICK
21
22endchoice
23
24config SOC_PSOC6_M0_ENABLES_M4
25	bool "Dual-core support [activate Cortex-M4]"
26	depends on SOC_PSOC6_M0
27	help
28	  Cortex-M0 CPU should boot Cortex-M4
29
30config SOC_FAMILY_PSOC6
31	bool
32
33if SOC_FAMILY_PSOC6
34
35config SOC_FAMILY
36	string
37	default "cypress"
38
39source "soc/arm/cypress/*/Kconfig.soc"
40
41endif # SOC_FAMILY_PSOC6
42