This commit is contained in:
Alexander 2024-09-01 09:30:13 -04:00
parent 98d3aa3012
commit 7e29d8ba88

View File

@ -150,7 +150,7 @@ const *char WIFI_PASSWORD = "405405405";
Bare-bones ESP32 module can be programmed via UART interface (`GPIO03` and `GPIO01`) using USB to UART adapter.
### ESP-IDF Framework
## ESP-IDF Framework
_Configuration menu custom variables_
@ -190,6 +190,17 @@ menu "Example Configuration"
endmenu
```
### Frequently Used Commands
_To write firmware to the ESP's flash chip:_
`esptool.py --port COM_ --chip esp32 write_flash 0x1000 firmware-name.bin`
_To read firmware from the ESP's flash chip:_
`esptool.py --port COM_ -b --chip esp32 460800 read_flash 0 ALL flash-contents.bin`
_To erase ESP32 flash chip:_
`esptool.py --port COM_ --chip esp32 erase_flash`
In order for OTA to push new firmware, update version number saved in the `PROJECT_VER` filed in _CMakeList.txt_ file.
```text