diff --git a/core/Makefile b/core/Makefile index c24d61dad..99125fbea 100644 --- a/core/Makefile +++ b/core/Makefile @@ -348,7 +348,7 @@ else endif flash_combine: $(PRODTEST_BUILD_DIR)/combined.bin ## flash combined using OpenOCD - $(OPENOCD) -c "init; reset halt; flash write_image erase $< $(FLASH_START); exit" + $(OPENOCD) -c "init; reset halt; flash write_image erase $< $(BOARDLOADER_START); exit" flash_erase: ## erase all sectors in flash bank 0 $(OPENOCD) -c "init; reset halt; flash info 0; flash erase_sector 0 0 last; flash erase_check 0; exit"