Skip to content

Commit 2a3fd26

Browse files
committed
Adds libs management as per espressif's python scripts for platformio.
1 parent dbaf3e7 commit 2a3fd26

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

tools/archive-build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ archive_path="dist/arduino-esp32-libs-$TARGET-$idf_version_string.tar.gz"
66
build_archive_path="dist/arduino-esp32-build-$TARGET-$idf_version_string.tar.gz"
77
pio_archive_path="dist/framework-arduinoespressif32-$TARGET-$idf_version_string.tar.gz"
88
pio_zip_archive_path="dist/framework-arduinoespressif32-$TARGET-$idf_version_string.zip"
9+
libs_archive_path="dist/framework-arduinoespressif32-libs-$TARGET-$idf_version_string"
10+
libs_zip_archive_path="$libs_archive_path.zip"
11+
libs_tar_archive_path="$libs_archive_path.tar.gz"
912

1013
mkdir -p dist && rm -rf "$archive_path" "$build_archive_path"
1114

@@ -61,4 +64,7 @@ cd ../tools/esp32-arduino-libs
6164
cd ../../../
6265
# If the framework is needed as tar.gz uncomment next line
6366
# tar --exclude=.* -zcf ../$pio_archive_path framework-arduinoespressif32/
67+
mv framework-arduinoespressif32/tools/esp32-arduino-libs framework-arduinoespressif32-libs
68+
6469
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/

tools/gen_pio_lib_manifest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
MANIFEST_DATA = {
88
"name": "framework-arduinoespressif32-libs",
99
"description": "Precompiled libraries for Arduino Wiring-based Framework for the Espressif ESP32 series of SoCs",
10-
"keywords": ["framework", "tasmota", "arduino", "espressif", "esp32"],
10+
"keywords": ["framework", "arduino", "espressif", "esp32"],
1111
"license": "LGPL-2.1-or-later",
1212
"repository": {
1313
"type": "git",
14-
"url": "https://github.com/tasmota/esp32-arduino-libs",
14+
"url": "https://github.com/hamzahajeir/esp32-arduino-libs",
1515
},
1616
}
1717

0 commit comments

Comments
 (0)