From 167456ebda13ef7cf448d316f097cbacdc190d3b Mon Sep 17 00:00:00 2001 From: Toyomasa Watarai Date: Wed, 10 Jun 2015 11:22:47 +0900 Subject: [PATCH] Change target name not use low cases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rev.101 mbed library support WIZnet platfrom. However, we got build error as below by online compiler: Target “WIZWIKI_W7500” is not recognized This is because target name contained low cases (e.g. WIZwiki_W7500). The target name should be all upper case. --- workspace_tools/build_release.py | 2 +- workspace_tools/targets.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/workspace_tools/build_release.py b/workspace_tools/build_release.py index d1e9a3447a..c95862ce97 100755 --- a/workspace_tools/build_release.py +++ b/workspace_tools/build_release.py @@ -105,7 +105,7 @@ OFFICIAL_MBED_LIBRARY_BUILD = ( ('MAXWSNENV', ('ARM', 'GCC_ARM', 'IAR')), ('MAX32600MBED', ('ARM', 'GCC_ARM', 'IAR')), - ('WIZwiki_W7500', ('ARM', 'uARM')), + ('WIZWIKI_W7500', ('ARM', 'uARM')), ) diff --git a/workspace_tools/targets.py b/workspace_tools/targets.py index 32b5e5ad7b..86bf7225e3 100755 --- a/workspace_tools/targets.py +++ b/workspace_tools/targets.py @@ -71,7 +71,7 @@ class Target: pass ##WIZnet -class WIZwiki_W7500(Target): +class WIZWIKI_W7500(Target): def __init__(self): Target.__init__(self) self.core = "Cortex-M0" @@ -1254,7 +1254,7 @@ class EFM32HG_STK3400(Target): TARGETS = [ ### WIZnet ### - WIZwiki_W7500(), + WIZWIKI_W7500(), ### NXP ### LPC11C24(),