From b817848567f3e0fefd3ae3a7db0ed3b2a86cf716 Mon Sep 17 00:00:00 2001 From: minicx Date: Wed, 25 Jun 2025 04:58:52 +0300 Subject: [PATCH] stm32: enable 64KiB bootloader for n32g45x, clarify Makefile output - Allow selection of 64KiB bootloader offset for MACH_N32G45x in Kconfig Signed-off-by: Lev Voronov Co-authored-by: Alexander Simonov --- src/stm32/Kconfig | 2 +- src/stm32/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stm32/Kconfig b/src/stm32/Kconfig index 8a7afc3d..1e0df93d 100644 --- a/src/stm32/Kconfig +++ b/src/stm32/Kconfig @@ -302,7 +302,7 @@ choice config STM32_FLASH_START_C000 bool "48KiB bootloader" if MACH_STM32F4x5 || MACH_STM32F401 config STM32_FLASH_START_10000 - bool "64KiB bootloader" if MACH_STM32F103 || MACH_STM32F4 + bool "64KiB bootloader" if MACH_STM32F103 || MACH_STM32F4 || MACH_N32G45x config STM32_FLASH_START_800 bool "2KiB bootloader" if MACH_STM32F103 diff --git a/src/stm32/Makefile b/src/stm32/Makefile index 0ee71dcf..3c158d51 100644 --- a/src/stm32/Makefile +++ b/src/stm32/Makefile @@ -94,7 +94,7 @@ src-$(CONFIG_HAVE_GPIO_SDIO) += stm32/sdio.c target-y += $(OUT)klipper.bin $(OUT)klipper.bin: $(OUT)klipper.elf - @echo " Creating hex file $@" + @echo " Creating bin file $@" $(Q)$(OBJCOPY) -O binary $< $@ # Flash rules