You will need:
# Ubuntu sudo apt install python3-pipenv wget minicom -y # RPM sudo yum install python3-pipenv wget minicom -y # Arch sudo pacman -Syu python-pipenv wget minicom
mkdir -p ~/esp cd ~/esp wget -O micropython-octopus.bin https://octopusengine.org/download/micropython/micropython-octopus.bin pipenv run pip install esptool adafruit-ampy sudo esptool.py --chip esp32 -p /dev/ttyUSB0 erase_flash sudo esptool.py --chip esp32 -p /dev/ttyUSB0 write_flash -z 0x1000 ./micropython-octopus.bin sudo minicom -s
- Select “Serial port setup”
- Press F to disable hardware control
- Press Enter
- Select Exit