aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/stm32l031k6.ld
diff options
context:
space:
mode:
authorKenneth Bell <[email protected]>2021-03-22 18:14:28 -0700
committerRon Evans <[email protected]>2021-04-07 17:20:19 +0200
commita30671751faabf29a5658c90b01a84500b9ade5d (patch)
treeb72727cc666cb57cb93154c80bcaf27a51b6a159 /targets/stm32l031k6.ld
parentc246978dd7844192c414c0d95428d1d7e9a6f6a6 (diff)
downloadtinygo-a30671751faabf29a5658c90b01a84500b9ade5d.tar.gz
tinygo-a30671751faabf29a5658c90b01a84500b9ade5d.zip
stm32: add nucleo-l031k6 support
Adds i2c for all L0 series UART, Blinky (LED) and i2c tested
Diffstat (limited to 'targets/stm32l031k6.ld')
-rw-r--r--targets/stm32l031k6.ld10
1 files changed, 10 insertions, 0 deletions
diff --git a/targets/stm32l031k6.ld b/targets/stm32l031k6.ld
new file mode 100644
index 000000000..f9995bc02
--- /dev/null
+++ b/targets/stm32l031k6.ld
@@ -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" \ No newline at end of file