You should handle receiving USART one character at a time and build a circular buffer in the interrupt routine.Don't re-invent things, I've used the library you'll find into:C:\Users\yourname\STM32Cube\Repository\STM32Cube_FW_F7_V1.16.0\Projects\STM3...
Here is my share of an unpretentious guide that allowed me to install nodejs and node-red locally on an STM32MP157C-DK2.Hope this can help.First of all, my config: SD card 16Gb with latest ecosystem release v2.0.0Connect with ssh root and make apt ca...