diff --git a/workspace_tools/targets.py b/workspace_tools/targets.py index 7f5926b1b6e..137478f317e 100755 --- a/workspace_tools/targets.py +++ b/workspace_tools/targets.py @@ -566,6 +566,23 @@ def __init__(self): "template": [os.path.join(os.path.dirname(__file__), 'export', 'uvision_microlib.uvproj.tmpl')], } } + +class ELEKTOR_COCORICO(LPCTarget): + def __init__(self): + LPCTarget.__init__(self) + self.core = "Cortex-M0+" + self.extra_labels = ['NXP', 'LPC81X'] + self.supported_toolchains = ["uARM", "IAR", "GCC_ARM"] + self.default_toolchain = "uARM" + self.is_disk_virtual = True + self.detect_code = ["C000"] + self.progen = { + "target":"cocorico", + "uvision": { + "template": [os.path.join(os.path.dirname(__file__), 'export', 'uvision_microlib.uvproj.tmpl')], + } + } + ### Freescale ### class KL05Z(Target): @@ -2125,6 +2142,7 @@ def __init__(self): LPC4330_M0(), LPC4337(), LPC11U37H_401(), + ELEKTOR_COCORICO(), # LPC812 ### Freescale ### KL05Z(),