2016-03-03 22:32:21 +08:00
|
|
|
# Kconfig - ST Microelectronics STM32 MCU line
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Open-RnD Sp. z o.o.
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-03-03 22:32:21 +08:00
|
|
|
#
|
|
|
|
|
2016-04-03 10:29:40 +08:00
|
|
|
config SOC_FAMILY_STM32
|
2016-03-03 22:32:21 +08:00
|
|
|
bool
|
|
|
|
# omit prompt to signify a "hidden" option
|
2018-04-10 20:19:07 +08:00
|
|
|
select HAS_DTS_I2C_DEVICE if I2C
|
|
|
|
select HAS_DTS_SPI_DEVICE if SPI
|
2016-03-03 22:32:21 +08:00
|
|
|
|
2016-04-03 11:36:02 +08:00
|
|
|
if SOC_FAMILY_STM32
|
2017-11-23 02:03:53 +08:00
|
|
|
|
2016-04-03 11:36:02 +08:00
|
|
|
config SOC_FAMILY
|
|
|
|
string
|
2018-05-26 03:12:24 +08:00
|
|
|
default "st_stm32"
|
2016-04-03 11:36:02 +08:00
|
|
|
|
2017-06-09 23:18:09 +08:00
|
|
|
config STM32_ARM_MPU_ENABLE
|
2018-04-28 11:28:14 +08:00
|
|
|
bool "Enable MPU on STM32"
|
2017-06-09 23:18:09 +08:00
|
|
|
depends on CPU_HAS_MPU
|
|
|
|
select ARM_MPU
|
|
|
|
help
|
2018-04-28 11:28:14 +08:00
|
|
|
Enable MPU support on STM32 SoCs
|
2017-06-09 23:18:09 +08:00
|
|
|
|
2018-05-08 15:31:48 +08:00
|
|
|
gsource "arch/arm/soc/st_stm32/*/Kconfig.soc"
|
2018-05-10 23:17:19 +08:00
|
|
|
|
|
|
|
endif # SOC_FAMILY_STM32
|