Remove IAR from all NRF51822-based targets

pull/1569/head
Brian Daniels 2016-02-25 18:29:38 -06:00
parent 21389cdd57
commit bee5cad5ef
1 changed files with 10 additions and 16 deletions

View File

@ -1214,7 +1214,7 @@ class MCU_NRF51(Target):
self.core = "Cortex-M0" self.core = "Cortex-M0"
self.extra_labels = ["NORDIC", "MCU_NRF51", "MCU_NRF51822"] self.extra_labels = ["NORDIC", "MCU_NRF51", "MCU_NRF51822"]
self.macros = ['NRF51', 'TARGET_NRF51822'] self.macros = ['NRF51', 'TARGET_NRF51822']
self.supported_toolchains = ["ARM", "GCC_ARM", "IAR"] self.supported_toolchains = ["ARM", "GCC_ARM"]
self.is_disk_virtual = True self.is_disk_virtual = True
self.detect_code = ["1070"] self.detect_code = ["1070"]
@ -1222,7 +1222,7 @@ class MCU_NRF51(Target):
return 6 return 6
def init_hooks(self, hook, toolchain_name): def init_hooks(self, hook, toolchain_name):
if toolchain_name in ['ARM_STD', 'ARM_MICRO', 'GCC_ARM', 'IAR']: if toolchain_name in ['ARM_STD', 'GCC_ARM']:
hook.hook_add_binary("post", self.binary_hook) hook.hook_add_binary("post", self.binary_hook)
@staticmethod @staticmethod
@ -1551,7 +1551,6 @@ class WALLBOT_BLE_OTA(MCU_NRF51_16K_OTA):
class DELTA_DFCM_NNN40(MCU_NRF51_32K): class DELTA_DFCM_NNN40(MCU_NRF51_32K):
def __init__(self): def __init__(self):
MCU_NRF51_32K.__init__(self) MCU_NRF51_32K.__init__(self)
self.supported_toolchains = ["ARM", "GCC_ARM"]
self.macros += ['TARGET_NRF_LFCLK_RC'] self.macros += ['TARGET_NRF_LFCLK_RC']
self.progen = { self.progen = {
"target":"dfcm-nnn40", "target":"dfcm-nnn40",
@ -1562,7 +1561,6 @@ class DELTA_DFCM_NNN40(MCU_NRF51_32K):
class DELTA_DFCM_NNN40_BOOT(MCU_NRF51_32K_BOOT): class DELTA_DFCM_NNN40_BOOT(MCU_NRF51_32K_BOOT):
def __init__(self): def __init__(self):
MCU_NRF51_32K_BOOT.__init__(self) MCU_NRF51_32K_BOOT.__init__(self)
self.supported_toolchains = ["ARM", "GCC_ARM"]
self.extra_labels += ['DELTA_DFCM_NNN40'] self.extra_labels += ['DELTA_DFCM_NNN40']
self.macros += ['TARGET_DELTA_DFCM_NNN40', 'TARGET_NRF_LFCLK_RC'] self.macros += ['TARGET_DELTA_DFCM_NNN40', 'TARGET_NRF_LFCLK_RC']
def program_cycle_s(self): def program_cycle_s(self):
@ -1571,7 +1569,6 @@ class DELTA_DFCM_NNN40_BOOT(MCU_NRF51_32K_BOOT):
class DELTA_DFCM_NNN40_OTA(MCU_NRF51_32K_OTA): class DELTA_DFCM_NNN40_OTA(MCU_NRF51_32K_OTA):
def __init__(self): def __init__(self):
MCU_NRF51_32K_OTA.__init__(self) MCU_NRF51_32K_OTA.__init__(self)
self.supported_toolchains = ["ARM", "GCC_ARM"]
self.extra_labels += ['DELTA_DFCM_NNN40'] self.extra_labels += ['DELTA_DFCM_NNN40']
self.macros += ['TARGET_DELTA_DFCM_NNN40', 'TARGET_NRF_LFCLK_RC'] self.macros += ['TARGET_DELTA_DFCM_NNN40', 'TARGET_NRF_LFCLK_RC']
def program_cycle_s(self): def program_cycle_s(self):
@ -1580,7 +1577,6 @@ class DELTA_DFCM_NNN40_OTA(MCU_NRF51_32K_OTA):
class NRF51_DK(MCU_NRF51_32K): class NRF51_DK(MCU_NRF51_32K):
def __init__(self): def __init__(self):
MCU_NRF51_32K.__init__(self) MCU_NRF51_32K.__init__(self)
self.supported_toolchains = ["ARM", "GCC_ARM"]
self.supported_form_factors = ["ARDUINO"] self.supported_form_factors = ["ARDUINO"]
self.progen = { self.progen = {
"target":"nrf51-dk", "target":"nrf51-dk",
@ -1591,7 +1587,6 @@ class NRF51_DK_BOOT(MCU_NRF51_32K_BOOT):
MCU_NRF51_32K_BOOT.__init__(self) MCU_NRF51_32K_BOOT.__init__(self)
self.extra_labels += ['NRF51_DK'] self.extra_labels += ['NRF51_DK']
self.macros += ['TARGET_NRF51_DK'] self.macros += ['TARGET_NRF51_DK']
self.supported_toolchains = ["ARM", "GCC_ARM"]
self.supported_form_factors = ["ARDUINO"] self.supported_form_factors = ["ARDUINO"]
class NRF51_DK_OTA(MCU_NRF51_32K_OTA): class NRF51_DK_OTA(MCU_NRF51_32K_OTA):
@ -1599,7 +1594,6 @@ class NRF51_DK_OTA(MCU_NRF51_32K_OTA):
MCU_NRF51_32K_OTA.__init__(self) MCU_NRF51_32K_OTA.__init__(self)
self.extra_labels += ['NRF51_DK'] self.extra_labels += ['NRF51_DK']
self.macros += ['TARGET_NRF51_DK'] self.macros += ['TARGET_NRF51_DK']
self.supported_toolchains = ["ARM", "GCC_ARM"]
self.supported_form_factors = ["ARDUINO"] self.supported_form_factors = ["ARDUINO"]
class NRF51_DONGLE(MCU_NRF51_32K): class NRF51_DONGLE(MCU_NRF51_32K):