mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 07:23:39 +00:00
machine: add support for the STM32U031 chip
This commit is contained in:
committed by
Ron Evans
parent
a7b30639d8
commit
05029c4fb5
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"inherits": [
|
||||
"cortex-m0plus"
|
||||
],
|
||||
"build-tags": [
|
||||
"stm32u031",
|
||||
"stm32u0",
|
||||
"stm32"
|
||||
],
|
||||
"linkerscript": "targets/stm32u031x8.ld",
|
||||
"extra-files": [
|
||||
"src/device/stm32/stm32u031.s"
|
||||
],
|
||||
"flash-method": "probe-rs",
|
||||
"probe-rs-chip": "STM32U031K8Ux"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
MEMORY
|
||||
{
|
||||
FLASH_TEXT (rw) : ORIGIN = 0x08000000, LENGTH = 64K
|
||||
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 12K
|
||||
}
|
||||
|
||||
_stack_size = 2K;
|
||||
|
||||
INCLUDE "targets/arm.ld"
|
||||
Reference in New Issue
Block a user