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
.project.tmpl Remove reference to "mBed" 2018-08-28 13:05:07 -05:00
K64F_cproject.tmpl
LPC11U37H_401_cproject.tmpl
LPC546XX_cproject.tmpl LPC546XX: Add support for 220MHz core speed available on LPC54628 2018-02-22 07:30:19 -06:00
LPC824_cproject.tmpl
LPC1549_cproject.tmpl
LPC54114_cproject.tmpl
__init__.py tools: export: MCUXpresso: fix case inconsistencies in .templ file names 2019-02-15 11:56:27 -06:00
arch_pro_cproject.tmpl
lpc11u35_401_cproject.tmpl
lpc11u35_501_cproject.tmpl
lpc11u68_cproject.tmpl
lpc1114_cproject.tmpl
lpc1768_cproject.tmpl
lpc1769_cproject.tmpl Added LPC1769 template file for MCUXpresso 2018-08-28 13:20:25 -05:00
lpc4088_cproject.tmpl
lpc4088_dm_cproject.tmpl
lpc4330_m4_cproject.tmpl
lpccappuccino_cproject.tmpl
makefile.targets.tmpl Remove reference to "mBed" 2018-08-28 13:05:07 -05:00
mbedignore.tmpl
ublox_c027_cproject.tmpl