From cf08c65ebd26dbd8774499da25568100337a8090 Mon Sep 17 00:00:00 2001 From: Me No Dev Date: Tue, 25 Apr 2023 03:07:28 +0300 Subject: [PATCH 1/2] Update build badge in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 27584c82c..054523e5f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ESP32 Arduino Lib Builder [![Build Status](https://travis-ci.org/espressif/esp32-arduino-lib-builder.svg?branch=master)](https://travis-ci.org/espressif/esp32-arduino-lib-builder) +# ESP32 Arduino Lib Builder [![ESP32 Arduino Libs CI](https://github.com/espressif/esp32-arduino-lib-builder/actions/workflows/push.yml/badge.svg)](https://github.com/espressif/esp32-arduino-lib-builder/actions/workflows/push.yml) This repository contains the scripts that produce the libraries included with esp32-arduino. From cc40e1e17988929a0ea37b511466ef69b6dca5da Mon Sep 17 00:00:00 2001 From: Sanket Wadekar <67091512+sanketwadekar@users.noreply.github.com> Date: Mon, 3 Jul 2023 10:37:37 +0530 Subject: [PATCH 2/2] Added tflite-micro component --- CMakeLists.txt | 2 +- tools/update-components.sh | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e2270bd1..8db3a3c34 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.5) set(RMAKER_PATH ${CMAKE_SOURCE_DIR}/components/esp-rainmaker) -set(EXTRA_COMPONENT_DIRS ${RMAKER_PATH}/components/esp-insights/components ${RMAKER_PATH}/components) +set(EXTRA_COMPONENT_DIRS ${RMAKER_PATH}/components/esp-insights/components ${RMAKER_PATH}/components ${CMAKE_SOURCE_DIR}/components/tflite-micro/components) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(arduino-lib-builder) diff --git a/tools/update-components.sh b/tools/update-components.sh index 763ecef40..4a4d06b50 100755 --- a/tools/update-components.sh +++ b/tools/update-components.sh @@ -8,6 +8,7 @@ RMAKER_REPO_URL="https://github.com/espressif/esp-rainmaker.git" INSIGHTS_REPO_URL="https://github.com/espressif/esp-insights.git" LITTLEFS_REPO_URL="https://github.com/joltwallet/esp_littlefs.git" TINYUSB_REPO_URL="https://github.com/hathach/tinyusb.git" +TFLITE_REPO_URL="https://github.com/espressif/tflite-micro-esp-examples.git" # # CLONE/UPDATE ARDUINO @@ -162,3 +163,17 @@ else git -C "$AR_COMPS/arduino_tinyusb/tinyusb" pull --ff-only fi if [ $? -ne 0 ]; then exit 1; fi + +# +# CLONE/UPDATE TFLITE MICRO +# +echo "Updating TFLite Micro..." +if [ ! -d "$AR_COMPS/tflite-micro" ]; then + git clone $TFLITE_REPO_URL "$AR_COMPS/tflite-micro" + git -C "$AR_COMPS/tflite-micro" submodule update --init --recursive +else + git -C "$AR_COMPS/tflite-micro" fetch && \ + git -C "$AR_COMPS/tflite-micro" pull --ff-only + git -C "$AR_COMPS/tflite-micro" submodule update --init --recursive +fi +if [ $? -ne 0 ]; then exit 1; fi