CONFIG_DEBUG_STM32_UART is not available for thedefaultarchitecture x86.
Result is shown for architecture arm

CONFIG_DEBUG_STM32_UART (not configurable)

configname: CONFIG_DEBUG_STM32_UART

Linux Kernel Configuration
└─>DEBUG_STM32_UART
In linux kernel since version 5 (release Date: 2019-03-03)