It's now possible to specify the location of targets.json
It's now possible to specify the location of targets.json

With this change, it becomes possible to use targets.py with any
targets.json, not just the default one in ../hal/targets.json.
targets.py will still be initialized with the default targets.json, but
the code can then call "set_targets_json_location" to specify the new
location of targets.json. set_targets_json_location modifies all the
data "in place"; that is, it doesn't create a new TARGET_MAP,
TARGET_NAMES or alike, but rather modified the existing ones. This is
important, because code using this construct:

from tools.targets import TARGET_MAP

can work unmodified with this change.

Archcady/mbed-os,andreaslarssonublox/mbed,j-greffe/mbed-os,svogl/mbed-os,mikaleppanen/mbed-os,bulislaw/mbed-os,CalSol/mbed,geky/mbed,infinnovation/mbed-os,fahhem/mbed-os,pradeep-gr/mbed-os5-onsemi,rgrover/mbed,karsev/mbed-os,netzimme/mbed-os,maximmbed/mbed,cvtsi2sd/mbed-os,radhika-raghavendran/mbed-os5.1-onsemi,mbedmicro/mbed,screamerbg/mbed,theotherjimmy/mbed,adamgreen/mbed,catiedev/mbed-os,jeremybrodt/mbed,tung7970/mbed-os-1,kl-cruz/mbed-os,mikaleppanen/mbed-os,theotherjimmy/mbed,nRFMesh/mbed-os,nRFMesh/mbed-os,HeadsUpDisplayInc/mbed,NXPmicro/mbed,betzw/mbed-os,monkiineko/mbed-os,fanghuaqi/mbed,catiedev/mbed-os,RonEld/mbed,fvincenzo/mbed-os,mikaleppanen/mbed-os,mikaleppanen/mbed-os,c1728p9/mbed-os,kl-cruz/mbed-os,nRFMesh/mbed-os,mazimkhan/mbed-os,ryankurte/mbed-os,monkiineko/mbed-os,netzimme/mbed-os,geky/mbed,bulislaw/mbed-os,pradeep-gr/mbed-os5-onsemi,catiedev/mbed-os,mikaleppanen/mbed-os,cvtsi2sd/mbed-os,karsev/mbed-os,cvtsi2sd/mbed-os,screamerbg/mbed,betzw/mbed-os,nvlsianpu/mbed,bulislaw/mbed-os,Archcady/mbed-os,netzimme/mbed-os,RonEld/mbed,pradeep-gr/mbed-os5-onsemi,betzw/mbed-os,arostm/mbed-os,catiedev/mbed-os,Archcady/mbed-os,fanghuaqi/mbed,netzimme/mbed-os,nRFMesh/mbed-os,kl-cruz/mbed-os,fahhem/mbed-os,YarivCol/mbed-os,RonEld/mbed,fahhem/mbed-os,adamgreen/mbed,mmorenobarm/mbed-os,j-greffe/mbed-os,nRFMesh/mbed-os,infinnovation/mbed-os,HeadsUpDisplayInc/mbed,adustm/mbed,ryankurte/mbed-os,svastm/mbed,NXPmicro/mbed,NXPmicro/mbed,mazimkhan/mbed-os,c1728p9/mbed-os,fvincenzo/mbed-os,radhika-raghavendran/mbed-os5.1-onsemi,betzw/mbed-os,ryankurte/mbed-os,mmorenobarm/mbed-os,pradeep-gr/mbed-os5-onsemi,svastm/mbed,rgrover/mbed,mikaleppanen/mbed-os,mmorenobarm/mbed-os,andcor02/mbed-os,tung7970/mbed-os,pradeep-gr/mbed-os5-onsemi,catiedev/mbed-os,monkiineko/mbed-os,RonEld/mbed,ryankurte/mbed-os,bcostm/mbed-os,jeremybrodt/mbed,geky/mbed,cvtsi2sd/mbed-os,c1728p9/mbed-os,bulislaw/mbed-os,mazimkhan/mbed-os,betzw/mbed-os,screamerbg/mbed,NXPmicro/mbed,j-greffe/mbed-os,bcostm/mbed-os,NXPmicro/mbed,adustm/mbed,maximmbed/mbed,YarivCol/mbed-os,pradeep-gr/mbed-os5-onsemi,RonEld/mbed,kl-cruz/mbed-os,netzimme/mbed-os,kl-cruz/mbed-os,andcor02/mbed-os,kl-cruz/mbed-os,CalSol/mbed,arostm/mbed-os,maximmbed/mbed,arostm/mbed-os,Archcady/mbed-os,andcor02/mbed-os,kjbracey-arm/mbed,adustm/mbed,bulislaw/mbed-os,svogl/mbed-os,fahhem/mbed-os,fanghuaqi/mbed,fanghuaqi/mbed,rgrover/mbed,c1728p9/mbed-os,YarivCol/mbed-os,tung7970/mbed-os-1,netzimme/mbed-os,svogl/mbed-os,jeremybrodt/mbed,arostm/mbed-os,monkiineko/mbed-os,c1728p9/mbed-os,nvlsianpu/mbed,mbedmicro/mbed,NXPmicro/mbed,maximmbed/mbed,mazimkhan/mbed-os,andcor02/mbed-os,c1728p9/mbed-os,CalSol/mbed,YarivCol/mbed-os,radhika-raghavendran/mbed-os5.1-onsemi,mbedmicro/mbed,radhika-raghavendran/mbed-os5.1-onsemi,karsev/mbed-os,mmorenobarm/mbed-os,karsev/mbed-os,bcostm/mbed-os,monkiineko/mbed-os,nvlsianpu/mbed,tung7970/mbed-os,adamgreen/mbed,theotherjimmy/mbed,Archcady/mbed-os,rgrover/mbed,CalSol/mbed,andreaslarssonublox/mbed,mbedmicro/mbed,arostm/mbed-os,YarivCol/mbed-os,nvlsianpu/mbed,HeadsUpDisplayInc/mbed,kjbracey-arm/mbed,kjbracey-arm/mbed,adustm/mbed,monkiineko/mbed-os,andreaslarssonublox/mbed,adustm/mbed,jeremybrodt/mbed,nvlsianpu/mbed,fvincenzo/mbed-os,theotherjimmy/mbed,tung7970/mbed-os,svogl/mbed-os,maximmbed/mbed,fvincenzo/mbed-os,betzw/mbed-os,j-greffe/mbed-os,geky/mbed,nvlsianpu/mbed,cvtsi2sd/mbed-os,maximmbed/mbed,catiedev/mbed-os,rgrover/mbed,andreaslarssonublox/mbed,fahhem/mbed-os,mbedmicro/mbed,YarivCol/mbed-os,fvincenzo/mbed-os,j-greffe/mbed-os,RonEld/mbed,ryankurte/mbed-os,svastm/mbed,tung7970/mbed-os-1,andreaslarssonublox/mbed,bcostm/mbed-os,bulislaw/mbed-os,svogl/mbed-os,bcostm/mbed-os,geky/mbed,adamgreen/mbed,infinnovation/mbed-os,ryankurte/mbed-os,screamerbg/mbed,radhika-raghavendran/mbed-os5.1-onsemi,Archcady/mbed-os,screamerbg/mbed,jeremybrodt/mbed,j-greffe/mbed-os,infinnovation/mbed-os,HeadsUpDisplayInc/mbed,arostm/mbed-os,nRFMesh/mbed-os,mmorenobarm/mbed-os,radhika-raghavendran/mbed-os5.1-onsemi,andcor02/mbed-os,mazimkhan/mbed-os,karsev/mbed-os,infinnovation/mbed-os,svastm/mbed,karsev/mbed-os,svogl/mbed-os,tung7970/mbed-os,bcostm/mbed-os,screamerbg/mbed,adamgreen/mbed,HeadsUpDisplayInc/mbed,tung7970/mbed-os-1,mazimkhan/mbed-os,andcor02/mbed-os,adamgreen/mbed,mmorenobarm/mbed-os,tung7970/mbed-os-1,CalSol/mbed,tung7970/mbed-os,theotherjimmy/mbed,infinnovation/mbed-os,svastm/mbed,adustm/mbed,theotherjimmy/mbed,kjbracey-arm/mbed,HeadsUpDisplayInc/mbed,CalSol/mbed,fanghuaqi/mbed,cvtsi2sd/mbed-os,fahhem/mbed-os