stm32: add blues wireless swan

This commit is contained in:
Kenneth Bell
2022-01-09 17:03:04 +00:00
committed by Ron Evans
parent 21c76c0cb0
commit 14ce531498
11 changed files with 421 additions and 249 deletions
+10
View File
@@ -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"
+13
View File
@@ -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"
}