Skip to content

Commit

Permalink
Added C6 USBSerial config & noUARTConsole config for ESP32 & C3
Browse files Browse the repository at this point in the history
  • Loading branch information
seeul8er committed Dec 28, 2024
1 parent 77ea1d6 commit 128629d
Show file tree
Hide file tree
Showing 6 changed files with 6,904 additions and 466 deletions.
37 changes: 35 additions & 2 deletions create_release_zip.ps1
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# 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_v2.0RC3"
$release_name_zip = "DroneBridge_ESP32_v2.0RC3.zip"
$release_foldername = "DroneBridge_ESP32_v2.0"
$release_name_zip = "DroneBridge_ESP32_v2.0.zip"

mkdir $release_foldername
mkdir build
Expand All @@ -19,6 +19,17 @@ 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 fullclean
cp .\sdkconfig_esp32_noUARTConsole .\sdkconfig
idf.py build
mkdir $release_foldername\esp32_noUARTConsole
cp .\build\flash_args $release_foldername\esp32_noUARTConsole\flash_args.txt
cp .\build\db_esp32.bin $release_foldername\esp32_noUARTConsole
cp .\build\bootloader\bootloader.bin $release_foldername\esp32_noUARTConsole
cp .\build\www.bin $release_foldername\esp32_noUARTConsole
cp .\build\partition_table\partition-table.bin $release_foldername\esp32_noUARTConsole

rm -Recurse .\build
idf.py fullclean
cp .\sdkconfig_s2 .\sdkconfig
Expand Down Expand Up @@ -63,6 +74,17 @@ cp .\build\bootloader\bootloader.bin $release_foldername\esp32c3_USBSerial
cp .\build\www.bin $release_foldername\esp32c3_USBSerial
cp .\build\partition_table\partition-table.bin $release_foldername\esp32c3_USBSerial

rm -Recurse .\build
idf.py fullclean
cp .\sdkconfig_c3_noUARTConsole .\sdkconfig
idf.py build
mkdir $release_foldername\esp32c3_noUARTConsole
cp .\build\flash_args $release_foldername\esp32c3_noUARTConsole\flash_args.txt
cp .\build\db_esp32.bin $release_foldername\esp32c3_noUARTConsole
cp .\build\bootloader\bootloader.bin $release_foldername\esp32c3_noUARTConsole
cp .\build\www.bin $release_foldername\esp32c3_noUARTConsole
cp .\build\partition_table\partition-table.bin $release_foldername\esp32c3_noUARTConsole

rm -Recurse .\build
idf.py fullclean
cp .\sdkconfig_c6 .\sdkconfig
Expand All @@ -74,6 +96,17 @@ cp .\build\bootloader\bootloader.bin $release_foldername\esp32c6
cp .\build\www.bin $release_foldername\esp32c6
cp .\build\partition_table\partition-table.bin $release_foldername\esp32c6

rm -Recurse .\build
idf.py fullclean
cp .\sdkconfig_c6_serial_via_JTAG .\sdkconfig
idf.py build
mkdir $release_foldername\esp32c6_USBSerial
cp .\build\flash_args $release_foldername\esp32c6_USBSerial\flash_args.txt
cp .\build\db_esp32.bin $release_foldername\esp32c6_USBSerial
cp .\build\bootloader\bootloader.bin $release_foldername\esp32c6_USBSerial
cp .\build\www.bin $release_foldername\esp32c6_USBSerial
cp .\build\partition_table\partition-table.bin $release_foldername\esp32c6_USBSerial

if (Test-Path $release_name_zip) {
Remove-Item $release_name_zip -verbose
}
Expand Down
81 changes: 0 additions & 81 deletions create_release_zip.sh

This file was deleted.

Loading

0 comments on commit 128629d

Please sign in to comment.