To follow this instruction you should have:
More details related to micropython could be found at https://docs.micropython.org/en/latest/esp32/tutorial/intro.html
python -m pip install esptoolesptool.py --port /dev/ttyUSB0 erase_flash (Note: port could be different)esptool esp32c3 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset --no-stub write_flash --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 bootloader.bin 0x10000 micropython.bin 0x8000 partition-table.bin/dev/ttyUSB0) and speed 115200, and press enter, you should see prompt >>>ampy tool and GitPython library. (python3 -m pip install adafruit-ampy and python3 -m pip install GitPython )./flash.sh /dev/ttyUSB0[ 11481] [INFO] FW-UPD Initialized
[ 11506] [INFO] WEBAPP init done
If you see it, then device ready to work
Now device ready to work. To configure network, you need connect to device Wi-Fi access point (will looks like AR-[12 digits and letters]) and go to the http://192.168.4.1.
After a while, when device stops scanning Wi-Fi networks select yours, write the password of this network and press button Connect. Now you should have device connected to the yours Wi-Fi.
To check protocol and other stuff, firmware could be started as python application itself:
$python3 src/main.py
Device web page will be available at port 3000 (http://localhost:3000)