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.
This commit is contained in:
parent
1dcf88efb2
commit
15ea073f64
@ -141,7 +141,7 @@ LINKFLAGS += -nostdlib -lgcc -u ets_run -Wl,-gc-sections # -Wl,--print-gc-sectio
|
|||||||
FLASHFILE ?= $(ELFFILE)
|
FLASHFILE ?= $(ELFFILE)
|
||||||
|
|
||||||
# configure preflasher to convert .elf to .bin before flashing
|
# configure preflasher to convert .elf to .bin before flashing
|
||||||
FLASH_SIZE = -fs 1MB
|
FLASH_SIZE = -fs 8m
|
||||||
PREFLASHER ?= esptool.py
|
PREFLASHER ?= esptool.py
|
||||||
PREFFLAGS ?= elf2image $(FLASH_SIZE) $(FLASHFILE)
|
PREFFLAGS ?= elf2image $(FLASH_SIZE) $(FLASHFILE)
|
||||||
FLASHDEPS += preflash
|
FLASHDEPS += preflash
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user