mirror of https://github.com/ARMmbed/mbed-os.git
[nRF51822] Fixed support for Nordic parts with 16k RAM
parent
82ec8c2c4d
commit
2009f7e8d1
|
@ -469,6 +469,36 @@ class NRF51822(Target):
|
||||||
sdh.tofile(f, format='hex')
|
sdh.tofile(f, format='hex')
|
||||||
|
|
||||||
|
|
||||||
|
class ARCH_BLE(NRF51822):
|
||||||
|
def __init__(self):
|
||||||
|
NRF51822.__init__(self)
|
||||||
|
self.extra_labels = ['NORDIC', 'MCU_NRF51822', 'MCU_NORDIC_16K']
|
||||||
|
self.macros = ['TARGET_NRF51822']
|
||||||
|
self.supported_form_factors = ["ARDUINO"]
|
||||||
|
|
||||||
|
|
||||||
|
class HRM1017(NRF51822):
|
||||||
|
def __init__(self):
|
||||||
|
NRF51822.__init__(self)
|
||||||
|
self.extra_labels = ['NORDIC', 'MCU_NRF51822', 'MCU_NORDIC_16K']
|
||||||
|
self.macros = ['TARGET_NRF51822']
|
||||||
|
|
||||||
|
|
||||||
|
class RBLAB_NRF51822(NRF51822):
|
||||||
|
def __init__(self):
|
||||||
|
NRF51822.__init__(self)
|
||||||
|
self.extra_labels = ['NORDIC', 'MCU_NRF51822', 'MCU_NORDIC_16K']
|
||||||
|
self.macros = ['TARGET_NRF51822']
|
||||||
|
|
||||||
|
|
||||||
|
class NRF51_DK(NRF51822):
|
||||||
|
def __init__(self):
|
||||||
|
NRF51822.__init__(self)
|
||||||
|
self.extra_labels = ['NORDIC', 'MCU_NRF51822', 'MCU_NORDIC_32K']
|
||||||
|
self.macros = ['TARGET_NRF51822']
|
||||||
|
self.supported_form_factors = ["ARDUINO"]
|
||||||
|
|
||||||
|
|
||||||
class LPC1549(LPCTarget):
|
class LPC1549(LPCTarget):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
LPCTarget.__init__(self)
|
LPCTarget.__init__(self)
|
||||||
|
@ -541,20 +571,6 @@ class XADOW_M0(LPCTarget):
|
||||||
self.default_toolchain = "uARM"
|
self.default_toolchain = "uARM"
|
||||||
|
|
||||||
|
|
||||||
class ARCH_BLE(NRF51822):
|
|
||||||
def __init__(self):
|
|
||||||
NRF51822.__init__(self)
|
|
||||||
self.extra_labels = ['NORDIC', 'MCU_NRF51822', 'MCU_NORDIC_16K']
|
|
||||||
self.macros = ['TARGET_NRF51822']
|
|
||||||
self.supported_form_factors = ["ARDUINO"]
|
|
||||||
|
|
||||||
class NRF51_DK(NRF51822):
|
|
||||||
def __init__(self):
|
|
||||||
NRF51822.__init__(self)
|
|
||||||
self.extra_labels = ['NORDIC', 'MCU_NRF51822', 'MCU_NORDIC_32K']
|
|
||||||
self.macros = ['TARGET_NRF51822']
|
|
||||||
self.supported_form_factors = ["ARDUINO"]
|
|
||||||
|
|
||||||
class ARCH_PRO(LPCTarget):
|
class ARCH_PRO(LPCTarget):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
LPCTarget.__init__(self)
|
LPCTarget.__init__(self)
|
||||||
|
@ -580,13 +596,6 @@ class LPCCAPPUCCINO(LPC11U37_501):
|
||||||
LPC11U37_501.__init__(self)
|
LPC11U37_501.__init__(self)
|
||||||
|
|
||||||
|
|
||||||
class HRM1017(NRF51822):
|
|
||||||
def __init__(self):
|
|
||||||
NRF51822.__init__(self)
|
|
||||||
self.extra_labels = ['NORDIC', 'MCU_NRF51822']
|
|
||||||
self.macros = ['TARGET_NRF51822']
|
|
||||||
|
|
||||||
|
|
||||||
class ARM_MPS2(Target):
|
class ARM_MPS2(Target):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
Target.__init__(self)
|
Target.__init__(self)
|
||||||
|
@ -596,13 +605,6 @@ class ARM_MPS2(Target):
|
||||||
self.default_toolchain = "ARM"
|
self.default_toolchain = "ARM"
|
||||||
|
|
||||||
|
|
||||||
class RBLAB_NRF51822(NRF51822):
|
|
||||||
def __init__(self):
|
|
||||||
NRF51822.__init__(self)
|
|
||||||
self.extra_labels = ['NORDIC', 'MCU_NRF51822']
|
|
||||||
self.macros = ['TARGET_NRF51822']
|
|
||||||
|
|
||||||
|
|
||||||
class OC_MBUINO(LPC11U24):
|
class OC_MBUINO(LPC11U24):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
LPC11U24.__init__(self)
|
LPC11U24.__init__(self)
|
||||||
|
|
Loading…
Reference in New Issue