mbed-os/tools/export/mcuxpresso
Naveen Kaje 8d284cb4b6 tools: export: MCUXpresso: fix case inconsistencies in .templ file names
The templ file names are both all upper case and lower case letters.
The Target Names map is usually all upper case. The match could fail
if the templ file, as we have case-sensitive comparison. Handle such
cases by perorming a case-insensitve check.

mbed export of a project to MCUXpresso could potentially always fail
irrespective of what is passed in -m option since the target names
map entry and the filename may not match. This commit fixes this issue.

Example of the issue that this commit fixes:

$ mbed export -i mcuxpresso -m lpc11u68 -v
<snip>
project.py: error: LPC11U68 not supported by mcuxpresso
<snip>
2019-02-15 11:56:27 -06:00
..
.cproject.tmpl added support for targets with extra SDK 2017-09-01 09:45:42 +02:00
.project.tmpl Remove reference to "mBed" 2018-08-28 13:05:07 -05:00
K64F_cproject.tmpl added support for targets with extra SDK 2017-09-01 09:45:42 +02:00
LPC11U37H_401_cproject.tmpl added templates for LPC4088 and LPC11H37 2017-08-16 18:11:11 +02:00
LPC546XX_cproject.tmpl LPC546XX: Add support for 220MHz core speed available on LPC54628 2018-02-22 07:30:19 -06:00
LPC824_cproject.tmpl added targets from LPCXpresso exporter 2017-08-16 18:11:53 +02:00
LPC1549_cproject.tmpl add template for LPC1549 2017-08-21 21:26:16 +02:00
LPC54114_cproject.tmpl added support for LPC54114 and LPC54608 2017-08-16 18:13:57 +02:00
__init__.py tools: export: MCUXpresso: fix case inconsistencies in .templ file names 2019-02-15 11:56:27 -06:00
arch_pro_cproject.tmpl added targets from LPCXpresso exporter 2017-08-16 18:11:53 +02:00
lpc11u35_401_cproject.tmpl added targets from LPCXpresso exporter 2017-08-16 18:11:53 +02:00
lpc11u35_501_cproject.tmpl added targets from LPCXpresso exporter 2017-08-16 18:11:53 +02:00
lpc11u68_cproject.tmpl added targets from LPCXpresso exporter 2017-08-16 18:11:53 +02:00
lpc1114_cproject.tmpl added targets from LPCXpresso exporter 2017-08-16 18:11:53 +02:00
lpc1768_cproject.tmpl added targets from LPCXpresso exporter 2017-08-16 18:11:53 +02:00
lpc1769_cproject.tmpl Added LPC1769 template file for MCUXpresso 2018-08-28 13:20:25 -05:00
lpc4088_cproject.tmpl added templates for LPC4088 and LPC11H37 2017-08-16 18:11:11 +02:00
lpc4088_dm_cproject.tmpl added targets from LPCXpresso exporter 2017-08-16 18:11:53 +02:00
lpc4330_m4_cproject.tmpl added targets from LPCXpresso exporter 2017-08-16 18:11:53 +02:00
lpccappuccino_cproject.tmpl added targets from LPCXpresso exporter 2017-08-16 18:11:53 +02:00
makefile.targets.tmpl Remove reference to "mBed" 2018-08-28 13:05:07 -05:00
mbedignore.tmpl changed template to gae exporter style 2017-08-16 18:08:41 +02:00
ublox_c027_cproject.tmpl added targets from LPCXpresso exporter 2017-08-16 18:11:53 +02:00