soc: stm32: Fix DBGMCU register write for SWO configuration
DBGMCU register, which is used for SWO pin configuration,
may not have TRACE_MODE bits in some STM32 MCUs.
Replace register access with LL functions selected based on SoC family.
Fixes #44584
Signed-off-by:
Alexander Vasiliev <alex.m.vasil@gmail.com>
Loading
Please sign in to comment