mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
b0ea05a853
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.
13 lines
425 B
JSON
13 lines
425 B
JSON
{
|
|
"inherits": ["cortex-m4"],
|
|
"build-tags": ["swan", "stm32l4r5", "stm32l4y5", "stm32l4", "stm32"],
|
|
"serial": "uart",
|
|
"linkerscript": "targets/stm32l4x5.ld",
|
|
"extra-files": [
|
|
"src/device/stm32/stm32l4x5.s"
|
|
],
|
|
"flash-method": "command",
|
|
"flash-command": "dfu-util --alt 0 --dfuse-address 0x08000000 --download {bin}",
|
|
"openocd-interface": "stlink",
|
|
"openocd-target": "stm32l4x"
|
|
} |