mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 15:40:23 +08:00
Minor tweak to ESP8266 example
PUBLISHED_FROM=8fdac6c95ae29363fa0a8e519f926742531b9d00
This commit is contained in:
parent
eee293518c
commit
68b29b683d
@ -11,13 +11,12 @@ Compile (for NodeMCU 1.0):
|
||||
```
|
||||
$ export SDK_PATH=/path/to/ESP8266_RTOS_SDK
|
||||
$ export BIN_PATH=./bin
|
||||
$ make clean; make BOOT=new APP=1 SPI_SPEED=40 SPI_MODE=dio SPI_SIZE_MAP=6
|
||||
$ make clean; make BOOT=none APP=0 SPI_SPEED=40 SPI_MODE=dio SPI_SIZE_MAP=0
|
||||
```
|
||||
|
||||
Flash (using [esptool](https://github.com/themadinventor/esptool)):
|
||||
|
||||
```
|
||||
$ make clean; make BOOT=none APP=0 SPI_SPEED=40 SPI_MODE=qio SPI_SIZE_MAP=0
|
||||
$ esptool.py --port /dev/ttyUSB0 --baud 230400 \
|
||||
write_flash --flash_mode=qio --flash_size=4m \
|
||||
0x00000 ${BIN_PATH}/eagle.flash.bin \
|
||||
|
Loading…
x
Reference in New Issue
Block a user