stmhal: Fix build issues with (old) CC3000 driver.
stmhal: Fix build issues with (old) CC3000 driver.

Addresses issue #825.

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