File tree 4 files changed +44
-2
lines changed
4 files changed +44
-2
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)
5
+ set (EXTRA_COMPONENT_DIRS ${CMAKE_SOURCE_DIR} /components/esp-rainmaker/components ${CMAKE_SOURCE_DIR} /components/esp-insights/components )
6
6
7
7
include ($ENV{IDF_PATH} /tools/cmake/project.cmake)
8
8
project (arduino-lib-builder)
Original file line number Diff line number Diff line change 98
98
},
99
99
{
100
100
"target" : " esp32" ,
101
- "features" :[" qio_ram" ],
101
+ "features" :[" qio_ram" , " insights " ],
102
102
"idf_libs" :[" qio" ," 80m" ],
103
103
"bootloaders" :[
104
104
[" qio" ," 80m" ],
Original file line number Diff line number Diff line change
1
+ CONFIG_ESP_INSIGHTS_ENABLED=y
2
+ # CONFIG_ESP_INSIGHTS_DEBUG_ENABLED is not set
3
+ CONFIG_ESP_INSIGHTS_COREDUMP_ENABLE=y
4
+ # CONFIG_ESP_INSIGHTS_TRANSPORT_MQTT is not set
5
+ CONFIG_ESP_INSIGHTS_TRANSPORT_HTTPS=y
6
+
7
+ CONFIG_DIAG_ENABLE_METRICS=y
8
+ CONFIG_DIAG_ENABLE_WIFI_METRICS=y
9
+ CONFIG_DIAG_ENABLE_HEAP_METRICS=y
10
+ CONFIG_DIAG_ENABLE_VARIABLES=y
11
+ CONFIG_DIAG_ENABLE_NETWORK_VARIABLES=y
12
+
13
+ CONFIG_ESP32_ENABLE_COREDUMP=y
14
+ CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH=y
15
+ CONFIG_ESP32_COREDUMP_DATA_FORMAT_ELF=y
16
+ CONFIG_ESP32_COREDUMP_CHECKSUM_CRC32=y
17
+ CONFIG_ESP32_CORE_DUMP_MAX_TASKS_NUM=64
18
+ CONFIG_ESP32_CORE_DUMP_STACK_SIZE=1024
19
+
20
+ CONFIG_MBEDTLS_DYNAMIC_BUFFER=y
21
+ CONFIG_MBEDTLS_DYNAMIC_FREE_PEER_CERT=y
22
+ CONFIG_MBEDTLS_DYNAMIC_FREE_CONFIG_DATA=y
23
+
24
+ CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
25
+ CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
26
+ CONFIG_PARTITION_TABLE_OFFSET=0x8000
27
+ CONFIG_PARTITION_TABLE_MD5=y
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ CAMERA_REPO_URL="https://github.com/espressif/esp32-camera.git"
6
6
DL_REPO_URL=" https://github.com/espressif/esp-dl.git"
7
7
SR_REPO_URL=" https://github.com/espressif/esp-sr.git"
8
8
RMAKER_REPO_URL=" https://github.com/espressif/esp-rainmaker.git"
9
+ INSIGHTS_REPO_URL=" https://github.com/espressif/esp-insights.git"
9
10
DSP_REPO_URL=" https://github.com/espressif/esp-dsp.git"
10
11
LITTLEFS_REPO_URL=" https://github.com/joltwallet/esp_littlefs.git"
11
12
TINYUSB_REPO_URL=" https://github.com/hathach/tinyusb.git"
@@ -121,6 +122,20 @@ else
121
122
fi
122
123
if [ $? -ne 0 ]; then exit 1; fi
123
124
125
+ #
126
+ # CLONE/UPDATE ESP-INSIGHTS
127
+ #
128
+
129
+ if [ ! -d " $AR_COMPS /esp-insights" ]; then
130
+ git clone $INSIGHTS_REPO_URL " $AR_COMPS /esp-insights" && \
131
+ git -C " $AR_COMPS /esp-insights" submodule update --init --recursive
132
+ else
133
+ git -C " $AR_COMPS /esp-insights" fetch && \
134
+ git -C " $AR_COMPS /esp-insights" pull --ff-only && \
135
+ git -C " $AR_COMPS /esp-insights" submodule update --init --recursive
136
+ fi
137
+ if [ $? -ne 0 ]; then exit 1; fi
138
+
124
139
#
125
140
# CLONE/UPDATE ESP-DSP
126
141
#
You can’t perform that action at this time.
0 commit comments