Skip to content

Commit 377a066

Browse files
authored
Merge pull request espressif#15 from sweetymhaiske/RainMaker
Changes added to generate libs for ESP RainMaker
2 parents eb3d6cc + f3d0ba7 commit 377a066

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ EXTRA_COMPONENT_DIRS += $(PROJECT_PATH)/components/esp-face/lib
44
EXTRA_COMPONENT_DIRS += $(PROJECT_PATH)/components/esp-face/image_util
55
EXTRA_COMPONENT_DIRS += $(PROJECT_PATH)/components/esp-face/face_detection
66
EXTRA_COMPONENT_DIRS += $(PROJECT_PATH)/components/esp-face/face_recognition
7+
EXTRA_COMPONENT_DIRS += $(PROJECT_PATH)/components/esp-rainmaker/components/esp_rainmaker
8+
EXTRA_COMPONENT_DIRS += $(PROJECT_PATH)/components/esp-rainmaker/components/json_generator
9+
EXTRA_COMPONENT_DIRS += $(PROJECT_PATH)/components/esp-rainmaker/components/json_parser
10+
EXTRA_COMPONENT_DIRS += $(PROJECT_PATH)/components/esp-rainmaker/components/qrcode
711

812
include $(IDF_PATH)/make/project.mk
913

tools/config.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ IDF_REPO_URL="https://github.com/espressif/esp-idf.git"
2222
CAMERA_REPO_URL="https://github.com/espressif/esp32-camera.git"
2323
FACE_REPO_URL="https://github.com/espressif/esp-face.git"
2424
AR_REPO_URL="https://github.com/$AR_REPO.git"
25+
RMAKER_REPO_URL="https://github.com/espressif/esp-rainmaker.git"
2526

2627
if [ -n $GITHUB_TOKEN ]; then
2728
AR_REPO_URL="https://$GITHUB_TOKEN@github.com/$AR_REPO.git"

tools/update-components.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,15 @@ else
3838
git -C "$AR_COMPS/esp-face" pull origin master
3939
fi
4040
if [ $? -ne 0 ]; then exit 1; fi
41+
42+
#
43+
# CLONE/UPDATE RAINMAKER
44+
#
45+
46+
if [ ! -d "$AR_COMPS/esp-rainmaker" ]; then
47+
git clone $RMAKER_REPO_URL "$AR_COMPS/esp-rainmaker"
48+
else
49+
git -C "$AR_COMPS/esp-rainmaker" fetch origin && \
50+
git -C "$AR_COMPS/esp-rainmaker" pull origin master
51+
fi
52+
if [ $? -ne 0 ]; then exit 1; fi

0 commit comments

Comments
 (0)