File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 2
2
3
3
source ./tools/config.sh
4
4
5
- CAMERA_REPO_URL=" https://github.com/espressif/esp32-camera.git"
6
5
TINYUSB_REPO_URL=" https://github.com/hathach/tinyusb.git"
7
6
TINYUSB_REPO_DIR=" $AR_COMPS /arduino_tinyusb/tinyusb"
8
7
9
- #
10
- # CLONE/UPDATE ESP32-CAMERA
11
- #
12
- echo " Updating ESP32 Camera..."
13
- if [ ! -d " $AR_COMPS /esp32-camera" ]; then
14
- git clone -b master --recursive --depth 1 --shallow-submodule $CAMERA_REPO_URL " $AR_COMPS /esp32-camera"
15
- else
16
- cd " $AR_COMPS /esp32-camera"
17
- git pull
18
- git submodule update --depth 1
19
- # -ff is for cleaning untracked files as well as submodules
20
- git clean -ffdx
21
- cd -
22
- fi
23
- if [ $? -ne 0 ]; then exit 1; fi
24
-
25
- #
26
- # Arduino needs cam_hal.h from esp32-camera in include folder
27
- #
28
- cp " $AR_COMPS /esp32-camera/driver/private_include/cam_hal.h" " $AR_COMPS /esp32-camera/driver/include/"
29
-
30
8
#
31
9
# CLONE/UPDATE TINYUSB
32
10
#
You can’t perform that action at this time.
0 commit comments