1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00

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
This commit is contained in:
Gaëtan Harter 2019-06-05 12:09:58 +02:00
parent 90a9adbbda
commit 422644bd3a
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -132,7 +132,7 @@ LINKFLAGS += -Wl,--warn-unresolved-symbols
FLASHFILE ?= $(ELFFILE)
# configure preflasher to convert .elf to .bin before flashing
FLASH_SIZE = -fs 8m
FLASH_SIZE = -fs 1MB
PREFLASHER ?= esptool.py
PREFFLAGS ?= elf2image $(FLASH_SIZE) $(FLASHFILE)
FLASHDEPS += preflash