Remove insights component since it's provided by RainMaker

This commit is contained in:
me-no-dev 2023-06-12 16:50:54 +02:00
parent be40b3b9a1
commit cc3590c743
74 changed files with 28 additions and 1341 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -656,8 +656,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 2048
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -656,8 +656,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 2048
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -1,123 +0,0 @@
/*
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <esp_err.h>
#include <esp_event.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Data store event base
*/
ESP_EVENT_DECLARE_BASE(ESP_DIAG_DATA_STORE_EVENT);
/**
* @brief Data store events
*
* Diagnostics data store emits following events using default event loop,
* every event has event data of type \ref esp_diag_data_store_event_data_t
*/
typedef enum {
ESP_DIAG_DATA_STORE_EVENT_CRITICAL_DATA_WRITE_FAIL,
ESP_DIAG_DATA_STORE_EVENT_NON_CRITICAL_DATA_WRITE_FAIL,
ESP_DIAG_DATA_STORE_EVENT_CRITICAL_DATA_LOW_MEM,
ESP_DIAG_DATA_STORE_EVENT_NON_CRITICAL_DATA_LOW_MEM,
} esp_diag_data_store_events_t;
/**
* @brief Write critical data to the diagnostics data store
*
* @param[in] data Buffer holding the data
* @param[in] len length of the data to be written
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t esp_diag_data_store_critical_write(void *data, size_t len);
/**
* @brief Write non_critical data to the diagnostics data store
*
* @param[in] dg Data group of the data
* @param[in] data Buffer holding the data
* @param[in] len length of the data to be written
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t esp_diag_data_store_non_critical_write(const char *dg, void *data, size_t len);
/**
* @brief Read critical data from the diagnostics data store
*
* @param[in] buf buffer to hold the data
* @param[out] size Number of bytes read
*
* @return int bytes > 0 on success. Appropriate error otherwise
*/
int esp_diag_data_store_critical_read(uint8_t *buf, size_t size);
/**
* @brief Read non_critical data from the diagnostics data store
*
* @param[in] buf buffer to hold the data
* @param[out] size Number of bytes read
*
* @return int bytes > 0 on success. Appropriate error otherwise
*/
int esp_diag_data_store_non_critical_read(uint8_t *buf, size_t size);
/**
* @brief Release the size bytes of critical data from diagnostics data store
*
* This API can be used to remove data from buffer when data is sent asynchronously.
*
* @param[in] size Number of bytes to free.
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t esp_diag_data_store_critical_release(size_t size);
/**
* @brief Release the size bytes of non_critical data from diagnostics data store
*
* This API can be used to remove data from buffer when data is sent asynchronously.
*
* @param[in] size Number of bytes to free.
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t esp_diag_data_store_non_critical_release(size_t size);
/**
* @brief Initializes the diagnostics data store
*
* @return ESP_OK on success, appropriate error code otherwise
*/
esp_err_t esp_diag_data_store_init(void);
/**
* @brief Deinitializes the diagnostics data store
*/
void esp_diag_data_store_deinit(void);
/**
* @brief Get CRC of diagnostics data store configuration
*
* @return crc
*/
uint32_t esp_diag_data_store_get_crc(void);
/**
* @brief Discard values from diagnostics data store. This API should be called after esp_diag_data_store_init();
*
* @return ESP_OK on success, appropriate error on failure.
*/
esp_err_t esp_diag_data_discard_data(void);
#ifdef __cplusplus
}
#endif

View file

