stmhal: Ability to stat /flash and /sd.
stmhal: Ability to stat /flash and /sd.

Addresses issue #780.

adafruit/micropython,ahotam/micropython,neilh10/micropython,lowRISC/micropython,mpalomer/micropython,ryannathans/micropython,xyb/micropython,tdautc19841202/micropython,tdautc19841202/micropython,stonegithubs/micropython,firstval/micropython,heisewangluo/micropython,ChuckM/micropython,micropython/micropython-esp32,ericsnowcurrently/micropython,adafruit/micropython,trezor/micropython,swegener/micropython,MrSurly/micropython,Timmenem/micropython,danicampora/micropython,xhat/micropython,supergis/micropython,ceramos/micropython,praemdonck/micropython,trezor/micropython,ahotam/micropython,ryannathans/micropython,Timmenem/micropython,firstval/micropython,selste/micropython,adafruit/micropython,puuu/micropython,turbinenreiter/micropython,oopy/micropython,MrSurly/micropython-esp32,praemdonck/micropython,MrSurly/micropython,cwyark/micropython,cnoviello/micropython,noahchense/micropython,supergis/micropython,pozetroninc/micropython,ChuckM/micropython,hosaka/micropython,heisewangluo/micropython,drrk/micropython,micropython/micropython-esp32,adamkh/micropython,warner83/micropython,kostyll/micropython,xuxiaoxin/micropython,ruffy91/micropython,dmazzella/micropython,alex-robbins/micropython,noahchense/micropython,henriknelson/micropython,EcmaXp/micropython,infinnovation/micropython,tobbad/micropython,MrSurly/micropython-esp32,bvernoux/micropython,neilh10/micropython,cwyark/micropython,xyb/micropython,HenrikSolver/micropython,kerneltask/micropython,hiway/micropython,jimkmc/micropython,blazewicz/micropython,galenhz/micropython,micropython/micropython-esp32,galenhz/micropython,ceramos/micropython,paul-xxx/micropython,Timmenem/micropython,feilongfl/micropython,mpalomer/micropython,slzatz/micropython,AriZuu/micropython,feilongfl/micropython,MrSurly/micropython,mpalomer/micropython,trezor/micropython,xhat/micropython,pozetroninc/micropython,alex-march/micropython,hosaka/micropython,oopy/micropython,dmazzella/micropython,tobbad/micropython,ericsnowcurrently/micropython,mhoffma/micropython,pfalcon/micropython,SungEun-Steve-Kim/test-mp,lbattraw/micropython,omtinez/micropython,torwag/micropython,KISSMonX/micropython,mhoffma/micropython,neilh10/micropython,EcmaXp/micropython,ceramos/micropython,jimkmc/micropython,Vogtinator/micropython,blazewicz/micropython,misterdanb/micropython,redbear/micropython,adamkh/micropython,adafruit/micropython,Vogtinator/micropython,pramasoul/micropython,TDAbboud/micropython,lowRISC/micropython,tuc-osg/micropython,lbattraw/micropython,dxxb/micropython,praemdonck/micropython,blazewicz/micropython,ernesto-g/micropython,adafruit/circuitpython,mianos/micropython,ryannathans/micropython,vitiral/micropython,kostyll/micropython,utopiaprince/micropython,HenrikSolver/micropython,utopiaprince/micropython,bvernoux/micropython,blmorris/micropython,jlillest/micropython,ernesto-g/micropython,utopiaprince/micropython,warner83/micropython,ericsnowcurrently/micropython,omtinez/micropython,AriZuu/micropython,jlillest/micropython,dmazzella/micropython,tobbad/micropython,mianos/micropython,adafruit/circuitpython,dinau/micropython,matthewelse/micropython,cnoviello/micropython,AriZuu/micropython,lowRISC/micropython,jlillest/micropython,Vogtinator/micropython,alex-robbins/micropython,stonegithubs/micropython,EcmaXp/micropython,matthewelse/micropython,firstval/micropython,henriknelson/micropython,noahwilliamsson/micropython,mianos/micropython,supergis/micropython,ChuckM/micropython,adafruit/circuitpython,mhoffma/micropython,bvernoux/micropython,ahotam/micropython,jmarcelino/pycom-micropython,HenrikSolver/micropython,torwag/micropython,aethaniel/micropython,Peetz0r/micropython-esp32,infinnovation/micropython,rubencabrera/micropython,redbear/micropython,adafruit/micropython,vriera/micropython,hosaka/micropython,tralamazza/micropython,noahchense/micropython,cwyark/micropython,tobbad/micropython,pfalcon/micropython,emfcamp/micropython,selste/micropython,misterdanb/micropython,alex-robbins/micropython,turbinenreiter/micropython,feilongfl/micropython,jlillest/micropython,mhoffma/micropython,lbattraw/micropython,stonegithubs/micropython,xyb/micropython,jmarcelino/pycom-micropython,mhoffma/micropython,ChuckM/micropython,dxxb/micropython,vriera/micropython,matthewelse/micropython,chrisdearman/micropython,oopy/micropython,methoxid/micropystat,vriera/micropython,martinribelotta/micropython,swegener/micropython,torwag/micropython,toolmacher/micropython,MrSurly/micropython-esp32,lbattraw/micropython,tralamazza/micropython,utopiaprince/micropython,suda/micropython,adamkh/micropython,omtinez/micropython,alex-march/micropython,vitiral/micropython,puuu/micropython,praemdonck/micropython,hiway/micropython,henriknelson/micropython,cloudformdesign/micropython,blmorris/micropython,noahwilliamsson/micropython,lbattraw/micropython,chrisdearman/micropython,Timmenem/micropython,heisewangluo/micropython,jimkmc/micropython,redbear/micropython,vitiral/micropython,stonegithubs/micropython,Vogtinator/micropython,matthewelse/micropython,skybird6672/micropython,mianos/micropython,pramasoul/micropython,dinau/micropython,mpalomer/micropython,danicampora/micropython,xyb/micropython,SHA2017-badge/micropython-esp32,redbear/micropython,xuxiaoxin/micropython,ernesto-g/micropython,dxxb/micropython,alex-robbins/micropython,bvernoux/micropython,skybird6672/micropython,trezor/micropython,SungEun-Steve-Kim/test-mp,tdautc19841202/micropython,deshipu/micropython,KISSMonX/micropython,blmorris/micropython,dinau/micropython,redbear/micropython,noahchense/micropython,toolmacher/micropython,martinribelotta/micropython,vriera/micropython,xhat/micropython,paul-xxx/micropython,ernesto-g/micropython,praemdonck/micropython,rubencabrera/micropython,emfcamp/micropython,SHA2017-badge/micropython-esp32,turbinenreiter/micropython,orionrobots/micropython,xyb/micropython,aethaniel/micropython,pramasoul/micropython,warner83/micropython,ahotam/micropython,SHA2017-badge/micropython-esp32,xuxiaoxin/micropython,toolmacher/micropython,cloudformdesign/micropython,puuu/micropython,SungEun-Steve-Kim/test-mp,swegener/micropython,ceramos/micropython,deshipu/micropython,ruffy91/micropython,infinnovation/micropython,orionrobots/micropython,rubencabrera/micropython,mgyenik/micropython,dhylands/micropython,blmorris/micropython,cwyark/micropython,ericsnowcurrently/micropython,chrisdearman/micropython,ruffy91/micropython,drrk/micropython,Vogtinator/micropython,misterdanb/micropython,misterdanb/micropython,mianos/micropython,Peetz0r/micropython-esp32,jmarcelino/pycom-micropython,torwag/micropython,AriZuu/micropython,supergis/micropython,trezor/micropython,mgyenik/micropython,noahwilliamsson/micropython,xuxiaoxin/micropython,pramasoul/micropython,infinnovation/micropython,adafruit/circuitpython,hiway/micropython,dxxb/micropython,dxxb/micropython,adafruit/circuitpython,PappaPeppar/micropython,tdautc19841202/micropython,MrSurly/micropython-esp32,ernesto-g/micropython,lowRISC/micropython,Peetz0r/micropython-esp32,heisewangluo/micropython,danicampora/micropython,pfalcon/micropython,selste/micropython,deshipu/micropython,omtinez/micropython,PappaPeppar/micropython,drrk/micropython,TDAbboud/micropython,puuu/micropython,matthewelse/micropython,kerneltask/micropython,adafruit/circuitpython,ChuckM/micropython,martinribelotta/micropython,galenhz/micropython,drrk/micropython,noahchense/micropython,feilongfl/micropython,selste/micropython,henriknelson/micropython,slzatz/micropython,selste/micropython,xhat/micropython,KISSMonX/micropython,ganshun666/micropython,kerneltask/micropython,noahwilliamsson/micropython,hosaka/micropython,TDAbboud/micropython,tralamazza/micropython,suda/micropython,tuc-osg/micropython,suda/micropython,suda/micropython,turbinenreiter/micropython,cloudformdesign/micropython,hosaka/micropython,galenhz/micropython,mgyenik/micropython,rubencabrera/micropython,hiway/micropython,martinribelotta/micropython,micropython/micropython-esp32,pozetroninc/micropython,toolmacher/micropython,dmazzella/micropython,methoxid/micropystat,tobbad/micropython,infinnovation/micropython,bvernoux/micropython,micropython/micropython-esp32,dhylands/micropython,suda/micropython,pfalcon/micropython,jmarcelino/pycom-micropython,neilh10/micropython,TDAbboud/micropython,turbinenreiter/micropython,mgyenik/micropython,hiway/micropython,kostyll/micropython,alex-march/micropython,blmorris/micropython,SHA2017-badge/micropython-esp32,cnoviello/micropython,pfalcon/micropython,EcmaXp/micropython,rubencabrera/micropython,HenrikSolver/micropython,vitiral/micropython,danicampora/micropython,torwag/micropython,skybird6672/micropython,toolmacher/micropython,methoxid/micropystat,misterdanb/micropython,jimkmc/micropython,ryannathans/micropython,vitiral/micropython,supergis/micropython,PappaPeppar/micropython,cnoviello/micropython,emfcamp/micropython,HenrikSolver/micropython,tuc-osg/micropython,SHA2017-badge/micropython-esp32,slzatz/micropython,kostyll/micropython,stonegithubs/micropython,vriera/micropython,firstval/micropython,adamkh/micropython,jmarcelino/pycom-micropython,kerneltask/micropython,feilongfl/micropython,ceramos/micropython,kerneltask/micropython,alex-robbins/micropython,neilh10/micropython,deshipu/micropython,chrisdearman/micropython,oopy/micropython,tuc-osg/micropython,cwyark/micropython,ruffy91/micropython,dinau/micropython,paul-xxx/micropython,Timmenem/micropython,omtinez/micropython,henriknelson/micropython,alex-march/micropython,dhylands/micropython,kostyll/micropython,PappaPeppar/micropython,MrSurly/micropython-esp32,Peetz0r/micropython-esp32,cnoviello/micropython,pozetroninc/micropython,aethaniel/micropython,methoxid/micropystat,ganshun666/micropython,cloudformdesign/micropython,galenhz/micropython,firstval/micropython,heisewangluo/micropython,puuu/micropython,orionrobots/micropython,dhylands/micropython,warner83/micropython,methoxid/micropystat,pozetroninc/micropython,danicampora/micropython,slzatz/micropython,Peetz0r/micropython-esp32,tralamazza/micropython,KISSMonX/micropython,oopy/micropython,slzatz/micropython,tuc-osg/micropython,emfcamp/micropython,jlillest/micropython,KISSMonX/micropython,xhat/micropython,orionrobots/micropython,xuxiaoxin/micropython,drrk/micropython,utopiaprince/micropython,aethaniel/micropython,ruffy91/micropython,deshipu/micropython,matthewelse/micropython,martinribelotta/micropython,TDAbboud/micropython,swegener/micropython,ahotam/micropython,swegener/micropython,ganshun666/micropython,jimkmc/micropython,chrisdearman/micropython,dhylands/micropython,paul-xxx/micropython,EcmaXp/micropython,orionrobots/micropython,dinau/micropython,ganshun666/micropython,AriZuu/micropython,warner83/micropython,skybird6672/micropython,aethaniel/micropython,pramasoul/micropython,tdautc19841202/micropython,mgyenik/micropython,lowRISC/micropython,ryannathans/micropython,ganshun666/micropython,adamkh/micropython,blazewicz/micropython,emfcamp/micropython,MrSurly/micropython,ericsnowcurrently/micropython,paul-xxx/micropython,MrSurly/micropython,noahwilliamsson/micropython,PappaPeppar/micropython,SungEun-Steve-Kim/test-mp,alex-march/micropython,mpalomer/micropython,cloudformdesign/micropython,SungEun-Steve-Kim/test-mp,skybird6672/micropython,blazewicz/micropython