Skip to content

Commit ae4db7f

Browse files
committed
Support both tasmota/espressif arduino-esp32 libs heirarchies.
1 parent cd5f879 commit ae4db7f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

tools/archive-build.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,11 @@ cd ../tools/esp32-arduino-libs
6464
cd ../../../
6565
# If the framework is needed as tar.gz uncomment next line
6666
# tar --exclude=.* -zcf ../$pio_archive_path framework-arduinoespressif32/
67-
mv framework-arduinoespressif32/tools/esp32-arduino-libs framework-arduinoespressif32-libs
67+
if [ $AR_USER == "espressif" ]; then
68+
mv framework-arduinoespressif32/tools/esp32-arduino-libs framework-arduinoespressif32-libs
69+
fi
6870

6971
7z a -mx=9 -tzip -xr'!.*' ../$pio_zip_archive_path framework-arduinoespressif32/
70-
7z a -mx=9 -tzip -xr'!.*' ../$libs_zip_archive_path framework-arduinoespressif32-libs/
72+
if [ $AR_USER == "espressif" ]; then
73+
7z a -mx=9 -tzip -xr'!.*' ../$libs_zip_archive_path framework-arduinoespressif32-libs/
74+
fi

tools/config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if [ -z $IDF_TARGET ]; then
2626
fi
2727

2828
# Owner of the target ESP32 Arduino repository
29-
AR_USER="tasmota"
29+
export AR_USER="tasmota"
3030

3131
# IDF commit to use
3232
#IDF_COMMIT=""

0 commit comments

Comments
 (0)