aboutsummaryrefslogtreecommitdiffstats
path: root/src/rp2040
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2024-10-28 13:31:10 -0400
committerKevin O'Connor <kevin@koconnor.net>2024-11-13 14:25:59 -0500
commit405935f91808addd7b8a8127bf1093d3f285e7d8 (patch)
tree179c9386ba223ccfbd5c74ae089b0bddf54ef0ba /src/rp2040
parent906431bb00b9f65c223160cf74859f4053de34a4 (diff)
downloadkutter-405935f91808addd7b8a8127bf1093d3f285e7d8.tar.gz
kutter-405935f91808addd7b8a8127bf1093d3f285e7d8.tar.xz
kutter-405935f91808addd7b8a8127bf1093d3f285e7d8.zip
rp2040: Rename rp2040_link.lds.S to rpxxxx_link.lds.S
This is in preparation for rp2350 support. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/rp2040')
-rw-r--r--src/rp2040/Makefile4
-rw-r--r--src/rp2040/main.c2
-rw-r--r--src/rp2040/rpxxxx_link.lds.S (renamed from src/rp2040/rp2040_link.lds.S)0
3 files changed, 3 insertions, 3 deletions
diff --git a/src/rp2040/Makefile b/src/rp2040/Makefile
index b9ac8e87..bad4151e 100644
--- a/src/rp2040/Makefile
+++ b/src/rp2040/Makefile
@@ -63,9 +63,9 @@ rptarget-$(CONFIG_RPXXXX_HAVE_BOOTLOADER) := $(OUT)klipper.bin
# Set klipper.elf linker rules
target-y += $(rptarget-y)
CFLAGS_klipper.elf += -nostdlib -lgcc -lc_nano
-CFLAGS_klipper.elf += -T $(OUT)src/rp2040/rp2040_link.ld
+CFLAGS_klipper.elf += -T $(OUT)src/rp2040/rpxxxx_link.ld
OBJS_klipper.elf += $(stage2-y)
-$(OUT)klipper.elf: $(stage2-y) $(OUT)src/rp2040/rp2040_link.ld
+$(OUT)klipper.elf: $(stage2-y) $(OUT)src/rp2040/rpxxxx_link.ld
# Flash rules
lib/rp2040_flash/rp2040_flash:
diff --git a/src/rp2040/main.c b/src/rp2040/main.c
index e7b64e5f..75d8760d 100644
--- a/src/rp2040/main.c
+++ b/src/rp2040/main.c
@@ -24,7 +24,7 @@
static void
enable_ram_vectortable(void)
{
- // Symbols created by rp2040_link.lds.S linker script
+ // Symbols created by rpxxxx_link.lds.S linker script
extern uint32_t _ram_vectortable_start, _ram_vectortable_end;
extern uint32_t _text_vectortable_start;
diff --git a/src/rp2040/rp2040_link.lds.S b/src/rp2040/rpxxxx_link.lds.S
index abc5be6c..abc5be6c 100644
--- a/src/rp2040/rp2040_link.lds.S
+++ b/src/rp2040/rpxxxx_link.lds.S