mirror of https://github.com/ARMmbed/mbed-os.git
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.pull/1171/head
parent
b988a534a5
commit
167456ebda
|
@ -105,7 +105,7 @@ OFFICIAL_MBED_LIBRARY_BUILD = (
|
||||||
('MAXWSNENV', ('ARM', 'GCC_ARM', 'IAR')),
|
('MAXWSNENV', ('ARM', 'GCC_ARM', 'IAR')),
|
||||||
('MAX32600MBED', ('ARM', 'GCC_ARM', 'IAR')),
|
('MAX32600MBED', ('ARM', 'GCC_ARM', 'IAR')),
|
||||||
|
|
||||||
('WIZwiki_W7500', ('ARM', 'uARM')),
|
('WIZWIKI_W7500', ('ARM', 'uARM')),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,7 @@ class Target:
|
||||||
pass
|
pass
|
||||||
##WIZnet
|
##WIZnet
|
||||||
|
|
||||||
class WIZwiki_W7500(Target):
|
class WIZWIKI_W7500(Target):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
Target.__init__(self)
|
Target.__init__(self)
|
||||||
self.core = "Cortex-M0"
|
self.core = "Cortex-M0"
|
||||||
|
@ -1254,7 +1254,7 @@ class EFM32HG_STK3400(Target):
|
||||||
TARGETS = [
|
TARGETS = [
|
||||||
|
|
||||||
### WIZnet ###
|
### WIZnet ###
|
||||||
WIZwiki_W7500(),
|
WIZWIKI_W7500(),
|
||||||
|
|
||||||
### NXP ###
|
### NXP ###
|
||||||
LPC11C24(),
|
LPC11C24(),
|
||||||
|
|
Loading…
Reference in New Issue