Browse Source

finish the main code

master
pomin-163 4 months ago
parent
commit
286a555188
  1. 2
      .vscode/settings.json
  2. 1
      CMakeLists.txt
  3. 16
      Proj.code-workspace
  4. 36
      main/Kconfig.projbuild
  5. 2
      main/app.h
  6. 14
      main/init/app_init.h
  7. 22
      main/init/btns_init.c
  8. 4
      main/init/fd_init.cpp
  9. 89
      main/init/led_init.c
  10. 4
      main/init/lvgl_init.c
  11. 179
      main/init/mqtt_init.c
  12. 79
      main/main.c
  13. 29
      main/main.cpp
  14. 101
      sdkconfig
  15. 119
      sdkconfig.old

2
.vscode/settings.json

@ -1,3 +1,3 @@
{
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools"
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
}

1
CMakeLists.txt

@ -8,6 +8,7 @@ set(EXTRA_COMPONENT_DIRS "components/board"
"components/led_strip"
"components/modules"
"components/myui"
"components/esp32-DHT11"
)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)

16
Proj.code-workspace

@ -99,7 +99,21 @@
"xlocale": "c",
"xstring": "c",
"who_human_face_detection.hpp": "c",
"who_camera.h": "c"
"who_camera.h": "c",
"event_groups.h": "c",
"adc.h": "c",
"gpio.h": "c",
"nvs_flash.h": "c",
"stddef.h": "c",
"esp_wifi.h": "c",
"esp_netif.h": "c",
"disp_driver.h": "c",
"esp_event.h": "c",
"stdio.h": "c",
"stdint.h": "c",
"esp_log.h": "c",
"thread": "c",
"lvgl_helpers.h": "c"
},
},
}

36
main/Kconfig.projbuild

@ -73,7 +73,7 @@ menu "My Configuration"
menu "wifi"
config ESP_WIFI_SSID
string "WiFi STA SSID"
default ""
default "CMCC-WEB"
help
WiFi SSID (network name) to connect to or empty for Off.
@ -83,23 +83,29 @@ menu "My Configuration"
help
WiFi Password if WEP/WPA/WPA2 or empty if Open.
config ESP_WIFI_AP_SSID
string "WiFi AP SSID"
default "ESP32-Camera"
config ESP_MQTT_ADRESS
string "MQTT SERVER ADRESS"
default "ws://tools.pomin.top:8083/mqtt"
help
AP SSID (network name) to create or empty for Off.
The MQTT server adress to connect.
config ESP_WIFI_AP_PASSWORD
string "WiFi AP Password"
default ""
help
AP password for WPA2 or empty for Open.
# config ESP_WIFI_AP_SSID
# string "WiFi AP SSID"
# default "ESP32-Camera"
# help
# AP SSID (network name) to create or empty for Off.
config SERVER_IP
string "WiFi AP IP Address"
default "192.168.4.1"
help
IP address that the ESP will assign to it's AP interface. You can use this IP to connect to the camera after flashing.
# config ESP_WIFI_AP_PASSWORD
# string "WiFi AP Password"
# default ""
# help
# AP password for WPA2 or empty for Open.
# config SERVER_IP
# string "WiFi AP IP Address"
# default "192.168.4.1"
# help
# IP address that the ESP will assign to it's AP interface. You can use this IP to connect to the camera after flashing.
config ESP_MAXIMUM_RETRY
int "Maximum retry"

2
main/app.h

@ -2,7 +2,7 @@
* @author: Pomin
* @date: 2022-08-27 22:33:59
* @github: https://github.com/POMIN-163
* @lastedit: 2022-10-01 11:00:42
* @lastedit: 2022-10-15 11:26:12
* @description:
**/
#ifndef _APP_H

14
main/init/app_init.h

@ -2,7 +2,7 @@
* @author: Pomin
* @date: 2022-08-27 22:34:01
* @github: https://github.com/POMIN-163
* @lastedit: 2022-10-01 10:59:34
* @lastedit: 2022-10-15 15:11:09
* @description:
**/
#ifndef _APP_INIT_H
@ -16,16 +16,13 @@ extern "C"{
#include <stdint.h>
#include <stddef.h>
#include <string.h>
#include "esp_wifi.h"
#include "esp_log.h"
#include "esp_system.h"
#include "esp_event.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_heap_caps.h"
#include "esp_log.h"
#include "driver/gpio.h"
#include "driver/adc.h"
#include "freertos/queue.h"
#include "freertos/semphr.h"
int lvgl_init(void);
void lv_port_indev_init(void);
@ -33,6 +30,7 @@ void led_init(void);
void btns_init(void);
void fd_register(void);
void fd_init(void);
void mqtt_init(void);
#ifdef __cplusplus
}

22
main/init/btns_init.c

