mirror of
https://github.com/andreili/klipper.git
synced 2025-09-14 17:31:12 +02:00
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:
parent
3a11645afe
commit
b817848567
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user