File tree Expand file tree Collapse file tree 4 files changed +44
-2
lines changed Expand file tree Collapse file tree 4 files changed +44
-2
lines changed Original file line number Diff line number Diff line change 22# CMakeLists in this exact order for cmake to work correctly
33cmake_minimum_required (VERSION 3.5)
44
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 )
66
77include ($ENV{IDF_PATH} /tools/cmake/project.cmake)
88project (arduino-lib-builder)
Original file line number Diff line number Diff line change 9898 },
9999 {
100100 "target" : " esp32" ,
101- "features" :[" qio_ram" ],
101+ "features" :[" qio_ram" , " insights " ],
102102 "idf_libs" :[" qio" ," 80m" ],
103103 "bootloaders" :[
104104 [" 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"
66DL_REPO_URL=" https://github.com/espressif/esp-dl.git"
77SR_REPO_URL=" https://github.com/espressif/esp-sr.git"
88RMAKER_REPO_URL=" https://github.com/espressif/esp-rainmaker.git"
9+ INSIGHTS_REPO_URL=" https://github.com/espressif/esp-insights.git"
910DSP_REPO_URL=" https://github.com/espressif/esp-dsp.git"
1011LITTLEFS_REPO_URL=" https://github.com/joltwallet/esp_littlefs.git"
1112TINYUSB_REPO_URL=" https://github.com/hathach/tinyusb.git"
@@ -121,6 +122,20 @@ else
121122fi
122123if [ $? -ne 0 ]; then exit 1; fi
123124
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+
124139#
125140# CLONE/UPDATE ESP-DSP
126141#
You can’t perform that action at this time.
0 commit comments