-
-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added MAVLink Parameter Protocol, Ping Protocol and simple Command Pr…
…otocol support Fixed build system by supplying default sdkconfig file
- Loading branch information
Showing
22 changed files
with
927 additions
and
4,001 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
#!/bin/bash | ||
|
||
release_foldername="DroneBridge_ESP32_vXX" | ||
release_name_zip="DroneBridge_ESP32_vXX.zip" | ||
|
||
mkdir "$release_foldername" | ||
mkdir build | ||
cp flashing_instructions.txt "$release_foldername" | ||
|
||
rm -rf build | ||
idf.py fullclean | ||
cp sdkconfig_esp32 sdkconfig | ||
idf.py build | ||
mkdir "$release_foldername/esp32" | ||
cp build/flash_args "$release_foldername/esp32/flash_args.txt" | ||
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 -rf build | ||
idf.py fullclean | ||
cp sdkconfig_s2 sdkconfig | ||
idf.py build | ||
mkdir "$release_foldername/esp32s2" | ||
cp build/flash_args "$release_foldername/esp32s2/flash_args.txt" | ||
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 -rf build | ||
idf.py fullclean | ||
cp sdkconfig_s3 sdkconfig | ||
idf.py build | ||
mkdir "$release_foldername/esp32s3" | ||
cp build/flash_args "$release_foldername/esp32s3/flash_args.txt" | ||
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 -rf build | ||
idf.py fullclean | ||
cp sdkconfig_c3 sdkconfig | ||
idf.py build | ||
mkdir "$release_foldername/esp32c3" | ||
cp build/flash_args "$release_foldername/esp32c3/flash_args.txt" | ||
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" | ||
|
||
rm -rf build | ||
idf.py fullclean | ||
cp sdkconfig_c3_serial_via_JTAG sdkconfig | ||
idf.py build | ||
mkdir "$release_foldername/esp32c3_USBSerial" | ||
cp build/flash_args "$release_foldername/esp32c3_USBSerial/flash_args.txt" | ||
cp build/db_esp32.bin "$release_foldername/esp32c3_USBSerial" | ||
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" | ||
|
||
if [ -f "$release_name_zip" ]; then | ||
rm "$release_name_zip" | ||
fi | ||
zip -r "$release_name_zip" "$release_foldername" | ||
|
||
rm -rf "$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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
idf_component_register(SRCS main.c db_esp32_control.c msp_ltm_serial.c http_server.c | ||
db_esp32_comm.c db_comm.c db_crc.c tcp_server.c db_esp_now.c db_serial.c | ||
db_esp32_comm.c db_comm.c db_crc.c tcp_server.c db_esp_now.c db_serial.c db_mavlink_msgs.c | ||
INCLUDE_DIRS ".") | ||
|
||
if(CONFIG_WEB_DEPLOY_SF) | ||
set(WEB_SRC_DIR "${CMAKE_BINARY_DIR}/frontend") | ||
spiffs_create_partition_image(www ${WEB_SRC_DIR} FLASH_IN_PROJECT DEPENDS frontend) | ||
endif() | ||
endif() |
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.