2025-06-10 21:12:18 +02:00

18 lines
362 B
Plaintext

MEMORY
{
/* STM32F042C4T6 specific memory layout */
FLASH : ORIGIN = 0x08000000, LENGTH = 16K
RAM : ORIGIN = 0x20000000, LENGTH = 6K
}
/* Stack grows downward from end of RAM */
_stack_start = ORIGIN(RAM) + LENGTH(RAM);
/* Custom sections for USB descriptors if needed */
SECTIONS
{
.usb_descriptors :
{
KEEP(*(.usb_descriptors.*));
} > FLASH
}