Let 'printf' support on-chip debugger