diff options
author | Ayke van Laethem <[email protected]> | 2018-09-22 01:51:44 +0200 |
---|---|---|
committer | Ayke van Laethem <[email protected]> | 2018-09-22 01:51:44 +0200 |
commit | dd5b5a381cf336ebdaf8fe1ac43fbf5d16c4aecd (patch) | |
tree | c8e7ae82c9e9a4de70267763ce47afa6c1f17389 /targets/stm32.ld | |
parent | 12298d23a776e2e8051e5b8f63591e7e5c9864c3 (diff) | |
download | tinygo-dd5b5a381cf336ebdaf8fe1ac43fbf5d16c4aecd.tar.gz tinygo-dd5b5a381cf336ebdaf8fe1ac43fbf5d16c4aecd.zip |
stm32: initial support
Diffstat (limited to 'targets/stm32.ld')
-rw-r--r-- | targets/stm32.ld | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/targets/stm32.ld b/targets/stm32.ld new file mode 100644 index 000000000..2953742ef --- /dev/null +++ b/targets/stm32.ld @@ -0,0 +1,10 @@ + +MEMORY +{ + FLASH_TEXT (rw) : ORIGIN = 0x08000000, LENGTH = 64K + RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 20K +} + +_stack_size = 2K; + +INCLUDE "targets/arm.ld" |