Merge branch 'bugfix/fix_disable_rom_printf' into 'master'

Fix generating binary error when disable rom print

See merge request sdk/ESP8266_RTOS_SDK!936
This commit is contained in:
Dong Heng
2019-05-13 09:54:15 +08:00

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)