fix(esptool_py): Fix generating binary error when disable rom print
@@ -49,7 +49,7 @@ ESPTOOL_ELF2IMAGE_OPTIONS :=
endif
ifdef CONFIG_DISABLE_ROM_UART_PRINT
-ESPTOOL_ELF2IMAGE_OPTIONS := $(ESPTOOL_FLASH_OPTIONS) --rom_print 0
+ESPTOOL_ELF2IMAGE_OPTIONS += --rom_print 0
endif
ESPTOOLPY_WRITE_FLASH=$(ESPTOOLPY_SERIAL) write_flash $(if $(CONFIG_ESPTOOLPY_COMPRESSED),-z,-u) $(ESPTOOL_WRITE_FLASH_OPTIONS)