@ -2,10 +2,12 @@
* @author: Pomin
* @date: 2022-08-27 22:33:46
* @github: https://github.com/POMIN-163
* @lastedit: 2022-08-28 22:26:31
* @lastedit: 2022-10-15 16:09:10
* @description: ADC
**/
#include "app_init.h"
#include "driver/adc.h"
#include "gui_guider.h"
#include "lvgl_helpers.h"
@ -30,7 +32,7 @@ static uint8_t key_status;
* @param adc_reading
* @return double
**/
double adc_voltage_conversion(uint32_t adc_reading) {
static double adc_voltage_conversion(uint32_t adc_reading) {
double voltage = 0;
voltage = (2.60 * adc_reading) / 8191;
@ -38,7 +40,7 @@ double adc_voltage_conversion(uint32_t adc_reading) {
return voltage;
}
void button_task(void *arg) {
static void button_task(void *arg) {
while (1) {
uint32_t adc_reading = 0;
double voltage = 0;
@ -87,7 +89,7 @@ void button_task(void *arg) {
* @brief ADC
*
**/
void adc_init(void) {
static void adc_init(void) {
if (unit == ADC_UNIT_1) {
adc1_config_width(width);
adc1_config_channel_atten(channel, atten);
@ -124,12 +126,12 @@ void lv_port_indev_init(void) {
indev_button = lv_indev_drv_register(&indev_drv);
static const lv_point_t btn_points[6] = {
{ 300, 20 }, /* Button 0 */
{ 300, 60 }, /* Button 1 */
{ 300, 100 }, /* Button 2 */
{ 300, 140 }, /* Button 3 */
{ 300, 180 }, /* Button 4 */
{ 300, 220 }, /* Button 5 */
{ 311, 20 }, /* Button 0 */
{ 311, 60 }, /* Button 1 */
{ 311, 100 }, /* Button 2 */
{ 311, 140 }, /* Button 3 */
{ 311, 180 }, /* Button 4 */
{ 311, 220 }, /* Button 5 */
};
lv_indev_set_button_points(indev_button, btn_points);
}

4
main/init/fd_init.cpp

@ -2,7 +2,7 @@
* @author: Pomin
* @date: 2022-10-01 10:57:31
* @github: https://github.com/POMIN-163
* @lastedit: 2022-10-01 11:07:47
* @lastedit: 2022-10-15 11:30:50
* @description:
**/
#include "app_init.h"
@ -17,7 +17,7 @@ static const char *TAG = "face";
* @brief
*
**/
void fd_task(void *arg) {
static void fd_task(void *arg) {
while (1) {
bool is_detected = false;
if (xQueueReceive(xQueueResult, &is_detected, pdMS_TO_TICKS(5000))) {

89
main/init/led_init.c

@ -2,14 +2,15 @@
* @author: Pomin
* @date: 2022-08-27 22:33:39
* @github: https://github.com/POMIN-163
* @lastedit: 2022-08-28 22:35:55
* @lastedit: 2022-10-15 20:32:14
* @description: led
**/
#include "app_init.h"
#include "driver/rmt.h"
#include "driver/gpio.h"
#include "led_strip.h"
led_strip_t* strip;
led_strip_t *strip;
#define TAG "led"
@ -21,7 +22,7 @@ led_strip_t* strip;
* @param rmt_channel
* @return esp_err_t
**/
esp_err_t rmt_init(uint8_t gpio_num, int led_number, uint8_t rmt_channel) {
static esp_err_t rmt_init(uint8_t gpio_num, int led_number, uint8_t rmt_channel) {
ESP_LOGI(TAG, "Initializing WS2812");
rmt_config_t config = RMT_DEFAULT_CONFIG_TX(gpio_num, rmt_channel);
@ -31,7 +32,7 @@ esp_err_t rmt_init(uint8_t gpio_num, int led_number, uint8_t rmt_channel) {
ESP_ERROR_CHECK(rmt_driver_install(config.channel, 0, 0));
led_strip_config_t strip_config =
LED_STRIP_DEFAULT_CONFIG(led_number, (led_strip_dev_t)config.channel);
LED_STRIP_DEFAULT_CONFIG(led_number, (led_strip_dev_t) config.channel);
strip = led_strip_new_rmt_ws2812(&strip_config);
if (!strip) {
@ -64,11 +65,11 @@ typedef struct crgb {
* @param rgb
* @param hsv
**/
void HSVtoRGB(crgb* rgb, chsv* hsv) {
static void HSVtoRGB(crgb *rgb, chsv *hsv) {
// R,G,B from 0-255, H from 0-360, S,V from 0-100
uint16_t rgb_max = (uint16_t)(hsv->v * 2.55f);
uint16_t rgb_min = (uint16_t)(rgb_max * (100 - hsv->s) / 100.0f);
uint16_t rgb_max = (uint16_t) (hsv->v * 2.55f);
uint16_t rgb_min = (uint16_t) (rgb_max * (100 - hsv->s) / 100.0f);
int i = hsv->h / 60;
int difs = hsv->h % 60; // factorial part of h
@ -77,36 +78,36 @@ void HSVtoRGB(crgb* rgb, chsv* hsv) {
uint16_t rgb_Adj = (rgb_max - rgb_min) * difs / 60.0f;
switch (i) {
case 0:
rgb->r = (uint8_t)rgb_max;
rgb->g = (uint8_t)(rgb_min + rgb_Adj);
rgb->b = (uint8_t)rgb_min;
break;
case 1:
rgb->r = (uint8_t)(rgb_max - rgb_Adj);
rgb->g = (uint8_t)rgb_max;
rgb->b = (uint8_t)rgb_min;
break;
case 2:
rgb->r = (uint8_t)rgb_min;
rgb->g = (uint8_t)rgb_max;
rgb->b = (uint8_t)(rgb_min + rgb_Adj);
break;
case 3:
rgb->r = (uint8_t)rgb_min;
rgb->g = (uint8_t)(rgb_max - rgb_Adj);
rgb->b = (uint8_t)rgb_max;
break;
case 4:
rgb->r = (uint8_t)(rgb_min + rgb_Adj);
rgb->g = (uint8_t)rgb_min;
rgb->b = (uint8_t)rgb_max;
break;
default: // case 5:
rgb->r = (uint8_t)rgb_max;
rgb->g = (uint8_t)rgb_min;
rgb->b = (uint8_t)(rgb_max - rgb_Adj);
break;
case 0:
rgb->r = (uint8_t) rgb_max;
rgb->g = (uint8_t) (rgb_min + rgb_Adj);
rgb->b = (uint8_t) rgb_min;
break;
case 1:
rgb->r = (uint8_t) (rgb_max - rgb_Adj);
rgb->g = (uint8_t) rgb_max;
rgb->b = (uint8_t) rgb_min;
break;
case 2:
rgb->r = (uint8_t) rgb_min;
rgb->g = (uint8_t) rgb_max;
rgb->b = (uint8_t) (rgb_min + rgb_Adj);
break;
case 3:
rgb->r = (uint8_t) rgb_min;
rgb->g = (uint8_t) (rgb_max - rgb_Adj);
rgb->b = (uint8_t) rgb_max;
break;
case 4:
rgb->r = (uint8_t) (rgb_min + rgb_Adj);
rgb->g = (uint8_t) rgb_min;
rgb->b = (uint8_t) rgb_max;
break;
default: // case 5:
rgb->r = (uint8_t) rgb_max;
rgb->g = (uint8_t) rgb_min;
rgb->b = (uint8_t) (rgb_max - rgb_Adj);
break;
}
}
@ -114,8 +115,8 @@ void HSVtoRGB(crgb* rgb, chsv* hsv) {
* @brief
*
**/
crgb* rgb_brilliant(void) {
static crgb rgb = {0};
static crgb *rgb_brilliant(void) {
static crgb rgb = { 0 };
static int step = 1;
static chsv hsv = {
.h = 0, // 0 ~ 360
@ -132,8 +133,8 @@ crgb* rgb_brilliant(void) {
return &rgb;
}
void led_task(void* arg) {
crgb * rgb;
static void led_task(void *arg) {
crgb *rgb;
while (1) {
vTaskDelay(10);
@ -149,10 +150,8 @@ void led_task(void* arg) {
*
**/
void led_init(void) {
ESP_ERROR_CHECK(
rmt_init(CONFIG_RMT_TX_GPIO, CONFIG_STRIP_LED_NUMBER, RMT_CHANNEL_0));
BaseType_t res = xTaskCreatePinnedToCore(&led_task, "led_task", 1 * 1024,
NULL, 5, NULL, 0);
rmt_init(CONFIG_RMT_TX_GPIO, CONFIG_STRIP_LED_NUMBER, RMT_CHANNEL_0);
BaseType_t res = xTaskCreatePinnedToCore(&led_task, "led_task", 1 * 1024, NULL, 5, NULL, 0);
if (res == pdPASS) {
ESP_LOGI(TAG, "successed init.");
} else {

4
main/init/lvgl_init.c

@ -2,7 +2,7 @@
* @author: Pomin
* @date: 2022-08-27 22:33:56
* @github: https://github.com/POMIN-163
* @lastedit: 2022-08-28 22:15:27
* @lastedit: 2022-10-15 20:49:13
* @description: lvgl
**/
#include "app_init.h"
@ -27,7 +27,7 @@ static void lv_tick_task(void *arg) {
SemaphoreHandle_t xGuiSemaphore;
lv_ui guider_ui;
void gui_task(void *arg) {
static void gui_task(void *arg) {
xGuiSemaphore = xSemaphoreCreateMutex();
lv_init();
lvgl_driver_init();

179
main/init/mqtt_init.c

@ -0,0 +1,179 @@
/**
* @author: Pomin
* @date: 2022-10-15 08:51:11
* @github: https://github.com/POMIN-163
* @lastedit: 2022-10-16 13:07:59
* @description:
**/
#include "app_init.h"
#include "esp_wifi.h"
#include "esp_event.h"
#include "freertos/event_groups.h"
#include "lwip/dns.h"
#include "lwip/netdb.h"
#include "lwip/sockets.h"
#include "mqtt_client.h"
#include "nvs_flash.h"
#include "esp_netif.h"
#include "esp_event.h"
#include "freertos/event_groups.h"
static const char *TAG = "mqtt";
// wifi连上事件
static EventGroupHandle_t wifi_event_group;
// mqtt连上事件
static EventGroupHandle_t mqtt_event_group;
const static int CONNECTED_BIT = BIT0;
// static void log_error_if_nonzero(const char *message, int error_code) {
// if (error_code != 0) {
// ESP_LOGE(TAG, "Last error %s: 0x%x", message, error_code);
// }
// }
static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) {
// ESP_LOGD(TAG, "Event dispatched from event loop base=%s, event_id=%d",
// base,
// event_id);
esp_mqtt_event_handle_t event = (esp_mqtt_event_handle_t) event_data;
esp_mqtt_client_handle_t client = (esp_mqtt_client_handle_t) event->client;
int msg_id;
switch ((esp_mqtt_event_id_t) event_id) {
case MQTT_EVENT_CONNECTED:
ESP_LOGI(TAG, "MQTT_EVENT_CONNECTED");
msg_id = esp_mqtt_client_subscribe(client, "/pomin/mqtt/toMcu", 1);
xEventGroupSetBits(mqtt_event_group, CONNECTED_BIT);
// msg_id = esp_mqtt_client_publish(client, "/topic/qos1", "data_3", 0, 1, 0); // ESP_LOGI(TAG, "sent publish successful, msg_id=%d",
// msg_id); msg_id = esp_mqtt_client_subscribe(client, "/topic/qos0", 0); // ESP_LOGI(TAG, "sent subscribe successful,
// msg_id=%d", msg_id);
// msg_id = esp_mqtt_client_subscribe(client, "/topic/qos1", 1);
// // ESP_LOGI(TAG, "sent subscribe successful, msg_id=%d", msg_id);
// msg_id = esp_mqtt_client_unsubscribe(client, "/topic/qos1");
// // ESP_LOGI(TAG, "sent unsubscribe successful, msg_id=%d", msg_id);
break;
case MQTT_EVENT_DISCONNECTED:
ESP_LOGI(TAG, "MQTT_EVENT_DISCONNECTED");
xEventGroupClearBits(mqtt_event_group, CONNECTED_BIT);
break;
case MQTT_EVENT_SUBSCRIBED:
ESP_LOGI(TAG, "MQTT_EVENT_SUBSCRIBED, msg_id=%d", event->msg_id);
// msg_id = esp_mqtt_client_publish(client, "/topic/qos0", "data", 0, 0, 0);
// ESP_LOGI(TAG, "sent publish successful, msg_id=%d", msg_id);
break;
case MQTT_EVENT_UNSUBSCRIBED:
ESP_LOGI(TAG, "MQTT_EVENT_UNSUBSCRIBED, msg_id=%d", event->msg_id);
break;
case MQTT_EVENT_PUBLISHED:
ESP_LOGI(TAG, "MQTT_EVENT_PUBLISHED, msg_id=%d", event->msg_id);
break;
case MQTT_EVENT_DATA:
ESP_LOGI(TAG, "MQTT_EVENT_DATA");
printf("TOPIC=%.*s\r\n", event->topic_len, event->topic);
printf("DATA=%.*s\r\n", event->data_len, event->data);
// esp_mqtt_client_publish(client, "/pomin/mqtt", "rec !!", 0, 0, 0);
break;
case MQTT_EVENT_ERROR:
ESP_LOGI(TAG, "MQTT_EVENT_ERROR");
// xEventGroupClearBits(mqtt_event_group, CONNECTED_BIT);
// if (event->error_handle->error_type == MQTT_ERROR_TYPE_TCP_TRANSPORT) {
// log_error_if_nonzero("reported from esp-tls", event->error_handle->esp_tls_last_esp_err);
// log_error_if_nonzero("reported from tls stack", event->error_handle->esp_tls_stack_err);
// log_error_if_nonzero("captured as transport's socket errno", event->error_handle->esp_transport_sock_errno);
// // ESP_LOGI(TAG, "Last errno string (%s)", strerror(event->error_handle->esp_transport_sock_errno));
// }
break;
default:
ESP_LOGI(TAG, "Other event id:%d", event->event_id);
xEventGroupClearBits(mqtt_event_group, CONNECTED_BIT);
break;
}
}
esp_mqtt_client_handle_t mqtt_client;
static void mqtt_app_start(void) {
const esp_mqtt_client_config_t mqtt_cfg = {
.uri = CONFIG_ESP_MQTT_ADRESS,
};
mqtt_event_group = xEventGroupCreate();
mqtt_client = esp_mqtt_client_init(&mqtt_cfg);
esp_mqtt_client_register_event(mqtt_client, ESP_EVENT_ANY_ID, mqtt_event_handler, NULL);
esp_mqtt_client_start(mqtt_client);
xEventGroupWaitBits(mqtt_event_group, CONNECTED_BIT, false, true, portMAX_DELAY);
}
// wifi状态机
static esp_err_t wifi_event_handler(void *ctx, system_event_t *event) {
switch (event->event_id) {
case SYSTEM_EVENT_STA_START:
esp_wifi_connect();
break;
case SYSTEM_EVENT_STA_GOT_IP:
xEventGroupSetBits(wifi_event_group, CONNECTED_BIT);
break;
case SYSTEM_EVENT_STA_DISCONNECTED:
esp_wifi_connect();
xEventGroupClearBits(wifi_event_group, CONNECTED_BIT);
break;
default:
break;
}
return ESP_OK;
}
// wifi初始化
static void wifi_init(void) {
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
wifi_config_t wifi_config = {
.sta =
{
.ssid = "landianb62",
.password = "landianb62",
},
// {
// .ssid = "CMCC-WEB",
// .password = "88888888",
// },
// {
// .ssid = CONFIG_ESP_WIFI_SSID,
// .password = CONFIG_ESP_WIFI_PASSWORD,
// },
};
wifi_event_group = xEventGroupCreate();
esp_event_loop_init(wifi_event_handler, NULL);
esp_wifi_init(&cfg);
esp_wifi_set_storage(WIFI_STORAGE_RAM);
esp_wifi_set_mode(WIFI_MODE_STA);
esp_wifi_set_config(ESP_IF_WIFI_STA, &wifi_config);
ESP_LOGI(TAG, "start the WIFI SSID:[%s]", wifi_config.sta.ssid);
esp_wifi_start();
ESP_LOGI(TAG, "Waiting for wifi");
//等待wifi连上
xEventGroupWaitBits(wifi_event_group, CONNECTED_BIT, false, true, portMAX_DELAY);
}
/**
* @brief mqtt
*
**/
void mqtt_init(void) {
nvs_flash_init();
esp_netif_init();
tcpip_adapter_init();
esp_event_loop_create_default();
wifi_init();
mqtt_app_start();
}

79
main/main.c

@ -0,0 +1,79 @@
/**
* @author: Pomin
* @date: 2022-08-27 22:33:49
* @github: https://github.com/POMIN-163
* @lastedit: 2022-10-16 13:06:20
* @description:
**/
#include "app.h"
#include "dht11.h"
#include "gui_guider.h"
#include "disp_driver.h"
#include "lvgl.h"
#include "cJSON.h"
#include "mqtt_client.h"
extern lv_ui guider_ui;
extern esp_mqtt_client_handle_t mqtt_client;
int btns_id = 0;
static const char *TAG = "main";
int app_init(void) {
led_init();
btns_init();
lvgl_init();
mqtt_init();
// fd_init();
return 0;
}
void app_main() {
// fd_register();
app_init();
DHT11_init(GPIO_NUM_35);
ESP_LOGI(TAG, "[APP] Startup..");
ESP_LOGI(TAG, "[APP] Free memory (IRAM): %d KB", esp_get_free_internal_heap_size() / 1024);
ESP_LOGI(TAG, "[APP] Free memory (EX-RAM): %d KB", esp_get_free_heap_size() / 1024);
ESP_LOGI(TAG, "[APP] IDF version: %s", esp_get_idf_version());
struct dht11_reading bak = {-1, -1, -1};
while (1) {
struct dht11_reading res = DHT11_read();
// ESP_LOGI("--", "......");
if (!res.status) {
char buff[20];
bak.humidity = res.humidity;
bak.temperature = res.temperature;
bak.status = res.status;
sprintf(buff, "%d %%", res.humidity);
lv_label_set_text(guider_ui.screen_label_3, buff);
sprintf(buff, "%d'C", res.temperature);
lv_label_set_text(guider_ui.screen_label_4, buff);
lv_bar_set_value(guider_ui.screen_bar_1, res.humidity, LV_ANIM_ON);
lv_bar_set_value(guider_ui.screen_bar_2, res.temperature, LV_ANIM_ON);
}
vTaskDelay(pdMS_TO_TICKS(100));
static int tick_div = 0;
if (tick_div++ > 10) {
cJSON *root, *hum, *tem;
root = cJSON_CreateObject();
hum = cJSON_CreateNumber((double) bak.humidity);
tem = cJSON_CreateNumber((double) bak.temperature);
cJSON_AddItemToObject(root, "hum", hum);
cJSON_AddItemToObject(root, "tem", tem);
esp_mqtt_client_publish(mqtt_client, "/pomin/mqtt", cJSON_Print(root), 0, 0, 0);
ESP_LOGI(" ", "%s", cJSON_Print(root));
cJSON_Delete(root);
tick_div = 0;
}
}
}

29
main/main.cpp

@ -1,29 +0,0 @@
/**
* @author: Pomin
* @date: 2022-08-27 22:33:49
* @github: https://github.com/POMIN-163
* @lastedit: 2022-10-01 11:14:54
* @description:
**/
#include <stdio.h>
#include "app.h"
static const char *TAG = "main";
#include "lvgl.h"
#include "disp_driver.h"
extern "C" int app_init(void) {
led_init();
btns_init();
lvgl_init();
fd_init();
return 0;
}
extern "C" void app_main() {
fd_register();
app_init();
}

101
sdkconfig

@ -39,9 +39,9 @@ CONFIG_APP_RETRIEVE_LEN_ELF_SHA=16
# Bootloader config
#
CONFIG_BOOTLOADER_OFFSET_IN_FLASH=0x1000
CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE is not set
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_DEBUG is not set
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_PERF is not set
CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_PERF=y
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE is not set
# CONFIG_BOOTLOADER_LOG_LEVEL_NONE is not set
# CONFIG_BOOTLOADER_LOG_LEVEL_ERROR is not set
@ -179,11 +179,9 @@ CONFIG_STRIP_LED_NUMBER=1
#
# wifi
#
CONFIG_ESP_WIFI_SSID="....."
CONFIG_ESP_WIFI_SSID="CMCC-WEB"
CONFIG_ESP_WIFI_PASSWORD="88888888"
CONFIG_ESP_WIFI_AP_SSID="ESP32-Camera"
CONFIG_ESP_WIFI_AP_PASSWORD=""
CONFIG_SERVER_IP="192.168.4.1"
CONFIG_ESP_MQTT_ADRESS="ws://tools.pomin.top:8083/mqtt"
CONFIG_ESP_MAXIMUM_RETRY=5
# end of wifi
# end of My Configuration
@ -191,25 +189,22 @@ CONFIG_ESP_MAXIMUM_RETRY=5
#
# ESP Speech Recognition
#
CONFIG_USE_AFE=y
CONFIG_AFE_INTERFACE_V1=y
CONFIG_USE_WAKENET=y
CONFIG_USE_MULTINET=y
CONFIG_SR_MN_CN_NONE=y
CONFIG_SR_MN_EN_NONE=y
# CONFIG_USE_AFE is not set
# CONFIG_USE_WAKENET is not set
# CONFIG_USE_MULTINET is not set
# end of ESP Speech Recognition
#
# Compiler options
#
CONFIG_COMPILER_OPTIMIZATION_DEFAULT=y
# CONFIG_COMPILER_OPTIMIZATION_DEFAULT is not set
# CONFIG_COMPILER_OPTIMIZATION_SIZE is not set
# CONFIG_COMPILER_OPTIMIZATION_PERF is not set
CONFIG_COMPILER_OPTIMIZATION_PERF=y
# CONFIG_COMPILER_OPTIMIZATION_NONE is not set
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y
# CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE is not set
# CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT is not set
# CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE is not set
CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL=2
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE=y
CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL=0
# CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT is not set
CONFIG_COMPILER_HIDE_PATHS_MACROS=y
# CONFIG_COMPILER_CXX_EXCEPTIONS is not set
@ -330,10 +325,10 @@ CONFIG_ESP32S2_INSTRUCTION_CACHE_8KB=y
# CONFIG_ESP32S2_INSTRUCTION_CACHE_16KB is not set
# CONFIG_ESP32S2_INSTRUCTION_CACHE_LINE_16B is not set
CONFIG_ESP32S2_INSTRUCTION_CACHE_LINE_32B=y
# CONFIG_ESP32S2_DATA_CACHE_8KB is not set
CONFIG_ESP32S2_DATA_CACHE_16KB=y
# CONFIG_ESP32S2_DATA_CACHE_LINE_16B is not set
CONFIG_ESP32S2_DATA_CACHE_LINE_32B=y
CONFIG_ESP32S2_DATA_CACHE_8KB=y
# CONFIG_ESP32S2_DATA_CACHE_16KB is not set
CONFIG_ESP32S2_DATA_CACHE_LINE_16B=y
# CONFIG_ESP32S2_DATA_CACHE_LINE_32B is not set
# CONFIG_ESP32S2_INSTRUCTION_CACHE_WRAP is not set
# CONFIG_ESP32S2_DATA_CACHE_WRAP is not set
# end of Cache config
@ -356,30 +351,29 @@ CONFIG_DEFAULT_PSRAM_CLK_IO=30
CONFIG_DEFAULT_PSRAM_CS_IO=26
# end of PSRAM clock and cs IO for ESP32S2
# CONFIG_SPIRAM_FETCH_INSTRUCTIONS is not set
# CONFIG_SPIRAM_RODATA is not set
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
CONFIG_SPIRAM_RODATA=y
CONFIG_SPIRAM_SPEED_80M=y
# CONFIG_SPIRAM_SPEED_40M is not set
# CONFIG_SPIRAM_SPEED_26M is not set
# CONFIG_SPIRAM_SPEED_20M is not set
CONFIG_SPIRAM=y
CONFIG_SPIRAM_BOOT_INIT=y
# CONFIG_SPIRAM_IGNORE_NOTFOUND is not set
# CONFIG_SPIRAM_USE_MEMMAP is not set
# CONFIG_SPIRAM_USE_CAPS_ALLOC is not set
CONFIG_SPIRAM_USE_MALLOC=y
CONFIG_SPIRAM_MEMTEST=y
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=16384
# CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP is not set
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=64
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=32768
# CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY is not set
CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY=y
# end of SPI RAM config
# CONFIG_ESP32S2_TRAX is not set
CONFIG_ESP32S2_TRACEMEM_RESERVE_DRAM=0x0
# CONFIG_ESP32S2_ULP_COPROC_ENABLED is not set
CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM=0
CONFIG_ESP32S2_DEBUG_OCDAWARE=y
# CONFIG_ESP32S2_DEBUG_OCDAWARE is not set
CONFIG_ESP32S2_BROWNOUT_DET=y
CONFIG_ESP32S2_BROWNOUT_DET_LVL_SEL_7=y
# CONFIG_ESP32S2_BROWNOUT_DET_LVL_SEL_6 is not set
@ -413,16 +407,13 @@ CONFIG_ESP32S2_RTC_CLK_CAL_CYCLES=576
# Common ESP-related
#
CONFIG_ESP_ERR_TO_NAME_LOOKUP=y
CONFIG_ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY=y
# end of Common ESP-related
#
# Ethernet
#
CONFIG_ETH_ENABLED=y
CONFIG_ETH_USE_SPI_ETHERNET=y
# CONFIG_ETH_SPI_ETHERNET_DM9051 is not set
# CONFIG_ETH_SPI_ETHERNET_W5500 is not set
# CONFIG_ETH_SPI_ETHERNET_KSZ8851SNL is not set
# CONFIG_ETH_USE_SPI_ETHERNET is not set
# CONFIG_ETH_USE_OPENETH is not set
# end of Ethernet
@ -616,8 +607,8 @@ CONFIG_ESP32_WIFI_RX_BA_WIN=6
CONFIG_ESP32_WIFI_NVS_ENABLED=y
CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN=752
CONFIG_ESP32_WIFI_MGMT_SBUF_NUM=32
CONFIG_ESP32_WIFI_IRAM_OPT=y
CONFIG_ESP32_WIFI_RX_IRAM_OPT=y
# CONFIG_ESP32_WIFI_IRAM_OPT is not set
# CONFIG_ESP32_WIFI_RX_IRAM_OPT is not set
CONFIG_ESP32_WIFI_ENABLE_WPA3_SAE=y
# CONFIG_ESP_WIFI_SLP_IRAM_OPT is not set
# CONFIG_ESP_WIFI_FTM_ENABLE is not set
@ -713,7 +704,7 @@ CONFIG_FREERTOS_CORETIMER_0=y
# CONFIG_FREERTOS_CORETIMER_1 is not set
CONFIG_FREERTOS_SYSTICK_USES_CCOUNT=y
CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y
CONFIG_FREERTOS_HZ=100
CONFIG_FREERTOS_HZ=1000
CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION=y
# CONFIG_FREERTOS_CHECK_STACKOVERFLOW_NONE is not set
# CONFIG_FREERTOS_CHECK_STACKOVERFLOW_PTRVAL is not set
@ -721,9 +712,8 @@ CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY=y
# CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is not set
CONFIG_FREERTOS_INTERRUPT_BACKTRACE=y
CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1
CONFIG_FREERTOS_ASSERT_FAIL_ABORT=y
# CONFIG_FREERTOS_ASSERT_FAIL_PRINT_CONTINUE is not set
# CONFIG_FREERTOS_ASSERT_DISABLE is not set
CONFIG_FREERTOS_ASSERT_DISABLE=y
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1536
CONFIG_FREERTOS_ISR_STACKSIZE=1536
# CONFIG_FREERTOS_LEGACY_HOOKS is not set
@ -736,11 +726,9 @@ CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10
CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0
# CONFIG_FREERTOS_USE_TRACE_FACILITY is not set
# CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS is not set
CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER=y
CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER=y
# CONFIG_FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE is not set
# CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH is not set
CONFIG_FREERTOS_DEBUG_OCDAWARE=y
CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT=y
# CONFIG_FREERTOS_PLACE_SNAPSHOT_FUNS_INTO_FLASH is not set
# end of FreeRTOS
@ -750,9 +738,7 @@ CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT=y
#
CONFIG_HAL_ASSERTION_EQUALS_SYSTEM=y
# CONFIG_HAL_ASSERTION_DISABLE is not set
# CONFIG_HAL_ASSERTION_SILIENT is not set
# CONFIG_HAL_ASSERTION_ENABLE is not set
CONFIG_HAL_DEFAULT_ASSERTION_LEVEL=2
CONFIG_HAL_DEFAULT_ASSERTION_LEVEL=0
# end of Hardware Abstraction Layer (HAL) and Low Level (LL)
#
@ -868,6 +854,7 @@ CONFIG_LWIP_TCP_QUEUE_OOSEQ=y
CONFIG_LWIP_TCP_OVERSIZE_MSS=y
# CONFIG_LWIP_TCP_OVERSIZE_QUARTER_MSS is not set
# CONFIG_LWIP_TCP_OVERSIZE_DISABLE is not set
# CONFIG_LWIP_WND_SCALE is not set
CONFIG_LWIP_TCP_RTO_TIME=1500
# end of TCP
@ -917,8 +904,6 @@ CONFIG_LWIP_SNTP_MAX_SERVERS=1
CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000
# end of SNTP
CONFIG_LWIP_ESP_LWIP_ASSERT=y
#
# Hooks
#
@ -1093,7 +1078,7 @@ CONFIG_MDNS_MULTIPLE_INSTANCE=y
CONFIG_MQTT_PROTOCOL_311=y
CONFIG_MQTT_TRANSPORT_SSL=y
CONFIG_MQTT_TRANSPORT_WEBSOCKET=y
CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE=y
# CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE is not set
# CONFIG_MQTT_MSG_ID_INCREMENTAL is not set
# CONFIG_MQTT_SKIP_PUBLISH_IF_DISCONNECTED is not set
# CONFIG_MQTT_REPORT_DELETED_MESSAGES is not set
@ -1330,8 +1315,11 @@ CONFIG_CAMERA_DMA_BUFFER_SIZE_MAX=32768
# Wi-Fi Configuration
#
CONFIG_ESP_HOST_NAME=""
CONFIG_ESP_WIFI_AP_SSID="ESP32-Camera"
CONFIG_ESP_WIFI_AP_PASSWORD=""
CONFIG_MAX_STA_CONN=1
CONFIG_ESP_WIFI_AP_CHANNEL=""
CONFIG_SERVER_IP="192.168.4.1"
# end of Wi-Fi Configuration
#
@ -1374,17 +1362,6 @@ CONFIG_I2C_MS_TO_WAIT=200
# end of I2C Bus Options
# end of Bus Options
#
# lv_examples configuration
#
# CONFIG_LV_EX_PRINTF is not set
# CONFIG_LV_USE_DEMO_WIDGETS is not set
# CONFIG_LV_USE_DEMO_KEYPAD_AND_ENCODER is not set
CONFIG_LV_USE_DEMO_BENCHMARK=y
# CONFIG_LV_USE_DEMO_STRESS is not set
# CONFIG_LV_USE_DEMO_MUSIC is not set
# end of lv_examples configuration
#
# LVGL configuration
#
@ -1764,7 +1741,7 @@ CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_ILI9341=y
# CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_RM68120 is not set
# CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_SSD1351 is not set
# CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_SSD1963 is not set
# CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_ST7789 is not set
CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_ST7789=y
# CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_ST7796 is not set
# CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_SSD1306 is not set
# CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_SSD1307 is not set
@ -1803,12 +1780,12 @@ CONFIG_MONITOR_BAUD_115200B=y
# CONFIG_MONITOR_BAUD_OTHER is not set
CONFIG_MONITOR_BAUD_OTHER_VAL=115200
CONFIG_MONITOR_BAUD=115200
CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG=y
# CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG is not set
# CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE is not set
CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y
# CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED is not set
# CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is not set
# CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED is not set
CONFIG_OPTIMIZATION_ASSERTION_LEVEL=2
CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED=y
CONFIG_OPTIMIZATION_ASSERTION_LEVEL=0
# CONFIG_CXX_EXCEPTIONS is not set
CONFIG_STACK_CHECK_NONE=y
# CONFIG_STACK_CHECK_NORM is not set

119
sdkconfig.old

@ -39,9 +39,9 @@ CONFIG_APP_RETRIEVE_LEN_ELF_SHA=16
# Bootloader config
#
CONFIG_BOOTLOADER_OFFSET_IN_FLASH=0x1000
CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE is not set
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_DEBUG is not set
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_PERF is not set
CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_PERF=y
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE is not set
# CONFIG_BOOTLOADER_LOG_LEVEL_NONE is not set
# CONFIG_BOOTLOADER_LOG_LEVEL_ERROR is not set
@ -179,11 +179,9 @@ CONFIG_STRIP_LED_NUMBER=1
#
# wifi
#
CONFIG_ESP_WIFI_SSID="....."
CONFIG_ESP_WIFI_SSID="CMCC-WEB"
CONFIG_ESP_WIFI_PASSWORD="88888888"
CONFIG_ESP_WIFI_AP_SSID="ESP32-Camera"
CONFIG_ESP_WIFI_AP_PASSWORD=""
CONFIG_SERVER_IP="192.168.4.1"
CONFIG_ESP_MQTT_ADRESS="ws://tools.pomin.top:8083/mqtt"
CONFIG_ESP_MAXIMUM_RETRY=5
# end of wifi
# end of My Configuration
@ -191,25 +189,22 @@ CONFIG_ESP_MAXIMUM_RETRY=5
#
# ESP Speech Recognition
#
CONFIG_USE_AFE=y
CONFIG_AFE_INTERFACE_V1=y
CONFIG_USE_WAKENET=y
CONFIG_USE_MULTINET=y
CONFIG_SR_MN_CN_NONE=y
CONFIG_SR_MN_EN_NONE=y
# CONFIG_USE_AFE is not set
# CONFIG_USE_WAKENET is not set
# CONFIG_USE_MULTINET is not set
# end of ESP Speech Recognition
#
# Compiler options
#
CONFIG_COMPILER_OPTIMIZATION_DEFAULT=y
# CONFIG_COMPILER_OPTIMIZATION_DEFAULT is not set
# CONFIG_COMPILER_OPTIMIZATION_SIZE is not set
# CONFIG_COMPILER_OPTIMIZATION_PERF is not set
CONFIG_COMPILER_OPTIMIZATION_PERF=y
# CONFIG_COMPILER_OPTIMIZATION_NONE is not set
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y
# CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE is not set
# CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT is not set
# CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE is not set
CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL=2
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE=y
CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL=0
# CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT is not set
CONFIG_COMPILER_HIDE_PATHS_MACROS=y
# CONFIG_COMPILER_CXX_EXCEPTIONS is not set
@ -330,10 +325,10 @@ CONFIG_ESP32S2_INSTRUCTION_CACHE_8KB=y
# CONFIG_ESP32S2_INSTRUCTION_CACHE_16KB is not set
# CONFIG_ESP32S2_INSTRUCTION_CACHE_LINE_16B is not set
CONFIG_ESP32S2_INSTRUCTION_CACHE_LINE_32B=y
# CONFIG_ESP32S2_DATA_CACHE_8KB is not set
CONFIG_ESP32S2_DATA_CACHE_16KB=y
# CONFIG_ESP32S2_DATA_CACHE_LINE_16B is not set
CONFIG_ESP32S2_DATA_CACHE_LINE_32B=y
CONFIG_ESP32S2_DATA_CACHE_8KB=y
# CONFIG_ESP32S2_DATA_CACHE_16KB is not set
CONFIG_ESP32S2_DATA_CACHE_LINE_16B=y
# CONFIG_ESP32S2_DATA_CACHE_LINE_32B is not set
# CONFIG_ESP32S2_INSTRUCTION_CACHE_WRAP is not set
# CONFIG_ESP32S2_DATA_CACHE_WRAP is not set
# end of Cache config
@ -356,30 +351,29 @@ CONFIG_DEFAULT_PSRAM_CLK_IO=30
CONFIG_DEFAULT_PSRAM_CS_IO=26
# end of PSRAM clock and cs IO for ESP32S2
# CONFIG_SPIRAM_FETCH_INSTRUCTIONS is not set
# CONFIG_SPIRAM_RODATA is not set
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
CONFIG_SPIRAM_RODATA=y
CONFIG_SPIRAM_SPEED_80M=y
# CONFIG_SPIRAM_SPEED_40M is not set
# CONFIG_SPIRAM_SPEED_26M is not set
# CONFIG_SPIRAM_SPEED_20M is not set
CONFIG_SPIRAM=y
CONFIG_SPIRAM_BOOT_INIT=y
# CONFIG_SPIRAM_IGNORE_NOTFOUND is not set
# CONFIG_SPIRAM_USE_MEMMAP is not set
# CONFIG_SPIRAM_USE_CAPS_ALLOC is not set
CONFIG_SPIRAM_USE_MALLOC=y
CONFIG_SPIRAM_MEMTEST=y
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=16384
# CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP is not set
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=256
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=32768
# CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY is not set
CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY=y
# end of SPI RAM config
# CONFIG_ESP32S2_TRAX is not set
CONFIG_ESP32S2_TRACEMEM_RESERVE_DRAM=0x0
# CONFIG_ESP32S2_ULP_COPROC_ENABLED is not set
CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM=0
CONFIG_ESP32S2_DEBUG_OCDAWARE=y
# CONFIG_ESP32S2_DEBUG_OCDAWARE is not set
CONFIG_ESP32S2_BROWNOUT_DET=y
CONFIG_ESP32S2_BROWNOUT_DET_LVL_SEL_7=y
# CONFIG_ESP32S2_BROWNOUT_DET_LVL_SEL_6 is not set
@ -413,16 +407,13 @@ CONFIG_ESP32S2_RTC_CLK_CAL_CYCLES=576
# Common ESP-related
#
CONFIG_ESP_ERR_TO_NAME_LOOKUP=y
CONFIG_ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY=y
# end of Common ESP-related
#
# Ethernet
#
CONFIG_ETH_ENABLED=y
CONFIG_ETH_USE_SPI_ETHERNET=y
# CONFIG_ETH_SPI_ETHERNET_DM9051 is not set
# CONFIG_ETH_SPI_ETHERNET_W5500 is not set
# CONFIG_ETH_SPI_ETHERNET_KSZ8851SNL is not set
# CONFIG_ETH_USE_SPI_ETHERNET is not set
# CONFIG_ETH_USE_OPENETH is not set
# end of Ethernet
@ -616,8 +607,8 @@ CONFIG_ESP32_WIFI_RX_BA_WIN=6
CONFIG_ESP32_WIFI_NVS_ENABLED=y
CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN=752
CONFIG_ESP32_WIFI_MGMT_SBUF_NUM=32
CONFIG_ESP32_WIFI_IRAM_OPT=y
CONFIG_ESP32_WIFI_RX_IRAM_OPT=y
# CONFIG_ESP32_WIFI_IRAM_OPT is not set
# CONFIG_ESP32_WIFI_RX_IRAM_OPT is not set
CONFIG_ESP32_WIFI_ENABLE_WPA3_SAE=y
# CONFIG_ESP_WIFI_SLP_IRAM_OPT is not set
# CONFIG_ESP_WIFI_FTM_ENABLE is not set
@ -713,7 +704,7 @@ CONFIG_FREERTOS_CORETIMER_0=y
# CONFIG_FREERTOS_CORETIMER_1 is not set
CONFIG_FREERTOS_SYSTICK_USES_CCOUNT=y
CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y
CONFIG_FREERTOS_HZ=100
CONFIG_FREERTOS_HZ=1000
CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION=y
# CONFIG_FREERTOS_CHECK_STACKOVERFLOW_NONE is not set
# CONFIG_FREERTOS_CHECK_STACKOVERFLOW_PTRVAL is not set
@ -721,9 +712,8 @@ CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY=y
# CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is not set
CONFIG_FREERTOS_INTERRUPT_BACKTRACE=y
CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1
CONFIG_FREERTOS_ASSERT_FAIL_ABORT=y
# CONFIG_FREERTOS_ASSERT_FAIL_PRINT_CONTINUE is not set
# CONFIG_FREERTOS_ASSERT_DISABLE is not set
CONFIG_FREERTOS_ASSERT_DISABLE=y
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1536
CONFIG_FREERTOS_ISR_STACKSIZE=1536
# CONFIG_FREERTOS_LEGACY_HOOKS is not set
@ -736,11 +726,9 @@ CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10
CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0
# CONFIG_FREERTOS_USE_TRACE_FACILITY is not set
# CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS is not set
CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER=y
CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER=y
# CONFIG_FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE is not set
# CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH is not set
CONFIG_FREERTOS_DEBUG_OCDAWARE=y
CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT=y
# CONFIG_FREERTOS_PLACE_SNAPSHOT_FUNS_INTO_FLASH is not set
# end of FreeRTOS
@ -750,9 +738,7 @@ CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT=y
#
CONFIG_HAL_ASSERTION_EQUALS_SYSTEM=y
# CONFIG_HAL_ASSERTION_DISABLE is not set
# CONFIG_HAL_ASSERTION_SILIENT is not set
# CONFIG_HAL_ASSERTION_ENABLE is not set
CONFIG_HAL_DEFAULT_ASSERTION_LEVEL=2
CONFIG_HAL_DEFAULT_ASSERTION_LEVEL=0
# end of Hardware Abstraction Layer (HAL) and Low Level (LL)
#
@ -801,7 +787,7 @@ CONFIG_LOG_TIMESTAMP_SOURCE_RTOS=y
#
# LWIP
#
CONFIG_LWIP_LOCAL_HOSTNAME="espressif"
CONFIG_LWIP_LOCAL_HOSTNAME="pomin"
# CONFIG_LWIP_NETIF_API is not set
# CONFIG_LWIP_TCPIP_CORE_LOCKING is not set
CONFIG_LWIP_DNS_SUPPORT_MDNS_QUERIES=y
@ -868,6 +854,7 @@ CONFIG_LWIP_TCP_QUEUE_OOSEQ=y
CONFIG_LWIP_TCP_OVERSIZE_MSS=y
# CONFIG_LWIP_TCP_OVERSIZE_QUARTER_MSS is not set
# CONFIG_LWIP_TCP_OVERSIZE_DISABLE is not set
# CONFIG_LWIP_WND_SCALE is not set
CONFIG_LWIP_TCP_RTO_TIME=1500
# end of TCP
@ -917,8 +904,6 @@ CONFIG_LWIP_SNTP_MAX_SERVERS=1
CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000
# end of SNTP
CONFIG_LWIP_ESP_LWIP_ASSERT=y
#
# Hooks
#
@ -1093,7 +1078,7 @@ CONFIG_MDNS_MULTIPLE_INSTANCE=y
CONFIG_MQTT_PROTOCOL_311=y
CONFIG_MQTT_TRANSPORT_SSL=y
CONFIG_MQTT_TRANSPORT_WEBSOCKET=y
CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE=y
# CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE is not set
# CONFIG_MQTT_MSG_ID_INCREMENTAL is not set
# CONFIG_MQTT_SKIP_PUBLISH_IF_DISCONNECTED is not set
# CONFIG_MQTT_REPORT_DELETED_MESSAGES is not set
@ -1300,24 +1285,22 @@ CONFIG_WPA_MBEDTLS_CRYPTO=y
#
# Camera configuration
#
CONFIG_OV7670_SUPPORT=y
CONFIG_OV7725_SUPPORT=y
CONFIG_NT99141_SUPPORT=y
# CONFIG_OV7670_SUPPORT is not set
# CONFIG_OV7725_SUPPORT is not set
# CONFIG_NT99141_SUPPORT is not set
CONFIG_OV2640_SUPPORT=y
CONFIG_OV3660_SUPPORT=y
CONFIG_OV5640_SUPPORT=y
CONFIG_GC2145_SUPPORT=y
CONFIG_GC032A_SUPPORT=y
CONFIG_GC0308_SUPPORT=y
CONFIG_BF3005_SUPPORT=y
CONFIG_BF20A6_SUPPORT=y
# CONFIG_OV3660_SUPPORT is not set
# CONFIG_OV5640_SUPPORT is not set
# CONFIG_GC2145_SUPPORT is not set
# CONFIG_GC032A_SUPPORT is not set
# CONFIG_GC0308_SUPPORT is not set
# CONFIG_BF3005_SUPPORT is not set
# CONFIG_BF20A6_SUPPORT is not set
# CONFIG_SC101IOT_SUPPORT is not set
CONFIG_SC030IOT_SUPPORT=y
# CONFIG_SC030IOT_SUPPORT is not set
# CONFIG_SCCB_HARDWARE_I2C_PORT0 is not set
CONFIG_SCCB_HARDWARE_I2C_PORT1=y
CONFIG_SCCB_CLK_FREQ=100000
# CONFIG_GC_SENSOR_WINDOWING_MODE is not set
CONFIG_GC_SENSOR_SUBSAMPLE_MODE=y
CONFIG_CAMERA_CORE0=y
# CONFIG_CAMERA_CORE1 is not set
# CONFIG_CAMERA_NO_AFFINITY is not set
@ -1332,8 +1315,11 @@ CONFIG_CAMERA_DMA_BUFFER_SIZE_MAX=32768
# Wi-Fi Configuration
#
CONFIG_ESP_HOST_NAME=""
CONFIG_ESP_WIFI_AP_SSID="ESP32-Camera"
CONFIG_ESP_WIFI_AP_PASSWORD=""
CONFIG_MAX_STA_CONN=1
CONFIG_ESP_WIFI_AP_CHANNEL=""
CONFIG_SERVER_IP="192.168.4.1"
# end of Wi-Fi Configuration
#
@ -1376,17 +1362,6 @@ CONFIG_I2C_MS_TO_WAIT=200
# end of I2C Bus Options
# end of Bus Options
#
# lv_examples configuration
#
# CONFIG_LV_EX_PRINTF is not set
# CONFIG_LV_USE_DEMO_WIDGETS is not set
# CONFIG_LV_USE_DEMO_KEYPAD_AND_ENCODER is not set
CONFIG_LV_USE_DEMO_BENCHMARK=y
# CONFIG_LV_USE_DEMO_STRESS is not set
# CONFIG_LV_USE_DEMO_MUSIC is not set
# end of lv_examples configuration
#
# LVGL configuration
#
@ -1766,7 +1741,7 @@ CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_ILI9341=y
# CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_RM68120 is not set
# CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_SSD1351 is not set
# CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_SSD1963 is not set
# CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_ST7789 is not set
CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_ST7789=y
# CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_ST7796 is not set
# CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_SSD1306 is not set
# CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_SSD1307 is not set

Loading…
Cancel
Save