@ -1,174 +0,0 @@
// Copyright 2021 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once
#include <esp_err.h>
#include <esp_event.h>
#ifdef __cplusplus
extern "C" {
#endif
#define SHA_SIZE (CONFIG_APP_RETRIEVE_LEN_ELF_SHA / 2)
/**
* @brief header record to identify firmware/boot data a record represent
*/
typedef struct {
uint8_t gen_id; // generated on each hard reset
uint8_t boot_cnt; // updated on each soft reboot
char sha_sum[SHA_SIZE]; // elf shasum
bool valid; //
} rtc_store_meta_header_t;
/**
* @brief get meta header for idx
*
* @param idx idx of meta from records
* @return rtc_store_meta_header_t*
*/
rtc_store_meta_header_t *rtc_store_get_meta_record_by_index(uint8_t idx);
/**
* @brief get current meta header
*
* @return rtc_store_meta_header_t*
*/
rtc_store_meta_header_t *rtc_store_get_meta_record_current();
/**
* @brief Non critical data header
*/
typedef struct {
const char *dg; /*!< Data group of non critical data eg: heap, wifi, ip */
uint32_t len; /*!< Length of data */
} rtc_store_non_critical_data_hdr_t;
/**
* @brief Write critical data to the RTC storage
*
* @param[in] data Pointer to the data
* @param[in] len Length of data
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t rtc_store_critical_data_write(void *data, size_t len);
/**
* @brief Read critical data from the RTC storage
*
* @param[in] buf Buffer to read data in
* @param[in] size Number of bytes to read
*
* @return Number of bytes read or -1 on error
*/
int rtc_store_critical_data_read(uint8_t *buf, size_t size);
/**
* @brief Release the size bytes critical data from RTC storage
*
* This API can be used to remove data from buffer when data is sent asynchronously.
*
* @param[in] size Number of bytes to free.
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t rtc_store_critical_data_release(size_t size);
/**
* @brief Read critical data from the RTC storage and release that data
*
* @param[in] buf Buffer to read data in
* @param[in] size Number of bytes to read
*
* @return Number of bytes read or -1 on error
*/
int rtc_store_critical_data_read_and_release(uint8_t *buf, size_t size);
/**
* @brief Write non critical data to the RTC storage
*
* This API overwrites the data if non critical storage is full
*
* @param[in] dg Data group of data eg: heap, wifi, ip(Must be the string stored in RODATA)
* @param[in] data Pointer to non critical data
* @param[in] len Length of non critical data
*
* @return ESP_OK on success, appropriate error code otherwise.
*
* @note Data is stored in Type-Length-Value format
* Type(Data group) - 4 byte - Pointer to the string in rodata
* Length - 4 byte - Length of data
* Value - Length byte - Data
*/
esp_err_t rtc_store_non_critical_data_write(const char *dg, void *data, size_t len);
/**
* @brief Read non critical data from the RTC storage
*
* @param[in] buf Buffer to read data in
* @param[in] size Number of bytes read
*
* @return Number of bytes read or -1 on error
*/
int rtc_store_non_critical_data_read(uint8_t *buf, size_t size);
/**
* @brief Release the size bytes non critical data from RTC storage
*
* @param[in] size Number of bytes to free.
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t rtc_store_non_critical_data_release(size_t size);
/**
* @brief Read non_critical data from the RTC storage and release that data
*
* @param[in] buf Buffer to read data in
* @param[in] size Number of bytes read
*
* @return Number of bytes read or -1 on error
*/
int rtc_store_non_critical_data_read_and_release(uint8_t *buf, size_t size);
/**
* @brief Initializes the RTC storage
*
* @return ESP_OK on success, appropriate error code otherwise
*/
esp_err_t rtc_store_init(void);
/**
* @brief Deinitializes the RTC storage
*/
void rtc_store_deinit(void);
/**
* @brief Get CRC of RTC Store configuration
*
* @return crc
*/
uint32_t rtc_store_get_crc(void);
/**
* @brief Discard values from RTC Store. This API should be called after rtc_store_init();
*
* @return ESP_OK on success, appropriate error on failure.
*/
esp_err_t rtc_store_discard_data(void);
#ifdef __cplusplus
}
#endif

View file

@ -291,13 +291,6 @@ void esp_diag_task_snapshot_dump(void);
*/
uint32_t esp_diag_meta_crc_get(void);
/**
* @brief Get CRC of diagnostics data structures' size
*
* @return crc
*/
uint32_t esp_diag_data_size_get_crc(void);
#ifdef __cplusplus
}
#endif

View file

@ -13,7 +13,7 @@
// limitations under the License.
#pragma once
#include <esp_idf_version.h>
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 1, 0)
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)
#include <esp_sntp.h>
#else
#include <sntp.h>

View file

@ -638,8 +638,8 @@ SECTIONS
_bss_start = ABSOLUTE(.);
*(EXCLUDE_FILE(*libbt.a *libbtdm_app.a *libnimble.a) .bss EXCLUDE_FILE(*libbt.a *libbtdm_app.a *libnimble.a) .bss.*)
*(.ext_ram.bss .ext_ram.bss.*)
*(.dynbss .dynsbss .gnu.linkonce.b .gnu.linkonce.b.* .gnu.linkonce.sb .gnu.linkonce.sb.* .gnu.linkonce.sb2 .gnu.linkonce.sb2.* .sbss .sbss.* .sbss2 .sbss2.* .scommon .share.mem)
*(.ext_ram.bss .ext_ram.bss.*)
*(EXCLUDE_FILE(*libbt.a *libbtdm_app.a *libnimble.a) COMMON)
. = ALIGN(4);
_bt_bss_start = ABSOLUTE(.);

Binary file not shown.

View file

@ -656,8 +656,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 2048
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -656,8 +656,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 2048
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -1791,19 +1791,6 @@ CONFIG_IO_GLITCH_FILTER_TIME_MS=50
# CONFIG_WS2812_LED_ENABLE is not set
# end of WS2812 RGB LED
#
# Diagnostics data store
#
CONFIG_DIAG_DATA_STORE_RTC=y
# CONFIG_DIAG_DATA_STORE_FLASH is not set
CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT=80
#
# RTC Store
#
# end of RTC Store
# end of Diagnostics data store
#
# Camera configuration
#

