Skip to content

Commit 677e826

Browse files
authored
Disable Camera and TinyUSB suport
1 parent fff1b3a commit 677e826

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

tools/update-components.sh

+23-23
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,34 @@ TINYUSB_REPO_DIR="$AR_COMPS/arduino_tinyusb/tinyusb"
99
#
1010
# CLONE/UPDATE ESP32-CAMERA
1111
#
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
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
2424

2525
#
2626
# Arduino needs cam_hal.h from esp32-camera in include folder
2727
#
28-
cp "$AR_COMPS/esp32-camera/driver/private_include/cam_hal.h" "$AR_COMPS/esp32-camera/driver/include/"
28+
#cp "$AR_COMPS/esp32-camera/driver/private_include/cam_hal.h" "$AR_COMPS/esp32-camera/driver/include/"
2929

3030
#
3131
# CLONE/UPDATE TINYUSB
3232
#
33-
echo "Updating TinyUSB..."
34-
if [ ! -d "$TINYUSB_REPO_DIR" ]; then
35-
git clone -b master --depth 1 "$TINYUSB_REPO_URL" "$TINYUSB_REPO_DIR"
36-
else
37-
cd $TINYUSB_REPO_DIR
38-
git pull
39-
# -ff is for cleaning untracked files as well as submodules
40-
git clean -ffdx
41-
fi
42-
if [ $? -ne 0 ]; then exit 1; fi
33+
#echo "Updating TinyUSB..."
34+
#if [ ! -d "$TINYUSB_REPO_DIR" ]; then
35+
# git clone -b master --depth 1 "$TINYUSB_REPO_URL" "$TINYUSB_REPO_DIR"
36+
#else
37+
# cd $TINYUSB_REPO_DIR
38+
# git pull
39+
# # -ff is for cleaning untracked files as well as submodules
40+
# git clean -ffdx
41+
#fi
42+
#if [ $? -ne 0 ]; then exit 1; fi

0 commit comments

Comments
 (0)