2021-06-05 00:04:36 +02:00
|
|
|
/* Linker script for LNSC-2420: STM32F0K6T6*/
|
|
|
|
|
|
|
|
/* Define memory regions. */
|
|
|
|
MEMORY
|
|
|
|
{
|
2022-09-25 15:57:05 +02:00
|
|
|
rom (rx) : ORIGIN = 0x08000000, LENGTH = 31K
|
|
|
|
conf (r) : ORIGIN = 0x08007c00, LENGTH = 1K
|
2021-06-05 00:04:36 +02:00
|
|
|
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Include the common ld script. */
|
|
|
|
INCLUDE cortex-m-generic.ld
|
|
|
|
|
2022-09-25 15:57:05 +02:00
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.conf : {
|
|
|
|
__conf_start = .;
|
|
|
|
. = ALIGN(4);
|
|
|
|
} >conf
|
|
|
|
}
|