View file

@ -648,8 +648,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 4096
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -648,8 +648,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 4096
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -1,123 +0,0 @@
/*
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <esp_err.h>
#include <esp_event.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Data store event base
*/
ESP_EVENT_DECLARE_BASE(ESP_DIAG_DATA_STORE_EVENT);
/**
* @brief Data store events
*
* Diagnostics data store emits following events using default event loop,
* every event has event data of type \ref esp_diag_data_store_event_data_t
*/
typedef enum {
ESP_DIAG_DATA_STORE_EVENT_CRITICAL_DATA_WRITE_FAIL,
ESP_DIAG_DATA_STORE_EVENT_NON_CRITICAL_DATA_WRITE_FAIL,
ESP_DIAG_DATA_STORE_EVENT_CRITICAL_DATA_LOW_MEM,
ESP_DIAG_DATA_STORE_EVENT_NON_CRITICAL_DATA_LOW_MEM,
} esp_diag_data_store_events_t;
/**
* @brief Write critical data to the diagnostics data store
*
* @param[in] data Buffer holding the data
* @param[in] len length of the data to be written
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t esp_diag_data_store_critical_write(void *data, size_t len);
/**
* @brief Write non_critical data to the diagnostics data store
*
* @param[in] dg Data group of the data
* @param[in] data Buffer holding the data
* @param[in] len length of the data to be written
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t esp_diag_data_store_non_critical_write(const char *dg, void *data, size_t len);
/**
* @brief Read critical data from the diagnostics data store
*
* @param[in] buf buffer to hold the data
* @param[out] size Number of bytes read
*
* @return int bytes > 0 on success. Appropriate error otherwise
*/
int esp_diag_data_store_critical_read(uint8_t *buf, size_t size);
/**
* @brief Read non_critical data from the diagnostics data store
*
* @param[in] buf buffer to hold the data
* @param[out] size Number of bytes read
*
* @return int bytes > 0 on success. Appropriate error otherwise
*/
int esp_diag_data_store_non_critical_read(uint8_t *buf, size_t size);
/**
* @brief Release the size bytes of critical data from diagnostics data store
*
* This API can be used to remove data from buffer when data is sent asynchronously.
*
* @param[in] size Number of bytes to free.
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t esp_diag_data_store_critical_release(size_t size);
/**
* @brief Release the size bytes of non_critical data from diagnostics data store
*
* This API can be used to remove data from buffer when data is sent asynchronously.
*
* @param[in] size Number of bytes to free.
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t esp_diag_data_store_non_critical_release(size_t size);
/**
* @brief Initializes the diagnostics data store
*
* @return ESP_OK on success, appropriate error code otherwise
*/
esp_err_t esp_diag_data_store_init(void);
/**
* @brief Deinitializes the diagnostics data store
*/
void esp_diag_data_store_deinit(void);
/**
* @brief Get CRC of diagnostics data store configuration
*
* @return crc
*/
uint32_t esp_diag_data_store_get_crc(void);
/**
* @brief Discard values from diagnostics data store. This API should be called after esp_diag_data_store_init();
*
* @return ESP_OK on success, appropriate error on failure.
*/
esp_err_t esp_diag_data_discard_data(void);
#ifdef __cplusplus
}
#endif

View file

