With the function HAL_UART_Transmit I send a string to the console.
The problem is that the whole thing works in STMCubeID but not on PlatformIO.
When I run the same code on Platform IO, I get nothing on the Consol.
I think it has something to do with the clock.
I measured the 100ms delay with a logic analyzer. On the STM32Cube I measured 107ms and on Platform IO 102ms.
platform = ststm32
board = nucleo_f303k8
framework = stm32cube
board_build.f_cpu = 8000000L
Unfortunately, I did not see my error.
Did anyone have the same problem?
Thanks for your help