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 <minicx@disroot.org>
Co-authored-by: Alexander Simonov <me@darksimpson.com>
This commit is contained in:
minicx 2025-06-25 04:58:52 +03:00 committed by KevinOConnor
parent 3a11645afe
commit b817848567
2 changed files with 2 additions and 2 deletions

View File

@ -302,7 +302,7 @@ choice
config STM32_FLASH_START_C000 config STM32_FLASH_START_C000
bool "48KiB bootloader" if MACH_STM32F4x5 || MACH_STM32F401 bool "48KiB bootloader" if MACH_STM32F4x5 || MACH_STM32F401
config STM32_FLASH_START_10000 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 config STM32_FLASH_START_800
bool "2KiB bootloader" if MACH_STM32F103 bool "2KiB bootloader" if MACH_STM32F103

View File

@ -94,7 +94,7 @@ src-$(CONFIG_HAVE_GPIO_SDIO) += stm32/sdio.c
target-y += $(OUT)klipper.bin target-y += $(OUT)klipper.bin
$(OUT)klipper.bin: $(OUT)klipper.elf $(OUT)klipper.bin: $(OUT)klipper.elf
@echo " Creating hex file $@" @echo " Creating bin file $@"
$(Q)$(OBJCOPY) -O binary $< $@ $(Q)$(OBJCOPY) -O binary $< $@
# Flash rules # Flash rules