fix(esptool_py): Fix generating binary error when disable rom print

This commit is contained in:
dongheng
2019-05-13 09:50:41 +08:00
parent 07d80fa96d
commit 286abed96c

View File

@ -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)