zephyr/soc/arm/st_stm32/stm32h7/Kconfig.series
Erwan Gouriou 88b71bdf6c soc: stm32: Move clock_control Kconfig selection to common
Factorize this setting rather than doing it in multiple
places.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2019-10-10 10:54:44 -05:00

44 lines
1.2 KiB
Text

# Kconfig - ST Microelectronics STM32H7 MCU series
#
# Copyright (c) 2019 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
config SOC_SERIES_STM32H7X
bool "STM32H7x Series MCU"
select CPU_HAS_FPU
select SOC_FAMILY_STM32
select HAS_STM32CUBE
select CPU_HAS_ARM_MPU
select NEWLIB_LIBC
select USE_STM32_HAL_RCC_EX if CPU_CORTEX_M4
help
Enable support for STM32H7 MCU series
config STM32H7_DUAL_CORE
bool "Enable Dual Core"
depends on SOC_SERIES_STM32H7X
choice STM32H7_DUAL_CORE_BOOT
prompt "STM32H7x Boot type selection"
depends on STM32H7_DUAL_CORE
config STM32H7_BOOT_CM4_CM7
bool "Boot both CM4 and CM7"
help
Cortex-M7 and Cortex-M4 running from the flash (each from a bank)
System configuration performed by the Cortex-M7
Cortex-M4 goes to STOP after boot, then woken-up by Cortex-M7 using
a HW semaphore
config STM32H7_BOOT_CM7_CM4GATED
bool "Boot CM7. CM4 boot gated"
help
Cortex-M4 boot is gated using Flash option bytes
Cortex-M7 and Cortex-M4 running from the flash (each from a bank)
Cortex-M7 boots , performs the System configuration then enable the
Cortex-M4 boot using RCC.
This mode requires option byte setting update (BCM4 uncheked)
endchoice