We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
6689a014...
1 parent fa0f9da commit eb832cfCopy full SHA for eb832cf
tools/update-components.sh
@@ -10,12 +10,15 @@ TINYUSB_REPO_DIR="$AR_COMPS/arduino_tinyusb/tinyusb"
10
#
11
echo "Updating TinyUSB..."
12
if [ ! -d "$TINYUSB_REPO_DIR" ]; then
13
- git clone -b master --depth 1 "$TINYUSB_REPO_URL" "$TINYUSB_REPO_DIR"
+ git clone -b master "$TINYUSB_REPO_URL" "$TINYUSB_REPO_DIR"
14
+ cd "$TINYUSB_REPO_DIR"
15
+ git checkout 6689a0142dfbb2cf2bb8f7f7e4f4ae8d019648a9
16
+ cd -
17
else
18
cd $TINYUSB_REPO_DIR
19
git pull
20
# -ff is for cleaning untracked files as well as submodules
21
git clean -ffdx
- cd -
22
23
fi
24
if [ $? -ne 0 ]; then exit 1; fi
0 commit comments