File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ source ./tools/config.sh
5
5
CAMERA_REPO_URL=" https://github.com/espressif/esp32-camera.git"
6
6
TINYUSB_REPO_URL=" https://github.com/hathach/tinyusb.git"
7
7
TINYUSB_REPO_DIR=" $AR_COMPS /arduino_tinyusb/tinyusb"
8
- ESPDSP_REPO_URL=" https://github.com/espressif/esp-dsp.git"
9
- ESPDSP_REPO_DIR=" $AR_COMPS /esp-dsp/espdsp"
8
+ ESP_DSP_REPO_URL=" https://github.com/espressif/esp-dsp.git"
10
9
11
10
#
12
11
# CLONE/UPDATE ESP32-CAMERA
@@ -28,13 +27,15 @@ if [ $? -ne 0 ]; then exit 1; fi
28
27
# CLONE/UPDATE ESP-DSP
29
28
#
30
29
echo " Updating ESP-DSP..."
31
- if [ ! -d " $ESPDSP_REPO_DIR " ]; then
32
- git clone -b master --depth 1 " $ESPDSP_REPO_URL " " $ESPDSP_REPO_DIR "
30
+ if [ ! -d " $AR_COMPS /esp-dsp " ]; then
31
+ git clone -b master --recursive -- depth 1 --shallow-submodule $ESP_DSP_REPO_URL " $AR_COMPS /esp-dsp "
33
32
else
34
- cd $ESPDSP_REPO_DIR
33
+ cd " $AR_COMPS /esp-dsp "
35
34
git pull
35
+ git submodule update --depth 1
36
36
# -ff is for cleaning untracked files as well as submodules
37
37
git clean -ffdx
38
+ cd -
38
39
fi
39
40
if [ $? -ne 0 ]; then exit 1; fi
40
41
You can’t perform that action at this time.
0 commit comments