@ -1,174 +0,0 @@
// Copyright 2021 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once
#include <esp_err.h>
#include <esp_event.h>
#ifdef __cplusplus
extern "C" {
#endif
#define SHA_SIZE (CONFIG_APP_RETRIEVE_LEN_ELF_SHA / 2)
/**
* @brief header record to identify firmware/boot data a record represent
*/
typedef struct {
uint8_t gen_id; // generated on each hard reset
uint8_t boot_cnt; // updated on each soft reboot
char sha_sum[SHA_SIZE]; // elf shasum
bool valid; //
} rtc_store_meta_header_t;
/**
* @brief get meta header for idx
*
* @param idx idx of meta from records
* @return rtc_store_meta_header_t*
*/
rtc_store_meta_header_t *rtc_store_get_meta_record_by_index(uint8_t idx);
/**
* @brief get current meta header
*
* @return rtc_store_meta_header_t*
*/
rtc_store_meta_header_t *rtc_store_get_meta_record_current();
/**
* @brief Non critical data header
*/
typedef struct {
const char *dg; /*!< Data group of non critical data eg: heap, wifi, ip */
uint32_t len; /*!< Length of data */
} rtc_store_non_critical_data_hdr_t;
/**
* @brief Write critical data to the RTC storage
*
* @param[in] data Pointer to the data
* @param[in] len Length of data
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t rtc_store_critical_data_write(void *data, size_t len);
/**
* @brief Read critical data from the RTC storage
*
* @param[in] buf Buffer to read data in
* @param[in] size Number of bytes to read
*
* @return Number of bytes read or -1 on error
*/
int rtc_store_critical_data_read(uint8_t *buf, size_t size);
/**
* @brief Release the size bytes critical data from RTC storage
*
* This API can be used to remove data from buffer when data is sent asynchronously.
*
* @param[in] size Number of bytes to free.
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t rtc_store_critical_data_release(size_t size);
/**
* @brief Read critical data from the RTC storage and release that data
*
* @param[in] buf Buffer to read data in
* @param[in] size Number of bytes to read
*
* @return Number of bytes read or -1 on error
*/
int rtc_store_critical_data_read_and_release(uint8_t *buf, size_t size);
/**
* @brief Write non critical data to the RTC storage
*
* This API overwrites the data if non critical storage is full
*
* @param[in] dg Data group of data eg: heap, wifi, ip(Must be the string stored in RODATA)
* @param[in] data Pointer to non critical data
* @param[in] len Length of non critical data
*
* @return ESP_OK on success, appropriate error code otherwise.
*
* @note Data is stored in Type-Length-Value format
* Type(Data group) - 4 byte - Pointer to the string in rodata
* Length - 4 byte - Length of data
* Value - Length byte - Data
*/
esp_err_t rtc_store_non_critical_data_write(const char *dg, void *data, size_t len);
/**
* @brief Read non critical data from the RTC storage
*
* @param[in] buf Buffer to read data in
* @param[in] size Number of bytes read
*
* @return Number of bytes read or -1 on error
*/
int rtc_store_non_critical_data_read(uint8_t *buf, size_t size);
/**
* @brief Release the size bytes non critical data from RTC storage
*
* @param[in] size Number of bytes to free.
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t rtc_store_non_critical_data_release(size_t size);
/**
* @brief Read non_critical data from the RTC storage and release that data
*
* @param[in] buf Buffer to read data in
* @param[in] size Number of bytes read
*
* @return Number of bytes read or -1 on error
*/
int rtc_store_non_critical_data_read_and_release(uint8_t *buf, size_t size);
/**
* @brief Initializes the RTC storage
*
* @return ESP_OK on success, appropriate error code otherwise
*/
esp_err_t rtc_store_init(void);
/**
* @brief Deinitializes the RTC storage
*/
void rtc_store_deinit(void);
/**
* @brief Get CRC of RTC Store configuration
*
* @return crc
*/
uint32_t rtc_store_get_crc(void);
/**
* @brief Discard values from RTC Store. This API should be called after rtc_store_init();
*
* @return ESP_OK on success, appropriate error on failure.
*/
esp_err_t rtc_store_discard_data(void);
#ifdef __cplusplus
}
#endif

View file

@ -291,13 +291,6 @@ void esp_diag_task_snapshot_dump(void);
*/
uint32_t esp_diag_meta_crc_get(void);
/**
* @brief Get CRC of diagnostics data structures' size
*
* @return crc
*/
uint32_t esp_diag_data_size_get_crc(void);
#ifdef __cplusplus
}
#endif

View file

@ -13,7 +13,7 @@
// limitations under the License.
#pragma once
#include <esp_idf_version.h>
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 1, 0)
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)
#include <esp_sntp.h>
#else
#include <sntp.h>

File diff suppressed because one or more lines are too long

View file

@ -648,8 +648,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 4096
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -648,8 +648,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 4096
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -1844,19 +1844,6 @@ CONFIG_IO_GLITCH_FILTER_TIME_MS=50
# CONFIG_WS2812_LED_ENABLE is not set
# end of WS2812 RGB LED
#
# Diagnostics data store
#
CONFIG_DIAG_DATA_STORE_RTC=y
# CONFIG_DIAG_DATA_STORE_FLASH is not set
CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT=80
#
# RTC Store
#
# end of RTC Store
# end of Diagnostics data store
#
# Camera configuration
#

View file

