2018-06-29 04:21:05 +08:00
|
|
|
# Copyright (c) 2018, Cypress
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
choice
|
2019-11-01 17:24:07 +08:00
|
|
|
prompt "Cypress PSoC6 MCU Selection"
|
|
|
|
depends on SOC_SERIES_PSOC62
|
2018-06-29 04:21:05 +08:00
|
|
|
|
|
|
|
config SOC_PSOC6_M0
|
|
|
|
bool "SOC_PSOC6_M0"
|
|
|
|
select CPU_CORTEX_M0PLUS
|
2020-01-23 01:30:00 +08:00
|
|
|
select CPU_CORTEX_M_HAS_SYSTICK
|
2018-06-29 04:21:05 +08:00
|
|
|
select CPU_CORTEX_M_HAS_VTOR
|
|
|
|
|
|
|
|
config SOC_PSOC6_M4
|
|
|
|
bool "SOC_PSOC6_M4"
|
|
|
|
select CPU_CORTEX_M4
|
2020-01-23 01:30:00 +08:00
|
|
|
select CPU_CORTEX_M_HAS_DWT
|
|
|
|
select CPU_CORTEX_M_HAS_SYSTICK
|
2018-06-29 04:21:05 +08:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config SOC_FAMILY_PSOC6
|
|
|
|
bool
|
|
|
|
|
|
|
|
if SOC_FAMILY_PSOC6
|
2019-02-27 03:29:18 +08:00
|
|
|
|
2018-06-29 04:21:05 +08:00
|
|
|
config SOC_FAMILY
|
|
|
|
string
|
|
|
|
default "cypress"
|
|
|
|
|
|
|
|
source "soc/arm/cypress/*/Kconfig.soc"
|
|
|
|
|
|
|
|
endif # SOC_FAMILY_PSOC6
|