targets/swan: rename group build tag stm32l4x5 => stm32l4y5 to avoid clash with stm32 device name

Previously, there was no specific stm32f4r5.svd in lib/stm32-svd,
just stm32f4x5.svd was used; now, both files are present. This means
that the existing build-tag stm32f4r5 will include the
device/stm32/stm32f4r5.go file, and the additional build-tag stm32f4x5
would include the device/stm32/stm32f4x5.go file as well, resulting
in build conflicts. Renaming just the tag, which is used in src/machine,
and src/runtime, into stm32f4y5 solves this issue.
This commit is contained in:
Michael Teichgräber
2026-02-23 16:35:07 +01:00
committed by deadprogram
parent f3b79c412f
commit b0ea05a853
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build stm32l4x5
//go:build stm32l4y5
package machine
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build stm32 && stm32l4x5
//go:build stm32 && stm32l4y5
package runtime
+1 -1
View File
@@ -1,6 +1,6 @@
{
"inherits": ["cortex-m4"],
"build-tags": ["swan", "stm32l4r5", "stm32l4x5", "stm32l4", "stm32"],
"build-tags": ["swan", "stm32l4r5", "stm32l4y5", "stm32l4", "stm32"],
"serial": "uart",
"linkerscript": "targets/stm32l4x5.ld",
"extra-files": [