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