CONFIG_SOC_SERIES_STM32MP1X=y CONFIG_SOC_STM32MP15_M4=y # Enable MPU CONFIG_ARM_MPU=y # Enable HW stack protection CONFIG_HW_STACK_PROTECTION=y # enable GPIO CONFIG_GPIO=y # enable uart driver CONFIG_SERIAL=y CONFIG_UART_INTERRUPT_DRIVEN=y # clock configuration CONFIG_CLOCK_CONTROL=y # console (remote proc console by default) CONFIG_CONSOLE=y CONFIG_RAM_CONSOLE=y CONFIG_RAM_CONSOLE_BUFFER_SIZE=1024 # uart console (overrides remote proc console) CONFIG_UART_CONSOLE=n # enable pin controller CONFIG_PINCTRL=y