summaryrefslogtreecommitdiff
path: root/esp8266/README.md
diff options
context:
space:
mode:
authordmanso <david.manso@epistolae.com>2016-09-26 22:22:39 +0200
committerDamien George <damien.p.george@gmail.com>2016-10-07 13:18:48 +1100
commit0363e1d7b5b80046b49b07d8fbb739315474b4b9 (patch)
tree62a5d5089de6b0707c3e1eec7a4ca6cefdcd610b /esp8266/README.md
parent00c1fc6d77ede97f8bd9b486b0eed7afb2a3a9e0 (diff)
esp8266: Add FLASH_MODE,FLASH_SIZE options for make deploy target.
Added options to make deploy so it can be used for ESP8266 boards with other flash configurations. For example NodeMCU DEVKIT V1.0 can now use: $ make FLASH_MODE=dio FLASH_SIZE=32m deploy
Diffstat (limited to 'esp8266/README.md')
-rw-r--r--esp8266/README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/esp8266/README.md b/esp8266/README.md
index b9162e958..c998b7ad1 100644
--- a/esp8266/README.md
+++ b/esp8266/README.md
@@ -70,9 +70,10 @@ $ make deploy
```
This will use the `esptool.py` script to download the images. You must have
your ESP module in the bootloader mode, and connected to a serial port on your PC.
-The default serial port is `/dev/ttyACM0`. To specify another, use, eg:
+The default serial port is `/dev/ttyACM0`, flash mode is `qio` and flash size is `8m`.
+To specify other values, use, eg:
```bash
-$ make PORT=/dev/ttyUSB0 deploy
+$ make PORT=/dev/ttyUSB0 FLASH_MODE=qio FLASH_SIZE=8m deploy
```
The image produced is `firmware-combined.bin`, to be flashed at 0x00000.