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.
pull/107/head
Bogdan Marinescu 2013-11-11 15:13:27 +02:00
parent 5b6faea448
commit b2733e9b9a
1 changed files with 12 additions and 1 deletions

View File

@ -303,6 +303,16 @@ class LPC11U35_401(Target):
self.supported_toolchains = ["ARM", "uARM", "GCC_ARM"] 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 # Get a single instance for each target
TARGETS = [ TARGETS = [
LPC2368(), LPC2368(),
@ -322,7 +332,8 @@ TARGETS = [
LPC1114(), LPC1114(),
LPC11C24(), LPC11C24(),
LPC11U35_401(), LPC11U35_401(),
LPC4088_EA() LPC4088_EA(),
nRF51822()
] ]
# Map each target name to its unique instance # Map each target name to its unique instance