rp2040

RP2040 Programming without SDK
Log | Files | Refs

memmap.ld (342B)


      1 MEMORY
      2 {
      3 	FLASH(rx) : ORIGIN = 0x10000000, LENGTH = 2048k
      4 	SRAM(rwx) : ORIGIN = 0x20000000, LENGTH = 264k
      5 }
      6 
      7 SECTIONS
      8 {
      9 	.boot2 : {
     10 		*(.boot2)
     11 		. = 0x100;
     12 	} > FLASH
     13 
     14 	.vectors : {
     15 		*(.vectors)
     16 		. += SIZEOF(.vectors);
     17 		. = ALIGN(2);
     18 		text_start = .;
     19 	} > FLASH
     20 
     21 	.text : {
     22 		*(.text)
     23 	} > SRAM AT > FLASH
     24 	text_size = SIZEOF(.text);
     25 }
     26