Libopencm3 blink template, simplified for only bluepill/stm32f1 target as a base template for stm32f1 projects
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
445 B

* Generic linker script that works for ~all STM32 devices
* ~all STM32 devices have flash at 0x08000000 and at least 8K
* ~all STM32 devices have ram at 0x200000000 and at least 2K
* This is enough for miniblink, but if you try and copy this to your own
* projects, "You're gonna have a bad day"
rom (rx) : ORIGIN = 0x08000000, LENGTH = 8K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 2K
INCLUDE ./cortex-m-generic.ld