From 15ea073f64f5db5502f2e231a3a24d4559f16e1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= Date: Mon, 16 Sep 2019 15:58:26 +0200 Subject: [PATCH] Revert "cpu/esp8266: update deprecated flash_size argument" This reverts commit 422644bd3a1d4247ae74253ca2fa50d7d59fbd1b. The option is only supported after 2.6 which is currently not the version given with 'esp' toolchain. It was a bit too early to switch to the new version. Version 2.7 also supports the old option with only a warning. --- cpu/esp8266/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/esp8266/Makefile.include b/cpu/esp8266/Makefile.include index 98122c0240..6415d899a4 100644 --- a/cpu/esp8266/Makefile.include +++ b/cpu/esp8266/Makefile.include @@ -141,7 +141,7 @@ LINKFLAGS += -nostdlib -lgcc -u ets_run -Wl,-gc-sections # -Wl,--print-gc-sectio FLASHFILE ?= $(ELFFILE) # configure preflasher to convert .elf to .bin before flashing -FLASH_SIZE = -fs 1MB +FLASH_SIZE = -fs 8m PREFLASHER ?= esptool.py PREFFLAGS ?= elf2image $(FLASH_SIZE) $(FLASHFILE) FLASHDEPS += preflash