Skip to content

Commit 11775ef

Browse files
committed
Force SAMD21 and SAMR21 targets to ARMC5 due to incompatibility.
The hal code for this target uses "const volatile" types inside of structs, which are non-trivially copyable in clang (used by ARMC6). This causes the build to fail. Here's the commit that changed this in clang: llvm-mirror/clang@a3d727b It seems this was reverteed some time ago in clang, but ARMC6 may not be up to date.
1 parent 8a2836f commit 11775ef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

targets/targets.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6646,7 +6646,7 @@
66466646
"TC_ASYNC=true"
66476647
],
66486648
"extra_labels": ["Atmel", "SAM_CortexM0P", "SAMR21"],
6649-
"supported_toolchains": ["GCC_ARM", "ARM", "uARM"],
6649+
"supported_toolchains": ["GCC_ARM", "ARMC5", "uARM"],
66506650
"device_has": [
66516651
"ANALOGIN",
66526652
"I2C",
@@ -6679,7 +6679,7 @@
66796679
"TC_ASYNC=true"
66806680
],
66816681
"extra_labels": ["Atmel", "SAM_CortexM0P", "SAMD21"],
6682-
"supported_toolchains": ["GCC_ARM", "ARM", "uARM"],
6682+
"supported_toolchains": ["GCC_ARM", "ARMC5", "uARM"],
66836683
"device_has": [
66846684
"ANALOGIN",
66856685
"ANALOGOUT",
@@ -6713,7 +6713,7 @@
67136713
"TC_ASYNC=true"
67146714
],
67156715
"extra_labels": ["Atmel", "SAM_CortexM0P", "SAMD21"],
6716-
"supported_toolchains": ["GCC_ARM", "ARM", "uARM"],
6716+
"supported_toolchains": ["GCC_ARM", "ARMC5", "uARM"],
67176717
"device_has": [
67186718
"ANALOGIN",
67196719
"ANALOGOUT",
@@ -6747,7 +6747,7 @@
67476747
"TC_ASYNC=true"
67486748
],
67496749
"extra_labels": ["Atmel", "SAM_CortexM0P", "SAML21"],
6750-
"supported_toolchains": ["GCC_ARM", "ARM", "uARM"],
6750+
"supported_toolchains": ["GCC_ARM", "ARMC5", "uARM"],
67516751
"device_has": [
67526752
"ANALOGIN",
67536753
"ANALOGOUT",

0 commit comments

Comments
 (0)