mirror of
https://github.com/satoshinm/pill_6502.git
synced 2024-12-27 17:29:19 +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. */
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user