Add readme

This commit is contained in:
Volodymyr Shymanskyy
2019-07-08 14:47:57 +03:00
parent 789fdcc2de
commit 23fc38ac46
2 changed files with 22 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
## Install the following dependency library files:
[TinyGSM](https://github.com/vshymanskyy/TinyGSM)
+18
View File
@@ -0,0 +1,18 @@
## Flash Micropython to ESP32
The recommended version of Micropython for this board is `MicroPython_LoBo_esp32_psram_all.zip` from [LoBo prebuilt packages](https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/tree/master/MicroPython_BUILD/firmware).
Flash using `esptool`:
```sh
esptool --chip esp32 --port PORT --baud BAUD --before default_reset --after no_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 bootloader/bootloader.bin 0xf000 phy_init_data.bin 0x10000 MicroPython.bin 0x8000 partitions_mpy.bin
```
Or you can use any other GUI/tools and specify address for each file.
## Upload the example
Using `ampy`:
```sh
ampy put main.py
```