Added newline conversion for stdout
Added newline conversion for stdout

stdout converts the following character sequences:

\n   -> \r\n
\r\n -> \r\n
\r   -> \r
\n\r -> \n\r

For original behaviour, a serial object can be instantiated explicitly

mazimkhan/mbed-os,bcostm/mbed-os,c1728p9/mbed-os,YarivCol/mbed-os,infinnovation/mbed-os,tung7970/mbed-os-1,c1728p9/mbed-os,nvlsianpu/mbed,jeremybrodt/mbed,c1728p9/mbed-os,mazimkhan/mbed-os,theotherjimmy/mbed,kl-cruz/mbed-os,adamgreen/mbed,catiedev/mbed-os,radhika-raghavendran/mbed-os5.1-onsemi,mikaleppanen/mbed-os,arostm/mbed-os,RonEld/mbed,ryankurte/mbed-os,kl-cruz/mbed-os,j-greffe/mbed-os,rgrover/mbed,tung7970/mbed-os,infinnovation/mbed-os,NXPmicro/mbed,rgrover/mbed,NXPmicro/mbed,cvtsi2sd/mbed-os,theotherjimmy/mbed,andreaslarssonublox/mbed,geky/mbed,betzw/mbed-os,nvlsianpu/mbed,monkiineko/mbed-os,mazimkhan/mbed-os,adamgreen/mbed,catiedev/mbed-os,andreaslarssonublox/mbed,nvlsianpu/mbed,maximmbed/mbed,adustm/mbed,screamerbg/mbed,mbedmicro/mbed,NXPmicro/mbed,monkiineko/mbed-os,radhika-raghavendran/mbed-os5.1-onsemi,cvtsi2sd/mbed-os,arostm/mbed-os,bcostm/mbed-os,andcor02/mbed-os,adustm/mbed,geky/mbed,infinnovation/mbed-os,fahhem/mbed-os,HeadsUpDisplayInc/mbed,screamerbg/mbed,tung7970/mbed-os-1,svastm/mbed,radhika-raghavendran/mbed-os5.1-onsemi,catiedev/mbed-os,mbedmicro/mbed,mazimkhan/mbed-os,cvtsi2sd/mbed-os,svastm/mbed,geky/mbed,screamerbg/mbed,kl-cruz/mbed-os,svogl/mbed-os,c1728p9/mbed-os,karsev/mbed-os,tung7970/mbed-os,ryankurte/mbed-os,bcostm/mbed-os,tung7970/mbed-os-1,andcor02/mbed-os,mbedmicro/mbed,fanghuaqi/mbed,karsev/mbed-os,NXPmicro/mbed,adustm/mbed,betzw/mbed-os,andcor02/mbed-os,fahhem/mbed-os,nvlsianpu/mbed,ryankurte/mbed-os,nvlsianpu/mbed,pradeep-gr/mbed-os5-onsemi,maximmbed/mbed,adustm/mbed,adamgreen/mbed,betzw/mbed-os,kl-cruz/mbed-os,nRFMesh/mbed-os,mazimkhan/mbed-os,Archcady/mbed-os,cvtsi2sd/mbed-os,fanghuaqi/mbed,Archcady/mbed-os,betzw/mbed-os,mbedmicro/mbed,pradeep-gr/mbed-os5-onsemi,fvincenzo/mbed-os,fvincenzo/mbed-os,karsev/mbed-os,c1728p9/mbed-os,maximmbed/mbed,radhika-raghavendran/mbed-os5.1-onsemi,theotherjimmy/mbed,fvincenzo/mbed-os,arostm/mbed-os,j-greffe/mbed-os,fahhem/mbed-os,pradeep-gr/mbed-os5-onsemi,RonEld/mbed,bulislaw/mbed-os,Archcady/mbed-os,fanghuaqi/mbed,nRFMesh/mbed-os,kjbracey-arm/mbed,YarivCol/mbed-os,nRFMesh/mbed-os,catiedev/mbed-os,bcostm/mbed-os,mikaleppanen/mbed-os,c1728p9/mbed-os,fahhem/mbed-os,catiedev/mbed-os,mikaleppanen/mbed-os,ryankurte/mbed-os,infinnovation/mbed-os,ryankurte/mbed-os,bcostm/mbed-os,NXPmicro/mbed,monkiineko/mbed-os,svogl/mbed-os,karsev/mbed-os,monkiineko/mbed-os,arostm/mbed-os,nRFMesh/mbed-os,mazimkhan/mbed-os,CalSol/mbed,rgrover/mbed,YarivCol/mbed-os,betzw/mbed-os,fvincenzo/mbed-os,mmorenobarm/mbed-os,netzimme/mbed-os,betzw/mbed-os,infinnovation/mbed-os,netzimme/mbed-os,screamerbg/mbed,fanghuaqi/mbed,kjbracey-arm/mbed,arostm/mbed-os,bulislaw/mbed-os,mikaleppanen/mbed-os,tung7970/mbed-os,nvlsianpu/mbed,andcor02/mbed-os,bulislaw/mbed-os,kjbracey-arm/mbed,cvtsi2sd/mbed-os,HeadsUpDisplayInc/mbed,j-greffe/mbed-os,tung7970/mbed-os-1,DanKupiniak/mbed,pradeep-gr/mbed-os5-onsemi,adamgreen/mbed,theotherjimmy/mbed,kl-cruz/mbed-os,maximmbed/mbed,HeadsUpDisplayInc/mbed,svogl/mbed-os,svastm/mbed,YarivCol/mbed-os,DanKupiniak/mbed,infinnovation/mbed-os,jeremybrodt/mbed,DanKupiniak/mbed,monkiineko/mbed-os,mbedmicro/mbed,catiedev/mbed-os,screamerbg/mbed,mmorenobarm/mbed-os,netzimme/mbed-os,rgrover/mbed,kjbracey-arm/mbed,tung7970/mbed-os,RonEld/mbed,CalSol/mbed,mmorenobarm/mbed-os,radhika-raghavendran/mbed-os5.1-onsemi,karsev/mbed-os,fahhem/mbed-os,CalSol/mbed,maximmbed/mbed,pradeep-gr/mbed-os5-onsemi,tung7970/mbed-os-1,geky/mbed,pradeep-gr/mbed-os5-onsemi,kl-cruz/mbed-os,andcor02/mbed-os,mmorenobarm/mbed-os,mikaleppanen/mbed-os,mikaleppanen/mbed-os,bulislaw/mbed-os,Archcady/mbed-os,CalSol/mbed,radhika-raghavendran/mbed-os5.1-onsemi,j-greffe/mbed-os,bcostm/mbed-os,adustm/mbed,fanghuaqi/mbed,nRFMesh/mbed-os,NXPmicro/mbed,svogl/mbed-os,adamgreen/mbed,bulislaw/mbed-os,karsev/mbed-os,arostm/mbed-os,YarivCol/mbed-os,fahhem/mbed-os,monkiineko/mbed-os,andreaslarssonublox/mbed,mmorenobarm/mbed-os,svogl/mbed-os,RonEld/mbed,geky/mbed,andreaslarssonublox/mbed,rgrover/mbed,theotherjimmy/mbed,j-greffe/mbed-os,andreaslarssonublox/mbed,maximmbed/mbed,tung7970/mbed-os,netzimme/mbed-os,mmorenobarm/mbed-os,ryankurte/mbed-os,fvincenzo/mbed-os,adustm/mbed,j-greffe/mbed-os,svastm/mbed,svastm/mbed,cvtsi2sd/mbed-os,HeadsUpDisplayInc/mbed,andcor02/mbed-os,CalSol/mbed,HeadsUpDisplayInc/mbed,Archcady/mbed-os,jeremybrodt/mbed,YarivCol/mbed-os,jeremybrodt/mbed,nRFMesh/mbed-os,RonEld/mbed,jeremybrodt/mbed,theotherjimmy/mbed,netzimme/mbed-os,screamerbg/mbed,bulislaw/mbed-os,HeadsUpDisplayInc/mbed,RonEld/mbed,svogl/mbed-os,CalSol/mbed,Archcady/mbed-os,DanKupiniak/mbed,adamgreen/mbed,netzimme/mbed-os