add vsprintf and mmc device support