Added newlib printf support. Lightweight printf can be chosen by compiling with PRINTF_LW=1.
Added todo.