MEMORY { FLASH : ORIGIN = 0x00000000, LENGTH = 512K RAM : ORIGIN = 0x20000000, LENGTH = 256K } _stack_start = ORIGIN(RAM) + LENGTH(RAM);