rp2040: Rename CONFIG_RP2040_yyy Kconfig symbols to CONFIG_RPXXXX_yyy

Rename the Kconfig symbols.  This is in preparation to adding support
for the rp2350 mcu.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2024-10-25 14:04:48 -04:00
parent 4ef21a1e9b
commit 906431bb00
6 changed files with 45 additions and 35 deletions

View File

@@ -1,4 +1,4 @@
# Additional RP2040 build rules
# Additional RPxxxx Raspberry Pi MCU build rules
# Setup the toolchain
CROSS_PREFIX=arm-none-eabi-
@@ -58,7 +58,7 @@ $(OUT)klipper.bin: $(OUT)klipper.elf
@echo " Creating bin file $@"
$(Q)$(OBJCOPY) -O binary $< $@
rptarget-$(CONFIG_RP2040_HAVE_BOOTLOADER) := $(OUT)klipper.bin
rptarget-$(CONFIG_RPXXXX_HAVE_BOOTLOADER) := $(OUT)klipper.bin
# Set klipper.elf linker rules
target-y += $(rptarget-y)