@ -565,8 +565,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 4096
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -565,8 +565,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 4096
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -1,123 +0,0 @@
/*
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <esp_err.h>
#include <esp_event.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Data store event base
*/
ESP_EVENT_DECLARE_BASE(ESP_DIAG_DATA_STORE_EVENT);
/**
* @brief Data store events
*
* Diagnostics data store emits following events using default event loop,
* every event has event data of type \ref esp_diag_data_store_event_data_t
*/
typedef enum {
ESP_DIAG_DATA_STORE_EVENT_CRITICAL_DATA_WRITE_FAIL,
ESP_DIAG_DATA_STORE_EVENT_NON_CRITICAL_DATA_WRITE_FAIL,
ESP_DIAG_DATA_STORE_EVENT_CRITICAL_DATA_LOW_MEM,
ESP_DIAG_DATA_STORE_EVENT_NON_CRITICAL_DATA_LOW_MEM,
} esp_diag_data_store_events_t;
/**
* @brief Write critical data to the diagnostics data store
*
* @param[in] data Buffer holding the data
* @param[in] len length of the data to be written
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t esp_diag_data_store_critical_write(void *data, size_t len);
/**
* @brief Write non_critical data to the diagnostics data store
*
* @param[in] dg Data group of the data
* @param[in] data Buffer holding the data
* @param[in] len length of the data to be written
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t esp_diag_data_store_non_critical_write(const char *dg, void *data, size_t len);
/**
* @brief Read critical data from the diagnostics data store
*
* @param[in] buf buffer to hold the data
* @param[out] size Number of bytes read
*
* @return int bytes > 0 on success. Appropriate error otherwise
*/
int esp_diag_data_store_critical_read(uint8_t *buf, size_t size);
/**
* @brief Read non_critical data from the diagnostics data store
*
* @param[in] buf buffer to hold the data
* @param[out] size Number of bytes read
*
* @return int bytes > 0 on success. Appropriate error otherwise
*/
int esp_diag_data_store_non_critical_read(uint8_t *buf, size_t size);
/**
* @brief Release the size bytes of critical data from diagnostics data store
*
* This API can be used to remove data from buffer when data is sent asynchronously.
*
* @param[in] size Number of bytes to free.
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t esp_diag_data_store_critical_release(size_t size);
/**
* @brief Release the size bytes of non_critical data from diagnostics data store
*
* This API can be used to remove data from buffer when data is sent asynchronously.
*
* @param[in] size Number of bytes to free.
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t esp_diag_data_store_non_critical_release(size_t size);
/**
* @brief Initializes the diagnostics data store
*
* @return ESP_OK on success, appropriate error code otherwise
*/
esp_err_t esp_diag_data_store_init(void);
/**
* @brief Deinitializes the diagnostics data store
*/
void esp_diag_data_store_deinit(void);
/**
* @brief Get CRC of diagnostics data store configuration
*
* @return crc
*/
uint32_t esp_diag_data_store_get_crc(void);
/**
* @brief Discard values from diagnostics data store. This API should be called after esp_diag_data_store_init();
*
* @return ESP_OK on success, appropriate error on failure.
*/
esp_err_t esp_diag_data_discard_data(void);
#ifdef __cplusplus
}
#endif

View file

@ -1,174 +0,0 @@
// Copyright 2021 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once
#include <esp_err.h>
#include <esp_event.h>
#ifdef __cplusplus
extern "C" {
#endif
#define SHA_SIZE (CONFIG_APP_RETRIEVE_LEN_ELF_SHA / 2)
/**
* @brief header record to identify firmware/boot data a record represent
*/
typedef struct {
uint8_t gen_id; // generated on each hard reset
uint8_t boot_cnt; // updated on each soft reboot
char sha_sum[SHA_SIZE]; // elf shasum
bool valid; //
} rtc_store_meta_header_t;
/**
* @brief get meta header for idx
*
* @param idx idx of meta from records
* @return rtc_store_meta_header_t*
*/
rtc_store_meta_header_t *rtc_store_get_meta_record_by_index(uint8_t idx);
/**
* @brief get current meta header
*
* @return rtc_store_meta_header_t*
*/
rtc_store_meta_header_t *rtc_store_get_meta_record_current();
/**
* @brief Non critical data header
*/
typedef struct {
const char *dg; /*!< Data group of non critical data eg: heap, wifi, ip */
uint32_t len; /*!< Length of data */
} rtc_store_non_critical_data_hdr_t;
/**
* @brief Write critical data to the RTC storage
*
* @param[in] data Pointer to the data
* @param[in] len Length of data
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t rtc_store_critical_data_write(void *data, size_t len);
/**
* @brief Read critical data from the RTC storage
*
* @param[in] buf Buffer to read data in
* @param[in] size Number of bytes to read
*
* @return Number of bytes read or -1 on error
*/
int rtc_store_critical_data_read(uint8_t *buf, size_t size);
/**
* @brief Release the size bytes critical data from RTC storage
*
* This API can be used to remove data from buffer when data is sent asynchronously.
*
* @param[in] size Number of bytes to free.
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t rtc_store_critical_data_release(size_t size);
/**
* @brief Read critical data from the RTC storage and release that data
*
* @param[in] buf Buffer to read data in
* @param[in] size Number of bytes to read
*
* @return Number of bytes read or -1 on error
*/
int rtc_store_critical_data_read_and_release(uint8_t *buf, size_t size);
/**
* @brief Write non critical data to the RTC storage
*
* This API overwrites the data if non critical storage is full
*
* @param[in] dg Data group of data eg: heap, wifi, ip(Must be the string stored in RODATA)
* @param[in] data Pointer to non critical data
* @param[in] len Length of non critical data
*
* @return ESP_OK on success, appropriate error code otherwise.
*
* @note Data is stored in Type-Length-Value format
* Type(Data group) - 4 byte - Pointer to the string in rodata
* Length - 4 byte - Length of data
* Value - Length byte - Data
*/
esp_err_t rtc_store_non_critical_data_write(const char *dg, void *data, size_t len);
/**
* @brief Read non critical data from the RTC storage
*
* @param[in] buf Buffer to read data in
* @param[in] size Number of bytes read
*
* @return Number of bytes read or -1 on error
*/
int rtc_store_non_critical_data_read(uint8_t *buf, size_t size);
/**
* @brief Release the size bytes non critical data from RTC storage
*
* @param[in] size Number of bytes to free.
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t rtc_store_non_critical_data_release(size_t size);
/**
* @brief Read non_critical data from the RTC storage and release that data
*
* @param[in] buf Buffer to read data in
* @param[in] size Number of bytes read
*
* @return Number of bytes read or -1 on error
*/
int rtc_store_non_critical_data_read_and_release(uint8_t *buf, size_t size);
/**
* @brief Initializes the RTC storage
*
* @return ESP_OK on success, appropriate error code otherwise
*/
esp_err_t rtc_store_init(void);
/**
* @brief Deinitializes the RTC storage
*/
void rtc_store_deinit(void);
/**
* @brief Get CRC of RTC Store configuration
*
* @return crc
*/
uint32_t rtc_store_get_crc(void);
/**
* @brief Discard values from RTC Store. This API should be called after rtc_store_init();
*
* @return ESP_OK on success, appropriate error on failure.
*/
esp_err_t rtc_store_discard_data(void);
#ifdef __cplusplus
}
#endif

