Files
2023-03-14 15:37:17 +08:00

19 lines
334 B
Plaintext

/* Linker script to configure memory regions. */
SEARCH_DIR(.)
GROUP(-lgcc -lc -lnosys)
MEMORY
{
/* Put a noinit region at RAM */
NOINIT (rwx) : ORIGIN = 0x20038000, LENGTH = 0x8000
}
SECTIONS
{
.noinit (NOLOAD):
{
/* place all symbols in input sections that start with .noinit */
KEEP(*(*.noinit*))
} > NOINIT
}