Skip to content

Commit 422644b

Browse files
committed
cpu/esp8266: update deprecated flash_size argument
Using flash size in megabits is deprecated by esptool. Use the new megabyte notation. WARNING: Flash size arguments in megabits like '8m' are deprecated. Please use the equivalent size '1MB'. Megabit arguments may be removed in a future release. esptool.py v2.6
1 parent 90a9adb commit 422644b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpu/esp8266/Makefile.include

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ LINKFLAGS += -Wl,--warn-unresolved-symbols
132132
FLASHFILE ?= $(ELFFILE)
133133

134134
# configure preflasher to convert .elf to .bin before flashing
135-
FLASH_SIZE = -fs 8m
135+
FLASH_SIZE = -fs 1MB
136136
PREFLASHER ?= esptool.py
137137
PREFFLAGS ?= elf2image $(FLASH_SIZE) $(FLASHFILE)
138138
FLASHDEPS += preflash

0 commit comments

Comments
 (0)