View file

@ -291,13 +291,6 @@ void esp_diag_task_snapshot_dump(void);
*/
uint32_t esp_diag_meta_crc_get(void);
/**
* @brief Get CRC of diagnostics data structures' size
*
* @return crc
*/
uint32_t esp_diag_data_size_get_crc(void);
#ifdef __cplusplus
}
#endif

View file

@ -13,7 +13,7 @@
// limitations under the License.
#pragma once
#include <esp_idf_version.h>
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 1, 0)
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)
#include <esp_sntp.h>
#else
#include <sntp.h>

File diff suppressed because one or more lines are too long

View file

@ -565,8 +565,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 4096
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -565,8 +565,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 4096
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -1568,19 +1568,6 @@ CONFIG_IO_GLITCH_FILTER_TIME_MS=50
# CONFIG_WS2812_LED_ENABLE is not set
# end of WS2812 RGB LED
#
# Diagnostics data store
#
CONFIG_DIAG_DATA_STORE_RTC=y
# CONFIG_DIAG_DATA_STORE_FLASH is not set
CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT=80
#
# RTC Store
#
# end of RTC Store
# end of Diagnostics data store
#
# Camera configuration
#

View file

@ -713,8 +713,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 4096
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -398,8 +398,8 @@ SECTIONS
*(.ext_ram.bss*)
*(EXCLUDE_FILE(*libbt.a *libbtdm_app.a *libnimble.a) .bss EXCLUDE_FILE(*libbt.a *libbtdm_app.a *libnimble.a) .bss.*)
*(.ext_ram.bss .ext_ram.bss.*)
*(.dynbss .dynsbss .gnu.linkonce.b .gnu.linkonce.b.* .gnu.linkonce.sb .gnu.linkonce.sb.* .gnu.linkonce.sb2 .gnu.linkonce.sb2.* .sbss .sbss.* .sbss2 .sbss2.* .scommon .share.mem)
*(.ext_ram.bss .ext_ram.bss.*)
*(EXCLUDE_FILE(*libbt.a *libbtdm_app.a *libnimble.a) COMMON)
. = ALIGN(4);
_bt_bss_start = ABSOLUTE(.);

View file

@ -711,8 +711,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 4096
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

File diff suppressed because one or more lines are too long

View file

@ -1,123 +0,0 @@
/*
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <esp_err.h>
#include <esp_event.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Data store event base
*/
ESP_EVENT_DECLARE_BASE(ESP_DIAG_DATA_STORE_EVENT);
/**
* @brief Data store events
*
* Diagnostics data store emits following events using default event loop,
* every event has event data of type \ref esp_diag_data_store_event_data_t
*/
typedef enum {
ESP_DIAG_DATA_STORE_EVENT_CRITICAL_DATA_WRITE_FAIL,
ESP_DIAG_DATA_STORE_EVENT_NON_CRITICAL_DATA_WRITE_FAIL,
ESP_DIAG_DATA_STORE_EVENT_CRITICAL_DATA_LOW_MEM,
ESP_DIAG_DATA_STORE_EVENT_NON_CRITICAL_DATA_LOW_MEM,
} esp_diag_data_store_events_t;
/**
* @brief Write critical data to the diagnostics data store
*
* @param[in] data Buffer holding the data
* @param[in] len length of the data to be written
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t esp_diag_data_store_critical_write(void *data, size_t len);
/**
* @brief Write non_critical data to the diagnostics data store
*
* @param[in] dg Data group of the data
* @param[in] data Buffer holding the data
* @param[in] len length of the data to be written
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t esp_diag_data_store_non_critical_write(const char *dg, void *data, size_t len);
/**
* @brief Read critical data from the diagnostics data store
*
* @param[in] buf buffer to hold the data
* @param[out] size Number of bytes read
*
* @return int bytes > 0 on success. Appropriate error otherwise
*/
int esp_diag_data_store_critical_read(uint8_t *buf, size_t size);
/**
* @brief Read non_critical data from the diagnostics data store
*
* @param[in] buf buffer to hold the data
* @param[out] size Number of bytes read
*
* @return int bytes > 0 on success. Appropriate error otherwise
*/
int esp_diag_data_store_non_critical_read(uint8_t *buf, size_t size);
/**
* @brief Release the size bytes of critical data from diagnostics data store
*
* This API can be used to remove data from buffer when data is sent asynchronously.
*
* @param[in] size Number of bytes to free.
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t esp_diag_data_store_critical_release(size_t size);
/**
* @brief Release the size bytes of non_critical data from diagnostics data store
*
* This API can be used to remove data from buffer when data is sent asynchronously.
*
* @param[in] size Number of bytes to free.
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t esp_diag_data_store_non_critical_release(size_t size);
/**
* @brief Initializes the diagnostics data store
*
* @return ESP_OK on success, appropriate error code otherwise
*/
esp_err_t esp_diag_data_store_init(void);
/**
* @brief Deinitializes the diagnostics data store
*/
void esp_diag_data_store_deinit(void);
/**
* @brief Get CRC of diagnostics data store configuration
*
* @return crc
*/
uint32_t esp_diag_data_store_get_crc(void);
/**
* @brief Discard values from diagnostics data store. This API should be called after esp_diag_data_store_init();
*
* @return ESP_OK on success, appropriate error on failure.
*/
esp_err_t esp_diag_data_discard_data(void);
#ifdef __cplusplus
}
#endif

View file

@ -1,174 +0,0 @@
// Copyright 2021 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once
#include <esp_err.h>
#include <esp_event.h>
#ifdef __cplusplus
extern "C" {
#endif
#define SHA_SIZE (CONFIG_APP_RETRIEVE_LEN_ELF_SHA / 2)
/**
* @brief header record to identify firmware/boot data a record represent
*/
typedef struct {
uint8_t gen_id; // generated on each hard reset
uint8_t boot_cnt; // updated on each soft reboot
char sha_sum[SHA_SIZE]; // elf shasum
bool valid; //
} rtc_store_meta_header_t;
/**
* @brief get meta header for idx
*
* @param idx idx of meta from records
* @return rtc_store_meta_header_t*
*/
rtc_store_meta_header_t *rtc_store_get_meta_record_by_index(uint8_t idx);
/**
* @brief get current meta header
*
* @return rtc_store_meta_header_t*
*/
rtc_store_meta_header_t *rtc_store_get_meta_record_current();
/**
* @brief Non critical data header
*/
typedef struct {
const char *dg; /*!< Data group of non critical data eg: heap, wifi, ip */
uint32_t len; /*!< Length of data */
} rtc_store_non_critical_data_hdr_t;
/**
* @brief Write critical data to the RTC storage
*
* @param[in] data Pointer to the data
* @param[in] len Length of data
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t rtc_store_critical_data_write(void *data, size_t len);
/**
* @brief Read critical data from the RTC storage
*
* @param[in] buf Buffer to read data in
* @param[in] size Number of bytes to read
*
* @return Number of bytes read or -1 on error
*/
int rtc_store_critical_data_read(uint8_t *buf, size_t size);
/**
* @brief Release the size bytes critical data from RTC storage
*
* This API can be used to remove data from buffer when data is sent asynchronously.
*
* @param[in] size Number of bytes to free.
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t rtc_store_critical_data_release(size_t size);
/**
* @brief Read critical data from the RTC storage and release that data
*
* @param[in] buf Buffer to read data in
* @param[in] size Number of bytes to read
*
* @return Number of bytes read or -1 on error
*/
int rtc_store_critical_data_read_and_release(uint8_t *buf, size_t size);
/**
* @brief Write non critical data to the RTC storage
*
* This API overwrites the data if non critical storage is full
*
* @param[in] dg Data group of data eg: heap, wifi, ip(Must be the string stored in RODATA)
* @param[in] data Pointer to non critical data
* @param[in] len Length of non critical data
*
* @return ESP_OK on success, appropriate error code otherwise.
*
* @note Data is stored in Type-Length-Value format
* Type(Data group) - 4 byte - Pointer to the string in rodata
* Length - 4 byte - Length of data
* Value - Length byte - Data
*/
esp_err_t rtc_store_non_critical_data_write(const char *dg, void *data, size_t len);
/**
* @brief Read non critical data from the RTC storage
*
* @param[in] buf Buffer to read data in
* @param[in] size Number of bytes read
*
* @return Number of bytes read or -1 on error
*/
int rtc_store_non_critical_data_read(uint8_t *buf, size_t size);
/**
* @brief Release the size bytes non critical data from RTC storage
*
* @param[in] size Number of bytes to free.
*
* @return ESP_OK on success, appropriate error code otherwise.
*/
esp_err_t rtc_store_non_critical_data_release(size_t size);
/**
* @brief Read non_critical data from the RTC storage and release that data
*
* @param[in] buf Buffer to read data in
* @param[in] size Number of bytes read
*
* @return Number of bytes read or -1 on error
*/
int rtc_store_non_critical_data_read_and_release(uint8_t *buf, size_t size);
/**
* @brief Initializes the RTC storage
*
* @return ESP_OK on success, appropriate error code otherwise
*/
esp_err_t rtc_store_init(void);
/**
* @brief Deinitializes the RTC storage
*/
void rtc_store_deinit(void);
/**
* @brief Get CRC of RTC Store configuration
*
* @return crc
*/
uint32_t rtc_store_get_crc(void);
/**
* @brief Discard values from RTC Store. This API should be called after rtc_store_init();
*
* @return ESP_OK on success, appropriate error on failure.
*/
esp_err_t rtc_store_discard_data(void);
#ifdef __cplusplus
}
#endif

View file

@ -291,13 +291,6 @@ void esp_diag_task_snapshot_dump(void);
*/
uint32_t esp_diag_meta_crc_get(void);
/**
* @brief Get CRC of diagnostics data structures' size
*
* @return crc
*/
uint32_t esp_diag_data_size_get_crc(void);
#ifdef __cplusplus
}
#endif

View file

@ -13,7 +13,7 @@
// limitations under the License.
#pragma once
#include <esp_idf_version.h>
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 1, 0)
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)
#include <esp_sntp.h>
#else
#include <sntp.h>

View file

@ -714,8 +714,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 4096
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -712,8 +712,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 4096
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -713,8 +713,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 4096
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -711,8 +711,6 @@
#define CONFIG_RTC_STORE_CRITICAL_DATA_SIZE 4096
#define CONFIG_RTC_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_IO_GLITCH_FILTER_TIME_MS 50
#define CONFIG_DIAG_DATA_STORE_RTC 1
#define CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT 80
#define CONFIG_OV7670_SUPPORT 1
#define CONFIG_OV7725_SUPPORT 1
#define CONFIG_NT99141_SUPPORT 1

View file

@ -398,8 +398,8 @@ SECTIONS
*(.ext_ram.bss*)
*(EXCLUDE_FILE(*libbt.a *libbtdm_app.a *libnimble.a) .bss EXCLUDE_FILE(*libbt.a *libbtdm_app.a *libnimble.a) .bss.*)
*(.dynbss .dynsbss .gnu.linkonce.b .gnu.linkonce.b.* .gnu.linkonce.sb .gnu.linkonce.sb.* .gnu.linkonce.sb2 .gnu.linkonce.sb2.* .sbss .sbss.* .sbss2 .sbss2.* .scommon .share.mem)
*(.ext_ram.bss .ext_ram.bss.*)
*(.dynbss .dynsbss .gnu.linkonce.b .gnu.linkonce.b.* .gnu.linkonce.sb .gnu.linkonce.sb.* .gnu.linkonce.sb2 .gnu.linkonce.sb2.* .sbss .sbss.* .sbss2 .sbss2.* .scommon .share.mem)
*(EXCLUDE_FILE(*libbt.a *libbtdm_app.a *libnimble.a) COMMON)
. = ALIGN(4);
_bt_bss_start = ABSOLUTE(.);

View file

@ -2020,19 +2020,6 @@ CONFIG_IO_GLITCH_FILTER_TIME_MS=50
# CONFIG_WS2812_LED_ENABLE is not set
# end of WS2812 RGB LED
#
# Diagnostics data store
#
CONFIG_DIAG_DATA_STORE_RTC=y
# CONFIG_DIAG_DATA_STORE_FLASH is not set
CONFIG_DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT=80
#
# RTC Store
#
# end of RTC Store
# end of Diagnostics data store
#
# Camera configuration
#

View file

@ -1,7 +1,6 @@
esp-idf: v4.4.5 ac5d805d0e
arduino: release/v2.x 447f6db6
esp-dl: master 0632d24
esp-insights: main e057926
esp-rainmaker: master b001a86
esp32-camera: master e689c3b
esp_littlefs: master 9eeac09