use USE_SERIALDRIVER and USE_EARLYSERIALINIT to enable or disable up_serialinit() and up_earlyserialinit()