forked from nickn17/evDash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lubos Petrovic
committed
Dec 4, 2020
1 parent
e2100ad
commit e7618a3
Showing
8 changed files
with
46 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
# Setup | ||
# 1. Ensure you have Python 2.7 or 3.4+ installed | ||
# 2. `pip install esptool` | ||
# 3. `sudo usermod -a -G dialout <USERNAME>` // log out and log in is required | ||
|
||
# Select distribution: | ||
# TTGO T4 | ||
DIST=./dist/ttgo_t4_v13 | ||
|
||
# or m5stack | ||
DIST=./dist/m5stack_core1 | ||
|
||
# Set USB port | ||
PORT=/dev/ttyUSB0 | ||
|
||
esptool.py -p $PORT -b 921600 write_flash \ | ||
--flash_mode dio \ | ||
--flash_size detect \ | ||
--flash_freq 80m \ | ||
0xe000 $DIST/boot_app0.bin \ | ||
0x1000 $DIST/bootloader_qio_80m.bin \ | ||
0x10000 $DIST/evDash.ino.bin \ | ||
0x8000 $DIST/evDash.ino.partitions.bin |