Numworks-zeta-os/chatgpt-try/firmware.ld

28 lines
313 B
Plaintext

ENTRY(Reset_Handler)
MEMORY
{
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 256K
}
SECTIONS
{
.text :
{
*(.text)
*(.text.*)
} > FLASH
.data :
{
*(.data)
*(.data.*)
} > RAM AT > FLASH
.bss :
{
*(.bss)
*(.bss.*)
} > RAM
}