Skip to content

Commit 167456e

Browse files
committed
Change target name not use low cases
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.
1 parent b988a53 commit 167456e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

workspace_tools/build_release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
('MAXWSNENV', ('ARM', 'GCC_ARM', 'IAR')),
106106
('MAX32600MBED', ('ARM', 'GCC_ARM', 'IAR')),
107107

108-
('WIZwiki_W7500', ('ARM', 'uARM')),
108+
('WIZWIKI_W7500', ('ARM', 'uARM')),
109109
)
110110

111111

workspace_tools/targets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def init_hooks(self, hook, toolchain_name):
7171
pass
7272
##WIZnet
7373

74-
class WIZwiki_W7500(Target):
74+
class WIZWIKI_W7500(Target):
7575
def __init__(self):
7676
Target.__init__(self)
7777
self.core = "Cortex-M0"
@@ -1254,7 +1254,7 @@ def __init__(self):
12541254
TARGETS = [
12551255

12561256
### WIZnet ###
1257-
WIZwiki_W7500(),
1257+
WIZWIKI_W7500(),
12581258

12591259
### NXP ###
12601260
LPC11C24(),

0 commit comments

Comments
 (0)