mirror of
https://github.com/satoshinm/pill_6502.git
synced 2025-01-15 18:31:27 +00:00
bluepill.ld linker script: remove data region, remnant of pill duck
This commit is contained in:
parent
b5d8f45f60
commit
71c0b67f53
@ -20,21 +20,9 @@
|
|||||||
/* Define memory regions. */
|
/* Define memory regions. */
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
rom (rx) : ORIGIN = 0x08000000, LENGTH = 8K
|
rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K
|
||||||
data (rwx) : ORIGIN = 0x08002000, LENGTH = 128K-8K
|
|
||||||
|
|
||||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
|
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 the common ld script from libopenstm32. */
|
||||||
INCLUDE libopencm3_stm32f1.ld
|
INCLUDE libopencm3_stm32f1.ld
|
||||||
|
Loading…
x
Reference in New Issue
Block a user