-
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed latency issues, removed WPA2 requirement, added autorelease script
Fixed latency and packet loss with bi-directional links between esp32s. Removed WiFi AP WPA2 requirement. ESP32 is now allowed to connect to open WiFis Added script for auto crafting releases
- Loading branch information
Showing
9 changed files
with
746 additions
and
525 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Execute in an esp-idf enabled PowerShell | ||
# This script will create a combined zip file containing binaries for all supported esp32 boards | ||
|
||
$release_foldername = "DroneBridge_ESP32_vXX" | ||
$release_name_zip = "DroneBridge_ESP32_vXX.zip" | ||
|
||
mkdir $release_foldername | ||
cp .\flashing_instructions.txt $release_foldername | ||
|
||
rm -Recurse .\build | ||
idf.py set-target esp32 build | ||
mkdir $release_foldername\esp32 | ||
cp .\build\flash_args $release_foldername\esp32 | ||
cp .\build\db_esp32.bin $release_foldername\esp32 | ||
cp .\build\bootloader\bootloader.bin $release_foldername\esp32 | ||
cp .\build\www.bin $release_foldername\esp32 | ||
cp .\build\partition_table\partition-table.bin $release_foldername\esp32 | ||
|
||
rm -Recurse .\build | ||
idf.py set-target esp32s2 build | ||
mkdir $release_foldername\esp32s2 | ||
cp .\build\flash_args $release_foldername\esp32s2 | ||
cp .\build\db_esp32.bin $release_foldername\esp32s2 | ||
cp .\build\bootloader\bootloader.bin $release_foldername\esp32s2 | ||
cp .\build\www.bin $release_foldername\esp32s2 | ||
cp .\build\partition_table\partition-table.bin $release_foldername\esp32s2 | ||
|
||
rm -Recurse .\build | ||
idf.py set-target esp32s3 build | ||
mkdir $release_foldername\esp32s3 | ||
cp .\build\flash_args $release_foldername\esp32s3 | ||
cp .\build\db_esp32.bin $release_foldername\esp32s3 | ||
cp .\build\bootloader\bootloader.bin $release_foldername\esp32s3 | ||
cp .\build\www.bin $release_foldername\esp32s3 | ||
cp .\build\partition_table\partition-table.bin $release_foldername\esp32s3 | ||
|
||
rm -Recurse .\build | ||
idf.py set-target esp32c3 build | ||
mkdir $release_foldername\esp32c3 | ||
cp .\build\flash_args $release_foldername\esp32c3 | ||
cp .\build\db_esp32.bin $release_foldername\esp32c3 | ||
cp .\build\bootloader\bootloader.bin $release_foldername\esp32c3 | ||
cp .\build\www.bin $release_foldername\esp32c3 | ||
cp .\build\partition_table\partition-table.bin $release_foldername\esp32c3 | ||
|
||
if (Test-Path $release_name_zip) { | ||
Remove-Item $release_name_zip -verbose | ||
} | ||
Compress-Archive -Path $release_foldername -DestinationPath $release_name_zip | ||
|
||
rm -R $release_foldername |
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,19 @@ | ||
Flash your esp32 with the command below using esptool.py | ||
ESP32: | ||
------- | ||
esptool.py -p (PORT) -b 115200 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_size 2MB --flash_freq 40m 0x1000 bootloader.bin 0x8000 partition-table.bin 0x10000 db_esp32.bin 0x110000 www.bin | ||
|
||
|
||
ESP32S2: | ||
------- | ||
esptool.py -p (PORT) -b 115200 --before default_reset --after hard_reset --chip esp32s2 write_flash --flash_mode dio --flash_size 2MB --flash_freq 80m 0x1000 bootloader.bin 0x8000 partition-table.bin 0x10000 db_esp32.bin 0x110000 www.bin | ||
|
||
|
||
ESP32S3: | ||
------- | ||
esptool.py -p (PORT) -b 115200 --before default_reset --after hard_reset --chip esp32s3 write_flash --flash_mode dio --flash_size 2MB --flash_freq 80m 0x0 bootloader.bin 0x8000 partition-table.bin 0x10000 db_esp32.bin 0x110000 www.bin | ||
|
||
|
||
ESP32C3: | ||
------- | ||
esptool.py -p (PORT) -b 115200 --before default_reset --after hard_reset --chip esp32c3 write_flash --flash_mode dio --flash_size 2MB --flash_freq 80m 0x0 bootloader.bin 0x8000 partition-table.bin 0x10000 db_esp32.bin 0x110000 www.bin |
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
Oops, something went wrong.