summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-10-18 00:06:59 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-10-18 00:06:59 +0300
commit4d45f286ebab62fd7c7b524bdfcdf58522b911c8 (patch)
tree1e57a7b020a0b546d1bb9da133b1a0b178fdefd1
parenta0b2f48c2f501fb60ec312756fe4b17e81f94cc5 (diff)
downloadmicropython-4d45f286ebab62fd7c7b524bdfcdf58522b911c8.tar.gz
micropython-4d45f286ebab62fd7c7b524bdfcdf58522b911c8.zip
esp8266/Makefile: Use latest esptool.py flash size auto-detection.
-rw-r--r--esp8266/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/Makefile b/esp8266/Makefile
index 65a513afd6..1586c576ca 100644
--- a/esp8266/Makefile
+++ b/esp8266/Makefile
@@ -18,7 +18,7 @@ FROZEN_MPY_DIR = modules
PORT ?= /dev/ttyACM0
BAUD ?= 115200
FLASH_MODE ?= qio
-FLASH_SIZE ?= 8m
+FLASH_SIZE ?= detect
CROSS_COMPILE = xtensa-lx106-elf-
ESP_SDK = $(shell $(CC) -print-sysroot)/usr