diff --git a/README.md b/README.md index 00e878c..b070181 100644 --- a/README.md +++ b/README.md @@ -201,19 +201,44 @@ Deep sleep with waking up by touch screen. Backlight is off during sleep - Power furler controls - UI to control fog horn signal, and horn in general +## Download binaries + +Main branch: + +https://github.com/bareboat-necessities/bbn-m5stack-tough/releases/tag/main + ## Using command line to upload firmware +Examples: + +Linux: + ```` + python3 "~/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool.py" \ --chip esp32 --port "/dev/ttyACM0" --baud 921600 \ - --before default_reset --after hard_reset write_flash \ - -z --flash_mode dio --flash_freq 80m --flash_size 16MB \ + --before default_reset --after hard_reset write_flash -z \ + --flash_mode dio --flash_freq 80m --flash_size 16MB \ 0x1000 "bbn_m5tough_active_boat.ino.bootloader.bin" \ 0x8000 "bbn_m5tough_active_boat.ino.partitions.bin" \ - 0xe000 "~/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/partitions/boot_app0.bin" \ - 0x10000 "bbn_m5tough_active_boat.ino.bin" + 0xe000 "~/.arduino15/packages/esp32/hardware/esp32/2.0.15/tools/partitions/boot_app0.bin" \ + 0x10000 "bbn_m5tough_active_boat.ino.bin" + +```` + +Windows: + ```` +/esp32/tools/esptool_py/4.5.1/esptool.exe --chip esp32 --port COM5 --baud 921600 + --before default_reset --after hard_reset write_flash -z + --flash_mode dio --flash_freq 80m --flash_size 16MB + 0x1000 bbn_m5tough_active_boat.ino.bootloader.bin + 0x8000 bbn_m5tough_active_boat.ino.partitions.bin + 0xe000 /esp32/hardware/esp32/2.0.15/tools/partitions/boot_app0.bin + 0x10000 bbn_m5tough_active_boat.ino.bin + +```` ## Related projects: