@@ -25,25 +25,25 @@ TFLITE_REPO_URL="https://github.com/espressif/tflite-micro-esp-examples.git"
25
25
#
26
26
# CLONE/UPDATE ESP-DL
27
27
#
28
- echo " Updating ESP-DL..."
29
- if [ ! -d " $AR_COMPS /esp-dl" ]; then
30
- git clone $DL_REPO_URL " $AR_COMPS /esp-dl"
28
+ # echo "Updating ESP-DL..."
29
+ # if [ ! -d "$AR_COMPS/esp-dl" ]; then
30
+ # git clone $DL_REPO_URL "$AR_COMPS/esp-dl"
31
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
- else
39
- git -C " $AR_COMPS /esp-dl" fetch && \
40
- git -C " $AR_COMPS /esp-dl" pull --ff-only
41
- fi
42
- if [ $? -ne 0 ]; then exit 1; fi
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
+ # else
39
+ # git -C "$AR_COMPS/esp-dl" fetch && \
40
+ # git -C "$AR_COMPS/esp-dl" pull --ff-only
41
+ # fi
42
+ # if [ $? -ne 0 ]; then exit 1; fi
43
43
# this is a temp measure to fix build issue
44
- if [ -f " $AR_COMPS /esp-dl/idf_component.yml" ]; then
45
- rm -rf " $AR_COMPS /esp-dl/idf_component.yml"
46
- fi
44
+ # if [ -f "$AR_COMPS/esp-dl/idf_component.yml" ]; then
45
+ # rm -rf "$AR_COMPS/esp-dl/idf_component.yml"
46
+ # fi
47
47
48
48
#
49
49
# CLONE/UPDATE ESP-SR
0 commit comments