[NUCLEO_L053R8] Improvement of Serial hal