@@ -13,107 +13,107 @@ TFLITE_REPO_URL="https://github.com/espressif/tflite-micro-esp-examples.git"
13
13
#
14
14
# CLONE/UPDATE ESP32-CAMERA
15
15
#
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
24
24
25
25
#
26
26
# CLONE/UPDATE ESP-DL
27
27
#
28
28
echo " Updating ESP-DL..."
29
29
if [ ! -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"
38
38
else
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
41
41
fi
42
42
if [ $? -ne 0 ]; then exit 1; fi
43
43
# this is a temp measure to fix build issue
44
44
if [ -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"
46
46
fi
47
47
48
48
#
49
49
# CLONE/UPDATE ESP-SR
50
50
#
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
59
59
60
60
#
61
61
# CLONE/UPDATE ESP-RAINMAKER
62
62
#
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
68
68
# 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 && \
71
71
# 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
74
74
75
75
# 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
80
80
81
81
#
82
82
# CLONE/UPDATE ESP-LITTLEFS
83
83
#
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
94
94
95
95
#
96
96
# CLONE/UPDATE TINYUSB
97
97
#
98
98
echo " Updating TinyUSB..."
99
99
if [ ! -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"
101
101
else
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
104
104
fi
105
105
if [ $? -ne 0 ]; then exit 1; fi
106
106
107
107
#
108
108
# CLONE/UPDATE TFLITE MICRO
109
109
#
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