Bugfix: Make redirected stdio write initialize UART
Bugfix: Make redirected stdio write initialize UART

Calling a scanf before the first printf would end up calling serial_getc without initializing the UART.

jamesadevine/mbed,NXPmicro/mbed,mazimkhan/mbed-os,CalSol/mbed,fpiot/mbed-ats,j-greffe/mbed-os,monkiineko/mbed-os,hwfwgrp/mbed,naves-thiago/mbed-midi,hwfwgrp/mbed,jpbrucker/mbed,bulislaw/mbed-os,svastm/mbed,bulislaw/mbed-os,jferreir/mbed,pi19404/mbed,mikaleppanen/mbed-os,arostm/mbed-os,kpurusho/mbed,ARM-software/mbed-beetle,kjbracey-arm/mbed,iriark01/mbed-drivers,naves-thiago/mbed-midi,Willem23/mbed,theotherjimmy/mbed,tung7970/mbed-os,ban4jp/mbed,al177/mbed,Timmmm/mbed,mikaleppanen/mbed-os,kpurusho/mbed,svogl/mbed-os,Shengliang/mbed,cvtsi2sd/mbed-os,netzimme/mbed-os,iriark01/mbed-drivers,bulislaw/mbed-os,fvincenzo/mbed-os,YarivCol/mbed-os,pradeep-gr/mbed-os5-onsemi,mmorenobarm/mbed-os,JasonHow44/mbed,bentwire/mbed,getopenmono/mbed,maximmbed/mbed,jamesadevine/mbed,adustm/mbed,mbedmicro/mbed,sg-/mbed-drivers,masaohamanaka/mbed,FranklyDev/mbed,xcrespo/mbed,devanlai/mbed,jrjang/mbed,rgrover/mbed,kl-cruz/mbed-os,bremoran/mbed-drivers,struempelix/mbed,fahhem/mbed-os,rosterloh/mbed,bikeNomad/mbed,tung7970/mbed-os-1,pbrook/mbed,nabilbendafi/mbed,NitinBhaskar/mbed,getopenmono/mbed,struempelix/mbed,svogl/mbed-os,NitinBhaskar/mbed,andcor02/mbed-os,fahhem/mbed-os,fpiot/mbed-ats,jferreir/mbed,ban4jp/mbed,mmorenobarm/mbed-os,autopulated/mbed,andreaslarssonublox/mbed,catiedev/mbed-os,bcostm/mbed-os,monkiineko/mbed-os,jrjang/mbed,dbestm/mbed,bentwire/mbed,YarivCol/mbed-os,pi19404/mbed,jeremybrodt/mbed,tung7970/mbed-os,jrjang/mbed,mbedmicro/mbed,nRFMesh/mbed-os,xcrespo/mbed,getopenmono/mbed,tung7970/mbed-os,pradeep-gr/mbed-os5-onsemi,naves-thiago/mbed-midi,larks/mbed,ban4jp/mbed,dbestm/mbed,radhika-raghavendran/mbed-os5.1-onsemi,pedromes/mbed,maximmbed/mbed,K4zuki/mbed,al177/mbed,Tiryoh/mbed,autopulated/mbed,karsev/mbed-os,rgrover/mbed,catiedev/mbed-os,HeadsUpDisplayInc/mbed,svastm/mbed,RonEld/mbed,j-greffe/mbed-os,fvincenzo/mbed-os,pradeep-gr/mbed-os5-onsemi,sam-geek/mbed,karsev/mbed-os,screamerbg/mbed,screamerbg/mbed,netzimme/mbed-os,NXPmicro/mbed,bcostm/mbed-os,svastm/mbed,mikaleppanen/mbed-os,pbrook/mbed,masaohamanaka/mbed,infinnovation/mbed-os,nabilbendafi/mbed,adamgreen/mbed,jeremybrodt/mbed,mmorenobarm/mbed-os,kpurusho/mbed,kpurusho/mbed,sam-geek/mbed,c1728p9/mbed-os,GustavWi/mbed,larks/mbed,autopulated/mbed,Archcady/mbed-os,monkiineko/mbed-os,tung7970/mbed-os,nabilbendafi/mbed,brstew/MBED-BUILD,Timmmm/mbed,masaohamanaka/mbed,andreaslarssonublox/mbed,adustm/mbed,screamerbg/mbed,fahhem/mbed-os,Sweet-Peas/mbed,struempelix/mbed,jamesadevine/mbed,autopulated/mbed,bentwire/mbed,bikeNomad/mbed,NXPmicro/mbed,mikaleppanen/mbed-os,sam-geek/mbed,K4zuki/mbed,ban4jp/mbed,bremoran/mbed-drivers,CalSol/mbed,karsev/mbed-os,fpiot/mbed-ats,andcor02/mbed-os,al177/mbed,FranklyDev/mbed,nRFMesh/mbed-os,Shengliang/mbed,Marcomissyou/mbed,radhika-raghavendran/mbed-os5.1-onsemi,mazimkhan/mbed-os,hwfwgrp/mbed,catiedev/mbed-os,JasonHow44/mbed,FranklyDev/mbed,theotherjimmy/mbed,devanlai/mbed,netzimme/mbed-os,ryankurte/mbed-os,Sweet-Peas/mbed,NitinBhaskar/mbed,getopenmono/mbed,geky/mbed,tung7970/mbed-os-1,mnlipp/mbed,bentwire/mbed,adamgreen/mbed,al177/mbed,Marcomissyou/mbed,bikeNomad/mbed,bulislaw/mbed-os,HeadsUpDisplayInc/mbed,0xc0170/mbed-drivers,theotherjimmy/mbed,andreaslarssonublox/mbed,fanghuaqi/mbed,Sweet-Peas/mbed,geky/mbed,mazimkhan/mbed-os,alertby/mbed,catiedev/mbed-os,geky/mbed,Willem23/mbed,GustavWi/mbed,Tiryoh/mbed,mikaleppanen/mbed-os,wodji/mbed,fpiot/mbed-ats,NitinBhaskar/mbed,bentwire/mbed,Archcady/mbed-os,ban4jp/mbed,bentwire/mbed,pedromes/mbed,jpbrucker/mbed,EmuxEvans/mbed,GustavWi/mbed,cvtsi2sd/mbed-os,pedromes/mbed,masaohamanaka/mbed,larks/mbed,kpurusho/mbed,naves-thiago/mbed-midi,devanlai/mbed,GustavWi/mbed,autopulated/mbed,pradeep-gr/mbed-os5-onsemi,fanghuaqi/mbed,jamesadevine/mbed,dbestm/mbed,arostm/mbed-os,radhika-raghavendran/mbed-os5.1-onsemi,c1728p9/mbed-os,masaohamanaka/mbed,mbedmicro/mbed,betzw/mbed-os,EmuxEvans/mbed,infinnovation/mbed-os,Sweet-Peas/mbed,Timmmm/mbed,netzimme/mbed-os,fanghuaqi/mbed,DanKupiniak/mbed,Archcady/mbed-os,c1728p9/mbed-os,monkiineko/mbed-os,screamerbg/mbed,dbestm/mbed,alertby/mbed,kjbracey-arm/mbed,infinnovation/mbed-os,brstew/MBED-BUILD,NXPmicro/mbed,larks/mbed,wodji/mbed,karsev/mbed-os,naves-thiago/mbed-midi,betzw/mbed-os,K4zuki/mbed,Shengliang/mbed,nabilbendafi/mbed,pbrook/mbed,betzw/mbed-os,jpbrucker/mbed,infinnovation/mbed-os,pbrook/mbed,radhika-raghavendran/mbed-os5.1-onsemi,nvlsianpu/mbed,struempelix/mbed,logost/mbed,andcor02/mbed-os,Archcady/mbed-os,brstew/MBED-BUILD,alertby/mbed,mazimkhan/mbed-os,bulislaw/mbed-os,c1728p9/mbed-os,wodji/mbed,adustm/mbed,Marcomissyou/mbed,bulislaw/mbed-os,FranklyDev/mbed,RonEld/mbed,GustavWi/mbed,mnlipp/mbed,Willem23/mbed,fpiot/mbed-ats,RonEld/mbed,pedromes/mbed,jrjang/mbed,andreaslarssonublox/mbed,cvtsi2sd/mbed-os,arostm/mbed-os,cvtsi2sd/mbed-os,Shengliang/mbed,screamerbg/mbed,devanlai/mbed,tung7970/mbed-os-1,Sweet-Peas/mbed,logost/mbed,theotherjimmy/mbed,svastm/mbed,rgrover/mbed,pedromes/mbed,YarivCol/mbed-os,JasonHow44/mbed,nRFMesh/mbed-os,kpurusho/mbed,fanghuaqi/mbed,HeadsUpDisplayInc/mbed,andcor02/mbed-os,svogl/mbed-os,mbedmicro/mbed,struempelix/mbed,arostm/mbed-os,betzw/mbed-os,rosterloh/mbed,CalSol/mbed,mmorenobarm/mbed-os,j-greffe/mbed-os,EmuxEvans/mbed,tung7970/mbed-os-1,bcostm/mbed-os,svastm/mbed,EmuxEvans/mbed,bcostm/mbed-os,pi19404/mbed,mbedmicro/mbed,infinnovation/mbed-os,jpbrucker/mbed,fahhem/mbed-os,nvlsianpu/mbed,jferreir/mbed,j-greffe/mbed-os,cvtsi2sd/mbed-os,andreaslarssonublox/mbed,hwfwgrp/mbed,RonEld/mbed,j-greffe/mbed-os,nvlsianpu/mbed,nRFMesh/mbed-os,jferreir/mbed,karsev/mbed-os,jeremybrodt/mbed,arostm/mbed-os,xcrespo/mbed,pedromes/mbed,netzimme/mbed-os,nabilbendafi/mbed,Willem23/mbed,RonEld/mbed,alertby/mbed,arostm/mbed-os,brstew/MBED-BUILD,ban4jp/mbed,JasonHow44/mbed,mmorenobarm/mbed-os,jpbrucker/mbed,kl-cruz/mbed-os,betzw/mbed-os,brstew/MBED-BUILD,sam-geek/mbed,JasonHow44/mbed,mmorenobarm/mbed-os,kl-cruz/mbed-os,kl-cruz/mbed-os,logost/mbed,larks/mbed,pi19404/mbed,jrjang/mbed,dbestm/mbed,netzimme/mbed-os,devanlai/mbed,masaohamanaka/mbed,Archcady/mbed-os,hwfwgrp/mbed,wodji/mbed,monkiineko/mbed-os,Archcady/mbed-os,Marcomissyou/mbed,adamgreen/mbed,maximmbed/mbed,kjbracey-arm/mbed,adamgreen/mbed,larks/mbed,infinnovation/mbed-os,sg-/mbed-drivers,jferreir/mbed,rgrover/mbed,xcrespo/mbed,cvtsi2sd/mbed-os,Marcomissyou/mbed,mazimkhan/mbed-os,rosterloh/mbed,pi19404/mbed,kl-cruz/mbed-os,screamerbg/mbed,svogl/mbed-os,bikeNomad/mbed,tung7970/mbed-os,monkiineko/mbed-os,wodji/mbed,al177/mbed,mnlipp/mbed,YarivCol/mbed-os,Shengliang/mbed,K4zuki/mbed,rosterloh/mbed,jeremybrodt/mbed,rosterloh/mbed,HeadsUpDisplayInc/mbed,rosterloh/mbed,NXPmicro/mbed,fvincenzo/mbed-os,radhika-raghavendran/mbed-os5.1-onsemi,kjbracey-arm/mbed,mnlipp/mbed,pradeep-gr/mbed-os5-onsemi,K4zuki/mbed,HeadsUpDisplayInc/mbed,fahhem/mbed-os,mazimkhan/mbed-os,ryankurte/mbed-os,maximmbed/mbed,alertby/mbed,dbestm/mbed,HeadsUpDisplayInc/mbed,CalSol/mbed,CalSol/mbed,logost/mbed,YarivCol/mbed-os,ARM-software/mbed-beetle,jeremybrodt/mbed,devanlai/mbed,bikeNomad/mbed,pradeep-gr/mbed-os5-onsemi,catiedev/mbed-os,xcrespo/mbed,pbrook/mbed,naves-thiago/mbed-midi,RonEld/mbed,DanKupiniak/mbed,adamgreen/mbed,andcor02/mbed-os,Tiryoh/mbed,0xc0170/mbed-drivers,YarivCol/mbed-os,fpiot/mbed-ats,jamesadevine/mbed,ryankurte/mbed-os,maximmbed/mbed,fahhem/mbed-os,logost/mbed,DanKupiniak/mbed,struempelix/mbed,Willem23/mbed,jrjang/mbed,geky/mbed,fvincenzo/mbed-os,autopulated/mbed,kl-cruz/mbed-os,brstew/MBED-BUILD,adustm/mbed,JasonHow44/mbed,adamgreen/mbed,mnlipp/mbed,karsev/mbed-os,rgrover/mbed,hwfwgrp/mbed,pi19404/mbed,andcor02/mbed-os,bcostm/mbed-os,logost/mbed,fvincenzo/mbed-os,mikaleppanen/mbed-os,jamesadevine/mbed,nabilbendafi/mbed,Timmmm/mbed,EmuxEvans/mbed,mnlipp/mbed,NitinBhaskar/mbed,nRFMesh/mbed-os,nRFMesh/mbed-os,ARM-software/mbed-beetle,theotherjimmy/mbed,Tiryoh/mbed,getopenmono/mbed,pbrook/mbed,al177/mbed,nvlsianpu/mbed,j-greffe/mbed-os,Tiryoh/mbed,ARM-software/mbed-beetle,alertby/mbed,tung7970/mbed-os-1,EmuxEvans/mbed,K4zuki/mbed,Shengliang/mbed,maximmbed/mbed,ryankurte/mbed-os,c1728p9/mbed-os,adustm/mbed,wodji/mbed,betzw/mbed-os,bcostm/mbed-os,Timmmm/mbed,radhika-raghavendran/mbed-os5.1-onsemi,NXPmicro/mbed,jpbrucker/mbed,jferreir/mbed,Marcomissyou/mbed,CalSol/mbed,ryankurte/mbed-os,nvlsianpu/mbed,xcrespo/mbed,ryankurte/mbed-os,sam-geek/mbed,fanghuaqi/mbed,adustm/mbed,DanKupiniak/mbed,geky/mbed,Tiryoh/mbed,c1728p9/mbed-os,svogl/mbed-os,Timmmm/mbed,nvlsianpu/mbed,catiedev/mbed-os,FranklyDev/mbed,Sweet-Peas/mbed,theotherjimmy/mbed,getopenmono/mbed,svogl/mbed-os