The user only has the app at the beginning, so he initializes clock, UART, can and so on in the APP.Now boot is added, and clock, CAN, UART, etc., are initialized.
The UART prompts garbled characters.
Delete the initialization in the app, then normal.
Is that a good way to solve it? It doesn't feel complete.