File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 33cmake_minimum_required (VERSION 3.5)
44
55set (RMAKER_PATH ${CMAKE_SOURCE_DIR} /components/esp-rainmaker)
6- set (EXTRA_COMPONENT_DIRS ${RMAKER_PATH} /components/esp-insights/components ${RMAKER_PATH} /components)
6+ set (EXTRA_COMPONENT_DIRS ${RMAKER_PATH} /components/esp-insights/components ${RMAKER_PATH} /components ${CMAKE_SOURCE_DIR} /components/tflite-micro/components )
77
88include ($ENV{IDF_PATH} /tools/cmake/project.cmake)
99project (arduino-lib-builder)
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ RMAKER_REPO_URL="https://github.com/espressif/esp-rainmaker.git"
88INSIGHTS_REPO_URL=" https://github.com/espressif/esp-insights.git"
99LITTLEFS_REPO_URL=" https://github.com/joltwallet/esp_littlefs.git"
1010TINYUSB_REPO_URL=" https://github.com/hathach/tinyusb.git"
11+ TFLITE_REPO_URL=" https://github.com/espressif/tflite-micro-esp-examples.git"
1112
1213#
1314# CLONE/UPDATE ARDUINO
@@ -162,3 +163,17 @@ else
162163 git -C " $AR_COMPS /arduino_tinyusb/tinyusb" pull --ff-only
163164fi
164165if [ $? -ne 0 ]; then exit 1; fi
166+
167+ #
168+ # CLONE/UPDATE TFLITE MICRO
169+ #
170+ echo " Updating TFLite Micro..."
171+ if [ ! -d " $AR_COMPS /tflite-micro" ]; then
172+ git clone $TFLITE_REPO_URL " $AR_COMPS /tflite-micro"
173+ git -C " $AR_COMPS /tflite-micro" submodule update --init --recursive
174+ else
175+ git -C " $AR_COMPS /tflite-micro" fetch && \
176+ git -C " $AR_COMPS /tflite-micro" pull --ff-only
177+ git -C " $AR_COMPS /tflite-micro" submodule update --init --recursive
178+ fi
179+ if [ $? -ne 0 ]; then exit 1; fi
You can’t perform that action at this time.
0 commit comments