File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 3
3
cmake_minimum_required (VERSION 3.5)
4
4
5
5
set (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 )
7
7
8
8
include ($ENV{IDF_PATH} /tools/cmake/project.cmake)
9
9
project (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"
8
8
INSIGHTS_REPO_URL=" https://github.com/espressif/esp-insights.git"
9
9
LITTLEFS_REPO_URL=" https://github.com/joltwallet/esp_littlefs.git"
10
10
TINYUSB_REPO_URL=" https://github.com/hathach/tinyusb.git"
11
+ TFLITE_REPO_URL=" https://github.com/espressif/tflite-micro-esp-examples.git"
11
12
12
13
#
13
14
# CLONE/UPDATE ARDUINO
@@ -162,3 +163,17 @@ else
162
163
git -C " $AR_COMPS /arduino_tinyusb/tinyusb" pull --ff-only
163
164
fi
164
165
if [ $? -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