← index #12024Issue #3508
Related · high · value 2.521
QUERY · ISSUE

esp8266-12f 4M flash need be supported

openby woodgreatopened 2023-07-16updated 2025-01-22
bug

esp8266-12f 4M flash need be supported . My develop board main MCU is esp8266-12f ,But I checked the download page of our main site ,MicroPython.org ,we just support flash 2M of 8266 board firmware ,So can use add 4M version firmware ? thank you !

CANDIDATE · ISSUE

Support for Dual Out flash mode (Support for ESP8285)

closedby maribuopened 2017-12-20updated 2018-05-08

Hi,

the ESP8285 is basically and ESP8266 with 1MiB of flash integrated. Thus, the MicroPython ESP8266 port should support it out of the box. Sadly, the integrated flash can only be used in Dual Out mode according to its data sheet. This behavior is also observed in the Tasmota firmware.

The good thing about DOUT flash mode is, that it seems to be supported by every ESP82* device and flash combination, according to the Tasmota Wiki. Sadly, it seems to be also the slowest.

So it would be nice to be able to configure the build to use a specific flash mode. The FLASH_MODE variable in the Makefile is only used in the deploy target so far. (By the way, recent versions of the esptool don't provide the --flash_mode= parameter any more.) Maybe this variable could be used to control which flash mode micropython is using?

Kind regards,
Marian


Update: esptool still supports --flash_mode, it is just not listed when running esptool.py --help. Running esptool.py write_flash --help lists it.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied