File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
# CMakeLists in this exact order for cmake to work correctly
3
3
cmake_minimum_required (VERSION 3.5 )
4
4
5
- set (EXTRA_COMPONENT_DIRS ${CMAKE_SOURCE_DIR} /components/esp-rainmaker/components ${CMAKE_SOURCE_DIR} /components/esp-insights/components )
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
7
7
8
include ($ENV{IDF_PATH} /tools/cmake/project.cmake )
8
9
project (arduino-lib-builder )
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ for item in "${@:2:${#@}-5}"; do
84
84
item=` get_actual_path $item `
85
85
INCLUDES+=" $item "
86
86
elif [ " ${item: 0: 2} " = " .." ]; then
87
- if [[ " ${item: 0: 14} " = " ../components/" && " ${item: 0: 22} " != " ../components/arduino/" ]] || [[ " ${item: 0: 11} " = " ../esp-idf/" ]]; then
87
+ if [[ " ${item: 0: 14} " = " ../components/" && " ${item: 0: 22} " != " ../components/arduino/" ]] || [[ " ${item: 0: 11} " = " ../esp-idf/" ]] || [[ " ${item : 0 : 22} " = " ../managed_components/ " ]] ; then
88
88
item=" $PWD ${item: 2} "
89
89
item=` get_actual_path $item `
90
90
INCLUDES+=" $item "
@@ -474,9 +474,9 @@ echo -n "$LD_SCRIPTS" > "$FLAGS_DIR/ld_scripts"
474
474
echo -n " $AR_LIBS " > " $FLAGS_DIR /ld_libs"
475
475
476
476
# sr model.bin
477
- if [ -f " build/model .bin" ]; then
477
+ if [ -f " build/srmodels/srmodels .bin" ]; then
478
478
mkdir -p " $AR_SDK /esp_sr"
479
- cp -f " build/model .bin" " $AR_SDK /esp_sr/"
479
+ cp -f " build/srmodels/srmodels .bin" " $AR_SDK /esp_sr/"
480
480
cp -f " partitions.csv" " $AR_SDK /esp_sr/"
481
481
fi
482
482
You can’t perform that action at this time.
0 commit comments