Fix targets.py formatting

pull/24/merge
Emilio Monti 2013-08-09 17:18:50 +01:00
parent 27d07f4a1d
commit d6c658e859
1 changed files with 67 additions and 60 deletions

View File

@ -75,9 +75,9 @@ class LPC11U24(Target):
self.core = "Cortex-M0" self.core = "Cortex-M0"
self.extra_labels = ['NXP', 'LPC11UXX'] self.extra_labels = ['NXP', 'LPC11UXX', 'LPC11U24_401']
self.supported_toolchains = ["ARM", "uARM"] self.supported_toolchains = ["ARM", "uARM", "GCC_ARM"]
class KL05Z(Target): class KL05Z(Target):
@ -151,6 +151,7 @@ class LPC4330_M0(Target):
self.supported_toolchains = ["ARM", "GCC_CR", "IAR"] self.supported_toolchains = ["ARM", "GCC_CR", "IAR"]
class LPC1800(Target): class LPC1800(Target):
def __init__(self): def __init__(self):
Target.__init__(self) Target.__init__(self)
@ -161,6 +162,7 @@ class LPC1800(Target):
self.supported_toolchains = ["ARM", "GCC_CR", "IAR"] self.supported_toolchains = ["ARM", "GCC_CR", "IAR"]
class STM32F407(Target): class STM32F407(Target):
def __init__(self): def __init__(self):
Target.__init__(self) Target.__init__(self)
@ -182,6 +184,7 @@ class MBED_MCU(Target):
self.supported_toolchains = ["ARM"] self.supported_toolchains = ["ARM"]
class LPC1347(Target): class LPC1347(Target):
def __init__(self): def __init__(self):
Target.__init__(self) Target.__init__(self)
@ -192,6 +195,7 @@ class LPC1347(Target):
self.supported_toolchains = ["ARM", "GCC_ARM"] self.supported_toolchains = ["ARM", "GCC_ARM"]
class LPC1114(Target): class LPC1114(Target):
def __init__(self): def __init__(self):
Target.__init__(self) Target.__init__(self)
@ -202,6 +206,7 @@ class LPC1114(Target):
self.supported_toolchains = ["ARM", "uARM", "GCC_ARM"] self.supported_toolchains = ["ARM", "uARM", "GCC_ARM"]
class LPC11C24(Target): class LPC11C24(Target):
def __init__(self): def __init__(self):
Target.__init__(self) Target.__init__(self)
@ -212,11 +217,13 @@ class LPC11C24(Target):
self.supported_toolchains = ["ARM", "uARM", "GCC_ARM"] self.supported_toolchains = ["ARM", "uARM", "GCC_ARM"]
# Get a single instance for each target # Get a single instance for each target
TARGETS = [ TARGETS = [
LPC2368(), LPC2368(),
LPC1768(), LPC1768(),
LPC11U24(), LPC11U24(),
LPC11U24_301(),
KL05Z(), KL05Z(),
KL25Z(), KL25Z(),
LPC812(), LPC812(),