esp8266 arduino IDE WIFI Setting 的含义

在使用ESP8266的过程中,发现烧写的时候,
如果Option 7 不设置为 Erase Flash: Sketch +WiFi Setting 模式
只是设置为 Erase Flash : Sketch Only 模式

模式1

这里写图片描述

Compiling 'EspSignalReport' for 'NodeMCU 1.0 (ESP-12E Module)'
Program size: 294,992 bytes (used 28% of a 1,044,464 byte maximum) (7.50 secs)
Minimum Memory Usage: 36844 bytes (45% of a 81920 byte maximum)

Uploading 'EspSignalReport' to 'NodeMCU 1.0 (ESP-12E Module)' using 'COM13'
Erasing 0x4000 bytes starting at 0x003FC000
Uploading 299136 bytes from C:\Users\xxx\AppData\Local\Temp\VMBuilds\ESPSIG~1\ESP826~2\Debug/ESPSIG~1.BIN to flash at 0x00000000
................................................................................ [ 27% ]
................................................................................ [ 54% ]
................................................................................ [ 81% ]
.....................................................                            [ 100% ]
    The upload process has finished.

模式2

这里写图片描述

log为:

Compiling 'EspSignalReport' for 'NodeMCU 1.0 (ESP-12E Module)'
Program size: 294,992 bytes (used 28% of a 1,044,464 byte maximum) (3.31 secs)
Minimum Memory Usage: 36844 bytes (45% of a 81920 byte maximum)

Uploading 'EspSignalReport' to 'NodeMCU 1.0 (ESP-12E Module)' using 'COM13'
Uploading 299136 bytes from C:\Users\xxx\AppData\Local\Temp\VMBuilds\ESPSIG~1\ESP826~2\Debug/ESPSIG~1.BIN to flash at 0x00000000
................................................................................ [ 27% ]
................................................................................ [ 54% ]
................................................................................ [ 81% ]
    The upload process has finished.
.....................................................                            [ 100% ]

用模式2 这种方法烧写 ,会使 ESP8266webserver 很快的断开客户机的连接
比如客户机 http get 数据,ESP8266 如果没有及时响应返回数据,ESP8266 自己就主动的断开 连接了。

猜你喜欢

转载自blog.csdn.net/wowocpp/article/details/81478200