We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59096b2 commit 867c36aCopy full SHA for 867c36a
tools/update-components.sh
@@ -1,21 +1,3 @@
1
#/bin/bash
2
3
source ./tools/config.sh
4
-
5
-TINYUSB_REPO_URL="https://github.com/hathach/tinyusb.git"
6
-TINYUSB_REPO_DIR="$AR_COMPS/arduino_tinyusb/tinyusb"
7
8
-#
9
-# CLONE/UPDATE 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"
14
-else
15
- cd $TINYUSB_REPO_DIR
16
- git pull
17
- # -ff is for cleaning untracked files as well as submodules
18
- git clean -ffdx
19
- cd -
20
-fi
21
-if [ $? -ne 0 ]; then exit 1; fi
0 commit comments