mirror of https://github.com/ARMmbed/mbed-os.git
8d284cb4b6
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> |
||
---|---|---|
.. | ||
.cproject.tmpl | ||
.project.tmpl | ||
K64F_cproject.tmpl | ||
LPC11U37H_401_cproject.tmpl | ||
LPC546XX_cproject.tmpl | ||
LPC824_cproject.tmpl | ||
LPC1549_cproject.tmpl | ||
LPC54114_cproject.tmpl | ||
__init__.py | ||
arch_pro_cproject.tmpl | ||
lpc11u35_401_cproject.tmpl | ||
lpc11u35_501_cproject.tmpl | ||
lpc11u68_cproject.tmpl | ||
lpc1114_cproject.tmpl | ||
lpc1768_cproject.tmpl | ||
lpc1769_cproject.tmpl | ||
lpc4088_cproject.tmpl | ||
lpc4088_dm_cproject.tmpl | ||
lpc4330_m4_cproject.tmpl | ||
lpccappuccino_cproject.tmpl | ||
makefile.targets.tmpl | ||
mbedignore.tmpl | ||
ublox_c027_cproject.tmpl |