Skip to content

Development

Dennis Boldt edited this page May 23, 2020 · 9 revisions

Development

Flash with esptool (Ubuntu)

  • Install esptool:
    git clone [email protected]:espressif/esptool.git
    cd esptool/
  • Download the newest release.
  • Connect a microUSB cable directly to the ESP32 (the USB-C port at the case is only for charging the battery)
  • Detect the correct port:
    ls /dev/ttyUSB*
  • Run the flash command:
    ./esptool.py \
      --chip esp32 \
      --port /dev/ttyUSB0 \
      --baud 921600 \
      --before default_reset \
      --after hard_reset write_flash \
      0x10000 ~/Download/OpenBikeSensorFirmware.ino.esp32.bin
Clone this wiki locally