rkbfirm/memory.x
Charlotte 🦝 Delenk 61a2db14a8
All checks were successful
continuous-integration/drone/push Build is passing
add basic code from rp2040-project-template
2022-06-30 14:36:17 +01:00

15 lines
319 B
Text

MEMORY {
BOOT2 : ORIGIN = 0x10000000, LENGTH = 0x100
FLASH : ORIGIN = 0x10000100, LENGTH = 2048K - 0x100
RAM : ORIGIN = 0x20000000, LENGTH = 256K
}
EXTERN(BOOT2_FIRMWARE)
SECTIONS {
/* ### Boot loader */
.boot2 ORIGIN(BOOT2) :
{
KEEP(*(.boot2));
} > BOOT2
} INSERT BEFORE .text;