Skip to content

Commit cb23f2f

Browse files
committed
[EXPORT][NUCLEO_F334R8] removed accidentally 2 macros
The commit 'export to gcc_arm and coide' removed accidentally 2 macros from NRF51822 and NRF51 targets.
1 parent a7a3de3 commit cb23f2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workspace_tools/targets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ def __init__(self):
509509
Target.__init__(self)
510510
self.core = "Cortex-M0"
511511
self.extra_labels = ["NORDIC", "NRF51822_MKIT", "MCU_NRF51822", "MCU_NORDIC_16K", "NRF51822"]
512-
self.macros = ['TARGET_NRF51822']
512+
self.macros = ['TARGET_NRF51822', 'TARGET_OTA_ENABLED']
513513
self.supported_toolchains = ["ARM", "GCC_ARM"]
514514
self.is_disk_virtual = True
515515

@@ -549,7 +549,7 @@ def __init__(self):
549549
Target.__init__(self)
550550
self.core = "Cortex-M0"
551551
self.extra_labels = ['NORDIC', 'MCU_NRF51822', 'MCU_NORDIC_32K', "NRF51_DK"]
552-
self.macros = ['TARGET_NRF51822', 'TARGET_NRF51_DK']
552+
self.macros = ['TARGET_NRF51822', 'TARGET_NRF51_DK', 'TARGET_OTA_ENABLED']
553553
self.supported_toolchains = ["ARM", "GCC_ARM"]
554554
self.is_disk_virtual = True
555555

0 commit comments

Comments
 (0)