[NUCLEO_L152RE] Fix bugs with gpio and serial