File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +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
+ ESP_DSP_REPO_URL=" https://github.com/espressif/esp-dsp.git"
8
9
9
10
#
10
11
# CLONE/UPDATE ESP32-CAMERA
22
23
fi
23
24
if [ $? -ne 0 ]; then exit 1; fi
24
25
26
+ #
27
+ # CLONE/UPDATE ESP-DSP
28
+ #
29
+ echo " Updating ESP-DSP..."
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"
32
+ else
33
+ cd " $AR_COMPS /esp-dsp"
34
+ git pull
35
+ git submodule update --depth 1
36
+ # -ff is for cleaning untracked files as well as submodules
37
+ git clean -ffdx
38
+ cd -
39
+ fi
40
+ if [ $? -ne 0 ]; then exit 1; fi
41
+
25
42
#
26
43
# Arduino needs cam_hal.h from esp32-camera in include folder
27
44
#
You can’t perform that action at this time.
0 commit comments