Skip to content

Commit 6c3a658

Browse files
committed
Update targets.py
Make armcc the default compiler for atmel boards
1 parent 85fa2f3 commit 6c3a658

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

workspace_tools/targets.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,7 +1601,7 @@ def __init__(self):
16011601
self.extra_labels = ['Atmel', 'SAM_CortexM0+', 'SAMR21']
16021602
self.macros = ['__SAMR21G18A__', 'I2C_MASTER_CALLBACK_MODE=true', 'EXTINT_CALLBACK_MODE=true', 'USART_CALLBACK_MODE=true', 'TC_ASYNC=true']
16031603
self.supported_toolchains = ["GCC_ARM"]
1604-
self.default_toolchain = "GCC_ARM"
1604+
self.default_toolchain = "ARM"
16051605

16061606
class SAMD21J18A(Target):
16071607
def __init__(self):
@@ -1610,7 +1610,7 @@ def __init__(self):
16101610
self.extra_labels = ['Atmel', 'SAM_CortexM0+', 'SAMD21']
16111611
self.macros = ['__SAMD21J18A__', 'I2C_MASTER_CALLBACK_MODE=true', 'EXTINT_CALLBACK_MODE=true', 'USART_CALLBACK_MODE=true', 'TC_ASYNC=true']
16121612
self.supported_toolchains = ["GCC_ARM"]
1613-
self.default_toolchain = "GCC_ARM"
1613+
self.default_toolchain = "ARM"
16141614

16151615
class SAMD21G18A(Target):
16161616
def __init__(self):
@@ -1619,7 +1619,7 @@ def __init__(self):
16191619
self.extra_labels = ['Atmel', 'SAM_CortexM0+', 'SAMD21']
16201620
self.macros = ['__SAMD21G18A__', 'I2C_MASTER_CALLBACK_MODE=true', 'EXTINT_CALLBACK_MODE=true', 'USART_CALLBACK_MODE=true', 'TC_ASYNC=true']
16211621
self.supported_toolchains = ["GCC_ARM"]
1622-
self.default_toolchain = "GCC_ARM"
1622+
self.default_toolchain = "ARM"
16231623

16241624

16251625
# Get a single instance for each target

0 commit comments

Comments
 (0)