mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 18:53:29 +00:00
stm32: add minimal stm32wlex5 / lorae5 target
credit to ofauchon
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"inherits": [
|
||||
"stm32wle5"
|
||||
],
|
||||
"build-tags": [
|
||||
"lorae5"
|
||||
],
|
||||
"serial": "uart",
|
||||
"flash-method": "openocd",
|
||||
"openocd-interface": "stlink-v2",
|
||||
"openocd-target": "stm32wlx"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"inherits": ["cortex-m4"],
|
||||
"build-tags": ["stm32wle5", "stm32"],
|
||||
"extra-files": [
|
||||
"src/device/stm32/stm32wle5.s"
|
||||
],
|
||||
"linkerscript": "targets/stm32wle5.ld"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
|
||||
MEMORY
|
||||
{
|
||||
FLASH_TEXT (rw) : ORIGIN = 0x08000000, LENGTH = 256K
|
||||
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K
|
||||
}
|
||||
|
||||
_stack_size = 4K;
|
||||
|
||||
INCLUDE "targets/arm.ld"
|
||||
Reference in New Issue
Block a user