34 lines
614 B
Plaintext
34 lines
614 B
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
CONFIG_SOC_SERIES_STM32H7X=y
|
|
CONFIG_SOC_STM32H747XX=y
|
|
|
|
# Board config should be specified since there are 2 possible targets
|
|
CONFIG_BOARD_STM32H747I_DISCO_M7=y
|
|
|
|
# Enable the internal SMPS regulator
|
|
CONFIG_POWER_SUPPLY_DIRECT_SMPS=y
|
|
|
|
# enable GPIO
|
|
CONFIG_GPIO=y
|
|
|
|
# Enable clocks
|
|
CONFIG_CLOCK_CONTROL=y
|
|
|
|
# Enable MPU
|
|
CONFIG_ARM_MPU=y
|
|
|
|
# Enable HW stack protection
|
|
CONFIG_HW_STACK_PROTECTION=y
|
|
|
|
# Disable following to assign serial ports to m4 core
|
|
|
|
# enable uart driver
|
|
CONFIG_SERIAL=y
|
|
# console
|
|
CONFIG_CONSOLE=y
|
|
CONFIG_UART_CONSOLE=y
|
|
|
|
# enable pin controller
|
|
CONFIG_PINCTRL=y
|