bluepill.ld linker script: remove data region, remnant of pill duck

This commit is contained in:
Satoshi N. M 2018-01-12 23:07:17 -08:00
parent b5d8f45f60
commit 71c0b67f53

View File

@ -20,21 +20,9 @@
/* Define memory regions. */
MEMORY
{
rom (rx) : ORIGIN = 0x08000000, LENGTH = 8K
data (rwx) : ORIGIN = 0x08002000, LENGTH = 128K-8K
rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
}
SECTIONS
{
.user_data (NOLOAD) :
{
. = ALIGN(4);
*(.user_data)
. = ALIGN(4);
} > data
}
/* Include the common ld script from libopenstm32. */
INCLUDE libopencm3_stm32f1.ld