Skip to content

Commit b397885

Browse files
committed
🪚 Improve esp-idf feature
1 parent 84d312d commit b397885

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

features/esp-idf/install.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,4 @@ apt-get install -y \
1515
git wget flex bison gperf python3 python3-pip cmake ninja-build ccache \
1616
libffi-dev libssl-dev dfu-util libusb-1.0-0
1717

18-
# Create installation directory
19-
mkdir -p "$ESP_DIR"
20-
cd "$ESP_DIR"
21-
22-
# Clone specific version
23-
git clone -b "v${VERSION}" --recursive https://github.com/espressif/esp-idf.git
24-
25-
# Install the tools for the specified targets
26-
cd "$IDF_PATH"
27-
./install.sh "$TARGETS"
28-
29-
# Add ESP-IDF to environment
30-
echo "export IDF_PATH=${IDF_PATH}" >> /etc/profile.d/esp-idf.sh
31-
echo "source ${IDF_PATH}/export.sh" >> /etc/profile.d/esp-idf.sh
32-
chmod +x /etc/profile.d/esp-idf.sh
33-
3418
echo "✅ ESP-IDF v${VERSION} installed!"

0 commit comments

Comments
 (0)