From 4d45f286ebab62fd7c7b524bdfcdf58522b911c8 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 18 Oct 2016 00:06:59 +0300 Subject: [PATCH] esp8266/Makefile: Use latest esptool.py flash size auto-detection. --- esp8266/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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