Skip to content

Commit cf412c2

Browse files
authored
Update update-components.sh
1 parent 445aa86 commit cf412c2

File tree

1 file changed

+31
-24
lines changed

1 file changed

+31
-24
lines changed

tools/update-components.sh

Lines changed: 31 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -95,30 +95,6 @@ if [ -f "$AR_COMPS/esp-dl/idf_component.yml" ]; then
9595
rm -rf "$AR_COMPS/esp-dl/idf_component.yml"
9696
fi
9797

98-
#
99-
# CLONE/UPDATE ESP-SR
100-
#
101-
#echo "Updating ESP-SR..."
102-
#if [ ! -d "$AR_COMPS/esp-sr" ]; then
103-
# git clone $SR_REPO_URL "$AR_COMPS/esp-sr"
104-
#else
105-
# git -C "$AR_COMPS/esp-sr" fetch && \
106-
# git -C "$AR_COMPS/esp-sr" pull --ff-only
107-
#fi
108-
#if [ $? -ne 0 ]; then exit 1; fi
109-
110-
#
111-
# CLONE/UPDATE ESP-DSP
112-
#
113-
echo "Updating ESP-DSP..."
114-
if [ ! -d "$AR_COMPS/espressif__esp-dsp" ]; then
115-
git clone $DSP_REPO_URL "$AR_COMPS/espressif__esp-dsp"
116-
else
117-
git -C "$AR_COMPS/espressif__esp-dsp" fetch && \
118-
git -C "$AR_COMPS/espressif__esp-dsp" pull --ff-only
119-
fi
120-
if [ $? -ne 0 ]; then exit 1; fi
121-
12298
#
12399
# CLONE/UPDATE ESP-LITTLEFS
124100
#
@@ -144,3 +120,34 @@ else
144120
git -C "$AR_COMPS/arduino_tinyusb/tinyusb" pull --ff-only
145121
fi
146122
if [ $? -ne 0 ]; then exit 1; fi
123+
124+
##
125+
## CLONE/UPDATE ESP-SR
126+
##
127+
#SR_REPO_URL="https://github.com/espressif/esp-sr.git"
128+
#echo "Updating ESP-SR..."
129+
#if [ ! -d "$AR_COMPS/esp-sr" ]; then
130+
# git clone $SR_REPO_URL "$AR_COMPS/esp-sr"
131+
# mv "$AR_COMPS/esp-sr/CMakeLists.txt" "$AR_COMPS/esp-sr/CMakeListsOld.txt"
132+
# echo "if(IDF_TARGET STREQUAL \"esp32s3\")" > "$AR_COMPS/esp-sr/CMakeLists.txt"
133+
# cat "$AR_COMPS/esp-sr/CMakeListsOld.txt" >> "$AR_COMPS/esp-sr/CMakeLists.txt"
134+
# echo "endif()" >> "$AR_COMPS/esp-sr/CMakeLists.txt"
135+
#else
136+
# git -C "$AR_COMPS/esp-sr" fetch && \
137+
# git -C "$AR_COMPS/esp-sr" pull --ff-only
138+
#fi
139+
#if [ $? -ne 0 ]; then exit 1; fi
140+
141+
# #
142+
# # CLONE/UPDATE ESP-DSP
143+
# #
144+
# DSP_REPO_URL="https://github.com/espressif/esp-dsp.git"
145+
# echo "Updating ESP-DSP..."
146+
# if [ ! -d "$AR_COMPS/espressif__esp-dsp" ]; then
147+
# git clone $DSP_REPO_URL "$AR_COMPS/espressif__esp-dsp"
148+
# else
149+
# git -C "$AR_COMPS/espressif__esp-dsp" fetch && \
150+
# git -C "$AR_COMPS/espressif__esp-dsp" pull --ff-only
151+
# fi
152+
# if [ $? -ne 0 ]; then exit 1; fi
153+

0 commit comments

Comments
 (0)