Files

35 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2018-01-04 16:41:56 +01:00
## Prebuilt firmwares
Default configuration is used.
Available firmwares:
| Directory | Description |
| - | - |
|**esp32** | MicroPython, single partition layout, 4MB Flash |
|**esp32_ota** | MicroPython, dual partition layout, OTA enabled, 4MB Flash |
|**esp32_psram** | MicroPython, single partition layout, 4MB Flash & 4MB SPIRAM |
2018-01-04 16:45:30 +01:00
|**esp32_psram_ota** | MicroPython, dual partition layout, OTA enabled, 4MB Flash & 4MB SPIRAM |
|**esp32_all** | MicroPython, single partition layout, 4MB Flash, ALL modules included |
|**esp32_psram_all** | MicroPython, single partition layout, 4MB Flash & 4MB SPIRAM, ALL modules included |
2018-01-04 16:41:56 +01:00
All firmwares are configured with 1 MB SPIFFS file system.<br>
2018-01-22 16:27:39 +01:00
Telnet server, FTP server, mDNS and Mqtt are enabled.
2018-01-04 16:41:56 +01:00
2018-12-04 14:06:15 +08:00
To flash, use **esptool.py**.<br>
If you don't have it installed, install it using `pip`:<br>
`pip install esptool` or `pip3 install esptool`
2018-01-04 16:41:56 +01:00
2018-12-04 14:06:15 +08:00
You can use the `flash.sh` script to flash the firmware:<br>
2018-01-04 16:41:56 +01:00
2018-12-04 14:06:15 +08:00
Change you working directory to the selected firmware directory (the one containing **MicroPython.bin**) and run:
```
../flash.sh -p <your_comm_port> -b <baud_rate>
```
`-p` & `-b` options are optional, default port is `/dev/ttyUSB0`, default baud rate is `460800`.