mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 04:53:42 +00:00
stm32: add blues wireless swan
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
|
||||
MEMORY
|
||||
{
|
||||
FLASH_TEXT (rx) : ORIGIN = 0x08000000, LENGTH = 2048K
|
||||
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 640K
|
||||
}
|
||||
|
||||
_stack_size = 4K;
|
||||
|
||||
INCLUDE "targets/arm.ld"
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"inherits": ["cortex-m4"],
|
||||
"build-tags": ["swan", "stm32l4r5", "stm32l4x5", "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"
|
||||
}
|
||||
Reference in New Issue
Block a user