stm32: add support for the STM32L031G6U6

This commit is contained in:
Ayke van Laethem
2025-05-27 21:50:28 +02:00
committed by Ron Evans
parent 1b5d312c68
commit 20e62dea6f
4 changed files with 49 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
MEMORY
{
FLASH_TEXT (rx) : ORIGIN = 0x08000000, LENGTH = 32K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 8K
}
_stack_size = 2K;
INCLUDE "targets/arm.ld"
+18
View File
@@ -0,0 +1,18 @@
{
"inherits": [
"cortex-m0plus"
],
"build-tags": [
"stm32l031",
"stm32l0x1",
"stm32l0",
"stm32"
],
"linkerscript": "targets/stm32l031x6.ld",
"extra-files": [
"src/device/stm32/stm32l0x1.s"
],
"flash-method": "openocd",
"openocd-interface": "cmsis-dap",
"openocd-target": "stm32l0"
}