janjongboom / mbed-simulator

Experimental simulator for Mbed OS 5 applications
Other
175 stars 65 forks source link

Printf only emits to serial output after \n character #1

Open janjongboom opened 6 years ago

janjongboom commented 6 years ago

Emscripten 'issue' because we don't exit the runtime, is warned about in the console:

stdio streams had content in them that was not flushed. you should set NO_EXIT_RUNTIME to 0 (see the FAQ), or make sure to emit a newline when you printf etc.