stmhal/pyexec: Use mp_hal_ticks_ms().
stmhal/pyexec: Use mp_hal_ticks_ms().

This file is actually port-generic and should be moved out of stmhal/ .
Other ports already use it, and thus it should use mp_hal_ticks_ms()
right away.

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