Hello @Yaroslav Vushnevsky ,
Thanks for your feedback,
To enable CFG_DEBUG_TRACE, CFG_HW_USART1_ENABLED or CFG_HW_LPUART1_ENABLED must be set as well as CFG_DEBUG_TRACE_UART. The issue comes from the missing CFG_DEBUG_TRACE_UART in CubeMX.
I've raised this issue internally to be fixed as soon as possible. I'll keep you posted with the updates.
Internal ticket number: 122835 (This is an internal tracking number and is not accessible or usable by customers).
If your issue is solved, please close this post by clicking the "Select as Best" button. This will help other members of the community find this response more quickly :)
Thanks for your contribution and do not hesitate to raise any issue/ feedback.
Sara.
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.