From b2733e9b9af906952b295cd6abcf916bf79780ab Mon Sep 17 00:00:00 2001 From: Bogdan Marinescu Date: Mon, 11 Nov 2013 15:13:27 +0200 Subject: [PATCH] Added preliminary support for nRF51822 as a target No actual files for the target, just the target definition for now, so it can't be compiled yet. --- workspace_tools/targets.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/workspace_tools/targets.py b/workspace_tools/targets.py index f61fc5dbe6..5894fe2b19 100644 --- a/workspace_tools/targets.py +++ b/workspace_tools/targets.py @@ -303,6 +303,16 @@ class LPC11U35_401(Target): self.supported_toolchains = ["ARM", "uARM", "GCC_ARM"] +class nRF51822(Target): + def __init__(self): + Target.__init__(self) + + self.core = "Cortex-M0" + + self.extra_labels = ["NORDIC"] + + self.supported_toolchains = ["ARM"] + # Get a single instance for each target TARGETS = [ LPC2368(), @@ -322,7 +332,8 @@ TARGETS = [ LPC1114(), LPC11C24(), LPC11U35_401(), - LPC4088_EA() + LPC4088_EA(), + nRF51822() ] # Map each target name to its unique instance