1# Copyright (c) 2023 Felipe Neves 2# Copyright (c) 2024 DNDG srl 3# SPDX-License-Identifier: Apache-2.0 4 5# Enable GPIO 6CONFIG_GPIO=y 7 8# Clock configuration 9CONFIG_CLOCK_CONTROL=y 10 11# Enable MPU 12CONFIG_ARM_MPU=y 13 14# Enable HW stack protection 15CONFIG_HW_STACK_PROTECTION=y 16 17# Use zephyr,code-partition as flash offset 18CONFIG_USE_DT_CODE_PARTITION=y 19 20# Enable correct power supply 21CONFIG_POWER_SUPPLY_SMPS_1V8_SUPPLIES_EXT_AND_LDO=y 22 23# Don't start M4 during the M7 boot (this is what the original Opta does) 24CONFIG_STM32H7_BOOT_M4_AT_INIT=n 25 26# Enable console 27CONFIG_SERIAL=y 28CONFIG_CONSOLE=y 29CONFIG_UART_CONSOLE=y 30