From 286abed96cc7031397c5551681bfd7dfe2b46ebb Mon Sep 17 00:00:00 2001 From: dongheng Date: Mon, 13 May 2019 09:50:41 +0800 Subject: [PATCH] fix(esptool_py): Fix generating binary error when disable rom print --- components/esptool_py/Makefile.projbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esptool_py/Makefile.projbuild b/components/esptool_py/Makefile.projbuild index f5ac8758..570ac635 100644 --- a/components/esptool_py/Makefile.projbuild +++ b/components/esptool_py/Makefile.projbuild @@ -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)