aboutsummaryrefslogtreecommitdiffstats
path: root/src/rp2040/Makefile
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2024-01-20 19:58:23 -0500
committerKevin O'Connor <kevin@koconnor.net>2024-01-25 11:03:40 -0500
commit23c5b20f5ba6bbb27c3b5404f7b0912dba511eb5 (patch)
treef58c87f1aaa50480804e959365af8c9102854e1b /src/rp2040/Makefile
parent55e46aa6250382367af30d3a5e005e919d772d32 (diff)
downloadkutter-23c5b20f5ba6bbb27c3b5404f7b0912dba511eb5.tar.gz
kutter-23c5b20f5ba6bbb27c3b5404f7b0912dba511eb5.tar.xz
kutter-23c5b20f5ba6bbb27c3b5404f7b0912dba511eb5.zip
rp2040: Always link using rp2040_link.lds.S
Use the rp2040 specific linker script even when using a bootloader. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/rp2040/Makefile')
-rw-r--r--src/rp2040/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rp2040/Makefile b/src/rp2040/Makefile
index 71ed90a0..64199014 100644
--- a/src/rp2040/Makefile
+++ b/src/rp2040/Makefile
@@ -55,7 +55,7 @@ $(OUT)klipper.bin: $(OUT)klipper.elf
$(Q)$(OBJCOPY) -O binary $< $@
rptarget-$(CONFIG_RP2040_HAVE_BOOTLOADER) := $(OUT)klipper.bin
-rplink-$(CONFIG_RP2040_HAVE_BOOTLOADER) := $(OUT)src/generic/armcm_link.ld
+rplink-$(CONFIG_RP2040_HAVE_BOOTLOADER) := $(OUT)src/rp2040/rp2040_link.ld
# Set klipper.elf linker rules
target-y += $(rptarget-y)