Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 286abed

Browse files
donghengdongheng
authored andcommitted
fix(esptool_py): Fix generating binary error when disable rom print
1 parent 07d80fa commit 286abed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/esptool_py/Makefile.projbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ESPTOOL_ELF2IMAGE_OPTIONS :=
4949
endif
5050

5151
ifdef CONFIG_DISABLE_ROM_UART_PRINT
52-
ESPTOOL_ELF2IMAGE_OPTIONS := $(ESPTOOL_FLASH_OPTIONS) --rom_print 0
52+
ESPTOOL_ELF2IMAGE_OPTIONS += --rom_print 0
5353
endif
5454

5555
ESPTOOLPY_WRITE_FLASH=$(ESPTOOLPY_SERIAL) write_flash $(if $(CONFIG_ESPTOOLPY_COMPRESSED),-z,-u) $(ESPTOOL_WRITE_FLASH_OPTIONS)

0 commit comments

Comments
 (0)