Skip to content

Commit fbdd223

Browse files
committed
Fix for nRF51-DK extra labels (target support)
1 parent 28113a6 commit fbdd223

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

workspace_tools/targets.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,15 +1337,15 @@ def __init__(self):
13371337
class NRF51_DK_BOOT(MCU_NRF51_32K_BOOT):
13381338
def __init__(self):
13391339
MCU_NRF51_32K_BOOT.__init__(self)
1340-
self.extra_labels = ['NRF51_DK']
1340+
self.extra_labels += ['NRF51_DK']
13411341
self.macros += ['TARGET_NRF51_DK']
13421342
self.supported_toolchains = ["ARM", "GCC_ARM"]
13431343
self.supported_form_factors = ["ARDUINO"]
13441344

13451345
class NRF51_DK_OTA(MCU_NRF51_32K_OTA):
13461346
def __init__(self):
13471347
MCU_NRF51_32K_OTA.__init__(self)
1348-
self.extra_labels = ['NRF51_DK']
1348+
self.extra_labels += ['NRF51_DK']
13491349
self.macros += ['TARGET_NRF51_DK']
13501350
self.supported_toolchains = ["ARM", "GCC_ARM"]
13511351
self.supported_form_factors = ["ARDUINO"]
@@ -1357,13 +1357,13 @@ def __init__(self):
13571357
class NRF51_DONGLE_BOOT(MCU_NRF51_32K_BOOT):
13581358
def __init__(self):
13591359
MCU_NRF51_32K_BOOT.__init__(self)
1360-
self.extra_labels = ['NRF51_DONGLE']
1360+
self.extra_labels += ['NRF51_DONGLE']
13611361
self.macros += ['TARGET_NRF51_DONGLE']
13621362

13631363
class NRF51_DONGLE_OTA(MCU_NRF51_32K_OTA):
13641364
def __init__(self):
13651365
MCU_NRF51_32K_OTA.__init__(self)
1366-
self.extra_labels = ['NRF51_DONGLE']
1366+
self.extra_labels += ['NRF51_DONGLE']
13671367
self.macros += ['TARGET_NRF51_DONGLE']
13681368

13691369
class NRF51_MICROBIT(MCU_NRF51_16K_S110):

0 commit comments

Comments
 (0)