machine: add support for the STM32U031 chip

This commit is contained in:
Ayke van Laethem
2026-05-11 16:54:48 +02:00
committed by Ron Evans
parent a7b30639d8
commit 05029c4fb5
15 changed files with 402 additions and 10 deletions
+16
View File
@@ -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"
}
+9
View File
@@ -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"