Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Jul 21, 2024
1 parent 751cd4d commit 9284cef
Showing 1 changed file with 29 additions and 4 deletions.
33 changes: 29 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

````
<PATH>/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 <PATH>/esp32/hardware/esp32/2.0.15/tools/partitions/boot_app0.bin
0x10000 bbn_m5tough_active_boat.ino.bin
````

## Related projects:

Expand Down

0 comments on commit 9284cef

Please sign in to comment.