File tree 2 files changed +15
-1
lines changed
2 files changed +15
-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 ${CMAKE_SOURCE_DIR} /components/esp-insights/components)
6
+ set (EXTRA_COMPONENT_DIRS ${RMAKER_PATH} /components/esp-insights/components ${RMAKER_PATH} /components ${CMAKE_SOURCE_DIR} /components/esp-insights/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 @@ -10,6 +10,7 @@ INSIGHTS_REPO_URL="https://github.com/espressif/esp-insights.git"
10
10
DSP_REPO_URL=" https://github.com/espressif/esp-dsp.git"
11
11
LITTLEFS_REPO_URL=" https://github.com/joltwallet/esp_littlefs.git"
12
12
TINYUSB_REPO_URL=" https://github.com/hathach/tinyusb.git"
13
+ TFLITE_REPO_URL=" https://github.com/espressif/tflite-micro-esp-examples.git"
13
14
14
15
#
15
16
# CLONE/UPDATE ARDUINO
@@ -163,3 +164,16 @@ else
163
164
fi
164
165
if [ $? -ne 0 ]; then exit 1; fi
165
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