|
| 1 | +#/bin/bash |
| 2 | + |
| 3 | +source ./tools/config.sh |
| 4 | + |
| 5 | +CAMERA_REPO_URL="https://github.com/espressif/esp32-camera.git" |
| 6 | +DL_REPO_URL="https://github.com/espressif/esp-dl.git" |
| 7 | +RMAKER_REPO_URL="https://github.com/espressif/esp-rainmaker.git" |
| 8 | +INSIGHTS_REPO_URL="https://github.com/espressif/esp-insights.git" |
| 9 | +DSP_REPO_URL="https://github.com/espressif/esp-dsp.git" |
| 10 | +LITTLEFS_REPO_URL="https://github.com/joltwallet/esp_littlefs.git" |
| 11 | +TINYUSB_REPO_URL="https://github.com/hathach/tinyusb.git" |
| 12 | + |
| 13 | +# |
| 14 | +# CLONE/UPDATE ARDUINO |
| 15 | +# |
| 16 | +echo "Cloning ESP32 Arduino..." |
| 17 | +git clone $AR_REPO_URL "$AR_COMPS/arduino" && \ |
| 18 | + git -C "$AR_COMPS/arduino" reset --hard d75795f5 && \ |
| 19 | + git -C "$AR_COMPS/arduino" submodule update --init --recursive |
| 20 | +if [ $? -ne 0 ]; then exit 1; fi |
| 21 | + |
| 22 | +# |
| 23 | +# CLONE/UPDATE ESP32-CAMERA |
| 24 | +# |
| 25 | +echo "Cloning ESP32 Camera..." |
| 26 | +git clone $CAMERA_REPO_URL "$AR_COMPS/esp32-camera" && \ |
| 27 | + git -C "$AR_COMPS/esp32-camera" reset --hard f0bb429 && \ |
| 28 | + git -C "$AR_COMPS/esp32-camera" submodule update --init --recursive |
| 29 | +if [ $? -ne 0 ]; then exit 1; fi |
| 30 | + |
| 31 | +# |
| 32 | +# CLONE/UPDATE ESP-DL |
| 33 | +# |
| 34 | +echo "Updating ESP-DL..." |
| 35 | +git clone $DL_REPO_URL "$AR_COMPS/esp-dl" && \ |
| 36 | + git -C "$AR_COMPS/esp-dl" reset --hard 0632d24 && \ |
| 37 | + git -C "$AR_COMPS/esp-dl" submodule update --init --recursive |
| 38 | +if [ $? -ne 0 ]; then exit 1; fi |
| 39 | + |
| 40 | +# |
| 41 | +# CLONE/UPDATE ESP-LITTLEFS |
| 42 | +# |
| 43 | +echo "Cloning ESP-LITTLEFS..." |
| 44 | +git clone $LITTLEFS_REPO_URL "$AR_COMPS/esp_littlefs" && \ |
| 45 | + git -C "$AR_COMPS/esp_littlefs" reset --hard 41873c2 && \ |
| 46 | + git -C "$AR_COMPS/esp_littlefs" submodule update --init --recursive |
| 47 | +if [ $? -ne 0 ]; then exit 1; fi |
| 48 | + |
| 49 | +# |
| 50 | +# CLONE/UPDATE ESP-RAINMAKER |
| 51 | +# |
| 52 | +echo "Cloning ESP-RainMaker..." |
| 53 | +git clone $RMAKER_REPO_URL "$AR_COMPS/esp-rainmaker" && \ |
| 54 | + git -C "$AR_COMPS/esp-rainmaker" reset --hard d8e9345 && \ |
| 55 | + git -C "$AR_COMPS/esp-rainmaker" submodule update --init --recursive |
| 56 | +if [ $? -ne 0 ]; then exit 1; fi |
| 57 | + |
| 58 | +# |
| 59 | +# CLONE/UPDATE ESP-DSP |
| 60 | +# |
| 61 | +echo "Cloning ESP-DSP..." |
| 62 | +git clone $DSP_REPO_URL "$AR_COMPS/espressif__esp-dsp" && \ |
| 63 | + git -C "$AR_COMPS/espressif__esp-dsp" reset --hard 9b4a8b4 && \ |
| 64 | + git -C "$AR_COMPS/espressif__esp-dsp" submodule update --init --recursive |
| 65 | +if [ $? -ne 0 ]; then exit 1; fi |
| 66 | + |
| 67 | +# |
| 68 | +# CLONE/UPDATE TINYUSB |
| 69 | +# |
| 70 | +echo "Cloning TinyUSB..." |
| 71 | +git clone $TINYUSB_REPO_URL "$AR_COMPS/arduino_tinyusb/tinyusb" && \ |
| 72 | + git -C "$AR_COMPS/arduino_tinyusb/tinyusb" reset --hard a0e5626bc && \ |
| 73 | + git -C "$AR_COMPS/arduino_tinyusb/tinyusb" submodule update --init --recursive |
| 74 | +if [ $? -ne 0 ]; then exit 1; fi |
| 75 | + |
0 commit comments