aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32')
-rw-r--r--src/stm32/Kconfig4
-rw-r--r--src/stm32/Makefile2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/stm32/Kconfig b/src/stm32/Kconfig
index 364fd9fb..83bf6449 100644
--- a/src/stm32/Kconfig
+++ b/src/stm32/Kconfig
@@ -248,7 +248,7 @@ choice
config STM32_FLASH_START_0000
bool "No bootloader"
endchoice
-config FLASH_START
+config FLASH_APPLICATION_ADDRESS
hex
default 0x8000800 if STM32_FLASH_START_800
default 0x8001000 if STM32_FLASH_START_1000
@@ -266,7 +266,7 @@ config FLASH_START
config ARMCM_RAM_VECTORTABLE
bool
- default y if MACH_STM32F0 && FLASH_START != 0x8000000
+ default y if MACH_STM32F0 && FLASH_APPLICATION_ADDRESS != 0x8000000
default n
diff --git a/src/stm32/Makefile b/src/stm32/Makefile
index 9642eabd..d9efd085 100644
--- a/src/stm32/Makefile
+++ b/src/stm32/Makefile
@@ -94,7 +94,7 @@ lib/hidflash/hid-flash:
flash: $(OUT)klipper.bin lib/hidflash/hid-flash
@echo " Flashing $< to $(FLASH_DEVICE)"
- $(Q)$(PYTHON) ./scripts/flash_usb.py -t $(CONFIG_MCU) -d "$(FLASH_DEVICE)" -s "$(CONFIG_FLASH_START)" $(if $(NOSUDO),--no-sudo) $(OUT)klipper.bin
+ $(Q)$(PYTHON) ./scripts/flash_usb.py -t $(CONFIG_MCU) -d "$(FLASH_DEVICE)" -s "$(CONFIG_FLASH_APPLICATION_ADDRESS)" $(if $(NOSUDO),--no-sudo) $(OUT)klipper.bin
serialflash: $(OUT)klipper.bin
@echo " Flashing $< to $(FLASH_DEVICE) via stm32flash"