changed USE_DRIVER_SDCARD_SDIO to USE_DRIVER_SDCARD.
added DEBUG_PRINTF_EXCEPTIONS.
removed duplicate add_log_handler call