stmhal: Factor out USRSW boot-up code and support boards with 1 LED.
stmhal: Factor out USRSW boot-up code and support boards with 1 LED.

Thanks to Dave Hylands for the patch.

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