@@ -13,107 +13,107 @@ TFLITE_REPO_URL="https://github.com/espressif/tflite-micro-esp-examples.git"
1313#
1414# CLONE/UPDATE ESP32-CAMERA
1515#
16- echo " Updating ESP32 Camera..."
17- if [ ! -d " $AR_COMPS /esp32-camera" ]; then
18- git clone $CAMERA_REPO_URL " $AR_COMPS /esp32-camera"
19- else
20- git -C " $AR_COMPS /esp32-camera" fetch && \
21- git -C " $AR_COMPS /esp32-camera" pull --ff-only
22- fi
23- if [ $? -ne 0 ]; then exit 1; fi
16+ # echo "Updating ESP32 Camera..."
17+ # if [ ! -d "$AR_COMPS/esp32-camera" ]; then
18+ # git clone $CAMERA_REPO_URL "$AR_COMPS/esp32-camera"
19+ # else
20+ # git -C "$AR_COMPS/esp32-camera" fetch && \
21+ # git -C "$AR_COMPS/esp32-camera" pull --ff-only
22+ # fi
23+ # if [ $? -ne 0 ]; then exit 1; fi
2424
2525#
2626# CLONE/UPDATE ESP-DL
2727#
2828echo " Updating ESP-DL..."
2929if [ ! -d " $AR_COMPS /esp-dl" ]; then
30- git clone $DL_REPO_URL " $AR_COMPS /esp-dl"
31- # this is a temp measure to fix build issue
32- mv " $AR_COMPS /esp-dl/CMakeLists.txt" " $AR_COMPS /esp-dl/CMakeListsOld.txt"
33- echo " idf_build_get_property(target IDF_TARGET)" > " $AR_COMPS /esp-dl/CMakeLists.txt"
34- echo " if(NOT \$ {IDF_TARGET} STREQUAL \" esp32c6\" AND NOT \$ {IDF_TARGET} STREQUAL \" esp32h2\" )" >> " $AR_COMPS /esp-dl/CMakeLists.txt"
35- cat " $AR_COMPS /esp-dl/CMakeListsOld.txt" >> " $AR_COMPS /esp-dl/CMakeLists.txt"
36- echo " endif()" >> " $AR_COMPS /esp-dl/CMakeLists.txt"
37- rm -rf " $AR_COMPS /esp-dl/CMakeListsOld.txt"
30+ git clone $DL_REPO_URL " $AR_COMPS /esp-dl"
31+ # this is a temp measure to fix build issue
32+ mv " $AR_COMPS /esp-dl/CMakeLists.txt" " $AR_COMPS /esp-dl/CMakeListsOld.txt"
33+ echo " idf_build_get_property(target IDF_TARGET)" > " $AR_COMPS /esp-dl/CMakeLists.txt"
34+ echo " if(NOT \$ {IDF_TARGET} STREQUAL \" esp32c6\" AND NOT \$ {IDF_TARGET} STREQUAL \" esp32h2\" )" >> " $AR_COMPS /esp-dl/CMakeLists.txt"
35+ cat " $AR_COMPS /esp-dl/CMakeListsOld.txt" >> " $AR_COMPS /esp-dl/CMakeLists.txt"
36+ echo " endif()" >> " $AR_COMPS /esp-dl/CMakeLists.txt"
37+ rm -rf " $AR_COMPS /esp-dl/CMakeListsOld.txt"
3838else
39- git -C " $AR_COMPS /esp-dl" fetch && \
40- git -C " $AR_COMPS /esp-dl" pull --ff-only
39+ git -C " $AR_COMPS /esp-dl" fetch && \
40+ git -C " $AR_COMPS /esp-dl" pull --ff-only
4141fi
4242if [ $? -ne 0 ]; then exit 1; fi
4343# this is a temp measure to fix build issue
4444if [ -f " $AR_COMPS /esp-dl/idf_component.yml" ]; then
45- rm -rf " $AR_COMPS /esp-dl/idf_component.yml"
45+ rm -rf " $AR_COMPS /esp-dl/idf_component.yml"
4646fi
4747
4848#
4949# CLONE/UPDATE ESP-SR
5050#
51- echo " Updating ESP-SR..."
52- if [ ! -d " $AR_COMPS /esp-sr" ]; then
53- git clone $SR_REPO_URL " $AR_COMPS /esp-sr"
54- else
55- git -C " $AR_COMPS /esp-sr" fetch && \
56- git -C " $AR_COMPS /esp-sr" pull --ff-only
57- fi
58- if [ $? -ne 0 ]; then exit 1; fi
51+ # echo "Updating ESP-SR..."
52+ # if [ ! -d "$AR_COMPS/esp-sr" ]; then
53+ # git clone $SR_REPO_URL "$AR_COMPS/esp-sr"
54+ # else
55+ # git -C "$AR_COMPS/esp-sr" fetch && \
56+ # git -C "$AR_COMPS/esp-sr" pull --ff-only
57+ # fi
58+ # if [ $? -ne 0 ]; then exit 1; fi
5959
6060#
6161# CLONE/UPDATE ESP-RAINMAKER
6262#
63- echo " Updating ESP-RainMaker..."
64- if [ ! -d " $AR_COMPS /esp-rainmaker" ]; then
65- git clone $RMAKER_REPO_URL " $AR_COMPS /esp-rainmaker" && \
66- git -C " $AR_COMPS /esp-rainmaker" reset --hard d8e93454f495bd8a414829ec5e86842b373ff555 && \
67- git -C " $AR_COMPS /esp-rainmaker" submodule update --init --recursive
63+ # echo "Updating ESP-RainMaker..."
64+ # if [ ! -d "$AR_COMPS/esp-rainmaker" ]; then
65+ # git clone $RMAKER_REPO_URL "$AR_COMPS/esp-rainmaker" && \
66+ # git -C "$AR_COMPS/esp-rainmaker" reset --hard d8e93454f495bd8a414829ec5e86842b373ff555 && \
67+ # git -C "$AR_COMPS/esp-rainmaker" submodule update --init --recursive
6868# else
69- # git -C "$AR_COMPS/esp-rainmaker" fetch && \
70- # git -C "$AR_COMPS/esp-rainmaker" pull --ff-only && \
69+ # git -C "$AR_COMPS/esp-rainmaker" fetch && \
70+ # git -C "$AR_COMPS/esp-rainmaker" pull --ff-only && \
7171# git -C "$AR_COMPS/esp-rainmaker" submodule update --init --recursive
72- fi
73- if [ $? -ne 0 ]; then exit 1; fi
72+ # fi
73+ # if [ $? -ne 0 ]; then exit 1; fi
7474
7575# this is a temp measure to fix build issue
76- if [ -f " $AR_COMPS /esp-rainmaker/components/esp-insights/components/esp_insights/scripts/get_projbuild_gitconfig.py" ] && [ ` cat " $AR_COMPS /esp-rainmaker/components/esp-insights/components/esp_insights/scripts/get_projbuild_gitconfig.py" | grep esp32c6 | wc -l` == " 0" ]; then
77- echo " Overwriting 'get_projbuild_gitconfig.py'"
78- cp -f " tools/get_projbuild_gitconfig.py" " $AR_COMPS /esp-rainmaker/components/esp-insights/components/esp_insights/scripts/get_projbuild_gitconfig.py"
79- fi
76+ # if [ -f "$AR_COMPS/esp-rainmaker/components/esp-insights/components/esp_insights/scripts/get_projbuild_gitconfig.py" ] && [ `cat "$AR_COMPS/esp-rainmaker/components/esp-insights/components/esp_insights/scripts/get_projbuild_gitconfig.py" | grep esp32c6 | wc -l` == "0" ]; then
77+ # echo "Overwriting 'get_projbuild_gitconfig.py'"
78+ # cp -f "tools/get_projbuild_gitconfig.py" "$AR_COMPS/esp-rainmaker/components/esp-insights/components/esp_insights/scripts/get_projbuild_gitconfig.py"
79+ # fi
8080
8181#
8282# CLONE/UPDATE ESP-LITTLEFS
8383#
84- echo " Updating ESP-LITTLEFS..."
85- if [ ! -d " $AR_COMPS /esp_littlefs" ]; then
86- git clone $LITTLEFS_REPO_URL " $AR_COMPS /esp_littlefs" && \
87- git -C " $AR_COMPS /esp_littlefs" submodule update --init --recursive
88- else
89- git -C " $AR_COMPS /esp_littlefs" fetch && \
90- git -C " $AR_COMPS /esp_littlefs" pull --ff-only && \
91- git -C " $AR_COMPS /esp_littlefs" submodule update --init --recursive
92- fi
93- if [ $? -ne 0 ]; then exit 1; fi
84+ # echo "Updating ESP-LITTLEFS..."
85+ # if [ ! -d "$AR_COMPS/esp_littlefs" ]; then
86+ # git clone $LITTLEFS_REPO_URL "$AR_COMPS/esp_littlefs" && \
87+ # git -C "$AR_COMPS/esp_littlefs" submodule update --init --recursive
88+ # else
89+ # git -C "$AR_COMPS/esp_littlefs" fetch && \
90+ # git -C "$AR_COMPS/esp_littlefs" pull --ff-only && \
91+ # git -C "$AR_COMPS/esp_littlefs" submodule update --init --recursive
92+ # fi
93+ # if [ $? -ne 0 ]; then exit 1; fi
9494
9595#
9696# CLONE/UPDATE TINYUSB
9797#
9898echo " Updating TinyUSB..."
9999if [ ! -d " $AR_COMPS /arduino_tinyusb/tinyusb" ]; then
100- git clone $TINYUSB_REPO_URL " $AR_COMPS /arduino_tinyusb/tinyusb"
100+ git clone $TINYUSB_REPO_URL " $AR_COMPS /arduino_tinyusb/tinyusb"
101101else
102- git -C " $AR_COMPS /arduino_tinyusb/tinyusb" fetch && \
103- git -C " $AR_COMPS /arduino_tinyusb/tinyusb" pull --ff-only
102+ git -C " $AR_COMPS /arduino_tinyusb/tinyusb" fetch && \
103+ git -C " $AR_COMPS /arduino_tinyusb/tinyusb" pull --ff-only
104104fi
105105if [ $? -ne 0 ]; then exit 1; fi
106106
107107#
108108# CLONE/UPDATE TFLITE MICRO
109109#
110- echo " Updating TFLite Micro..."
111- if [ ! -d " $AR_COMPS /tflite-micro" ]; then
112- git clone $TFLITE_REPO_URL " $AR_COMPS /tflite-micro"
113- git -C " $AR_COMPS /tflite-micro" submodule update --init --recursive
114- else
115- git -C " $AR_COMPS /tflite-micro" fetch && \
116- git -C " $AR_COMPS /tflite-micro" pull --ff-only
117- git -C " $AR_COMPS /tflite-micro" submodule update --init --recursive
118- fi
119- if [ $? -ne 0 ]; then exit 1; fi
110+ # echo "Updating TFLite Micro..."
111+ # if [ ! -d "$AR_COMPS/tflite-micro" ]; then
112+ # git clone $TFLITE_REPO_URL "$AR_COMPS/tflite-micro"
113+ # git -C "$AR_COMPS/tflite-micro" submodule update --init --recursive
114+ # else
115+ # git -C "$AR_COMPS/tflite-micro" fetch && \
116+ # git -C "$AR_COMPS/tflite-micro" pull --ff-only
117+ # git -C "$AR_COMPS/tflite-micro" submodule update --init --recursive
118+ # fi
119+ # if [ $? -ne 0 ]; then exit 1; fi
0 commit comments