├── .gitignore ├── _photo ├── sample.png └── cam2mqtt.png ├── components └── drawfont │ ├── CMakeLists.txt │ ├── drawfont.h │ ├── drawfont.c │ └── SmallFont.h ├── main ├── CMakeLists.txt ├── idf_component.yml ├── Kconfig.projbuild └── main.c ├── CMakeLists.txt ├── .vscode ├── launch.json ├── c_cpp_properties.json ├── settings.json └── tasks.json ├── README.md └── sdkconfig_example /.gitignore: -------------------------------------------------------------------------------- 1 | .gitignore 2 | build/ 3 | sdkconfig 4 | sdkconfig.old 5 | *~ 6 | -------------------------------------------------------------------------------- /_photo/sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suapapa/esp32_cam2mqtt/HEAD/_photo/sample.png -------------------------------------------------------------------------------- /components/drawfont/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "drawfont.c" INCLUDE_DIRS ".") -------------------------------------------------------------------------------- /_photo/cam2mqtt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suapapa/esp32_cam2mqtt/HEAD/_photo/cam2mqtt.png -------------------------------------------------------------------------------- /main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "main.c" 3 | INCLUDE_DIRS "" 4 | ) 5 | -------------------------------------------------------------------------------- /components/drawfont/drawfont.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define FONTCOLOR_BLACK 0x00 4 | #define FONTCOLOR_WHITE 0xff 5 | 6 | void set_defaultfont(void); 7 | void draw_string(uint8_t * buf, int w, int h, int x, int y, const char *str, uint8_t color); 8 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's 2 | # CMakeLists in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.16) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | 7 | set(EXTRA_COMPONENT_DIRS "components/drawfont") 8 | 9 | project(cam2mqtt) -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "type": "espidf", 9 | "name": "Launch", 10 | "request": "launch", 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /main/idf_component.yml: -------------------------------------------------------------------------------- 1 | ## IDF Component Manager Manifest File 2 | dependencies: 3 | ## Required IDF version 4 | idf: 5 | version: '>=4.1.0' 6 | # # Put list of dependencies here 7 | # # For components maintained by Espressif: 8 | # component: "~1.0.0" 9 | # # For 3rd party components: 10 | # username/component: ">=1.0.0,<2.0.0" 11 | # username2/component2: 12 | # version: "~1.0.0" 13 | # # For transient dependencies `public` flag can be set. 14 | # # `public` flag doesn't have an effect dependencies of the `main` component. 15 | # # All dependencies of `main` are public by default. 16 | # public: true 17 | espressif/esp32-camera: ^2.1.3 18 | -------------------------------------------------------------------------------- /.vscode/c_cpp_properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "configurations": [ 3 | { 4 | "name": "ESP-IDF", 5 | "compilerPath": "${default}", 6 | "cStandard": "c11", 7 | "cppStandard": "c++17", 8 | "includePath": [ 9 | "${config:idf.espIdfPath}/components/**", 10 | "${config:idf.espIdfPathWin}/components/**", 11 | "${workspaceFolder}/**" 12 | ], 13 | "browse": { 14 | "path": [ 15 | "${config:idf.espIdfPath}/components", 16 | "${config:idf.espIdfPathWin}/components", 17 | "${workspaceFolder}" 18 | ], 19 | "limitSymbolsToIncludedHeaders": false 20 | } 21 | } 22 | ], 23 | "version": 4 24 | } 25 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "C_Cpp.clang_format_style": "Visual Studio", 3 | "editor.formatOnSave": false, 4 | "[cpp]": { 5 | "editor.quickSuggestions": { 6 | "comments": "on", 7 | "strings": "on", 8 | "other": "on" 9 | } 10 | }, 11 | "[c]": { 12 | "editor.quickSuggestions": { 13 | "comments": "on", 14 | "strings": "on", 15 | "other": "on" 16 | } 17 | }, 18 | "C_Cpp.intelliSenseEngine": "Tag Parser", 19 | "files.associations": { 20 | "esp_system.h": "c", 21 | "*.ipp": "cpp" 22 | }, 23 | "idf.adapterTargetName": "esp32", 24 | "idf.port": "/dev/tty.usbserial-10", 25 | "idf.pythonInstallPath": "/opt/homebrew/bin/python3", 26 | "idf.espIdfPath": "/Users/suapapa/esp/v6.0/esp-idf", 27 | "idf.toolsPath": "/Users/suapapa/.espressif", 28 | "idf.openOcdConfigs": [ 29 | "interface/ftdi/esp32_devkitj_v1.cfg", 30 | "target/esp32.cfg" 31 | ], 32 | "idf.monitorPort": "/dev/tty.usbserial-110", 33 | "idf.flashType": "UART" 34 | } 35 | -------------------------------------------------------------------------------- /components/drawfont/drawfont.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include "SmallFont.h" 5 | 6 | Font cfont; 7 | 8 | void set_defaultfont(void) 9 | { 10 | cfont.w = tft_SmallFont[0]; 11 | cfont.h = tft_SmallFont[1]; 12 | cfont.offset = tft_SmallFont[2]; 13 | cfont.cnt = tft_SmallFont[3]; 14 | cfont.font = &(tft_SmallFont[4]); 15 | } 16 | 17 | void draw_string(uint8_t * buf, int w, int h, int x, int y, const char *str, 18 | uint8_t color) 19 | { 20 | if (cfont.font == NULL) { 21 | return; 22 | } 23 | 24 | int stl = strlen(str); 25 | buf = buf + x + (w * y); 26 | for (int i = 0; i < stl; i++) { 27 | char c = str[i]; 28 | unsigned char *buf_font = 29 | cfont.font + 30 | ((c - cfont.offset) * ((cfont.w * cfont.h) >> 3)); 31 | uint8_t *buf_draw = buf + (i * cfont.w); 32 | for (int j = 0; j < cfont.h; j++) { 33 | uint8_t *buf_draw_char = buf_draw; 34 | for (int k = 0; k < 8; k++) { 35 | if ((*buf_font) & (1 << (7 - k))) { 36 | *buf_draw_char = color; 37 | } 38 | buf_draw_char += 1; 39 | } 40 | buf_font += 1; 41 | buf_draw += w; 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # cam2mqtt 2 | 3 | ![usecase_of_cam2mqtt](_photo/cam2mqtt.png) 4 | 5 | Take snapshot and send it to an mqtt topic using ESP32-CAM. 6 | 7 | * Works well with HomeAssistant's [MQTT Camera](https://www.home-assistant.io/integrations/camera.mqtt/) 8 | * Use [esp-idf](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/#). 9 | * It takes one -or two- picture for a day and go to deep sleep. 10 | * Date and time of the photo taken is printed in. [sample](_photo/sample.png). 11 | 12 | ## requirements 13 | 14 | Install [esp-idf](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/#) 15 | 16 | Install [ESP32 Camera Driver](https://github.com/espressif/esp32-camera): 17 | 18 | $ cd $IDF_PATH/components 19 | $ git clone https://github.com/espressif/esp32-camera 20 | 21 | ## clone, configure and build 22 | 23 | Clone poject: 24 | 25 | $ git clone https://github.com/suapapa/esp32_cam2mqtt 26 | 27 | Configure wifi-ssid, wifi-pass, mqtt-uri, mqtt-topic and etc...: 28 | 29 | $ cd cam2mqtt 30 | $ get_idf 31 | $ idf.py menuconfig 32 | 33 | Build, flash, monitor: 34 | 35 | $ idf.py build 36 | $ idf.py -p /dev/ttyUSB0 flash 37 | $ idf.py -p /dev/ttyUSB0 monitor 38 | 39 | ## beautify code 40 | 41 | indent -linux main/main.c 42 | -------------------------------------------------------------------------------- /main/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | menu "Wifi Configuration" 2 | 3 | config ESP_WIFI_SSID 4 | string "WiFi SSID" 5 | default "myssid" 6 | help 7 | SSID (network name) for the example to connect to. 8 | 9 | config ESP_WIFI_PASSWORD 10 | string "WiFi Password" 11 | default "mypassword" 12 | help 13 | WiFi password (WPA or WPA2) for the example to use. 14 | 15 | config ESP_MAXIMUM_RETRY 16 | int "Maximum retry" 17 | default 5 18 | help 19 | Set the Maximum retry to avoid station reconnecting to the AP unlimited when the AP is really inexistent. 20 | endmenu 21 | 22 | menu "MQTT Configuration" 23 | 24 | config ESP_MQTT_HOST_URI 25 | string "MQTT host URI" 26 | default "mqtt://id:pass@192.168.0.2" 27 | help 28 | MQTT broker's URI which this client to connect. 29 | 30 | config ESP_MQTT_TOPIC 31 | string "MQTT topic to use" 32 | default "home/cam0" 33 | help 34 | MQTT topic to use. 35 | endmenu 36 | 37 | menu "Camera configuration" 38 | 39 | config OV2640_SUPPORT 40 | bool "OV2640 Support" 41 | default y 42 | help 43 | Enable this option if you want to use the OV2640. 44 | Disable this option to save memory. 45 | 46 | config OV7725_SUPPORT 47 | bool "OV7725 Support" 48 | default n 49 | help 50 | Enable this option if you want to use the OV7725. 51 | Disable this option to save memory. 52 | 53 | config OV3660_SUPPORT 54 | bool "OV3660 Support" 55 | default n 56 | help 57 | Enable this option if you want to use the OV3360. 58 | Disable this option to save memory. 59 | 60 | config OV5640_SUPPORT 61 | bool "OV5640 Support" 62 | default n 63 | help 64 | Enable this option if you want to use the OV5640. 65 | Disable this option to save memory. 66 | 67 | config SCCB_HARDWARE_I2C 68 | bool "Use hardware I2C for SCCB" 69 | default y 70 | help 71 | Enable this option if you want to use hardware I2C to control the camera. 72 | Disable this option to use software I2C. 73 | 74 | choice SCCB_HARDWARE_I2C_PORT 75 | bool "I2C peripheral to use for SCCB" 76 | depends on SCCB_HARDWARE_I2C 77 | default SCCB_HARDWARE_I2C_PORT1 78 | 79 | config SCCB_HARDWARE_I2C_PORT0 80 | bool "I2C0" 81 | config SCCB_HARDWARE_I2C_PORT1 82 | bool "I2C1" 83 | 84 | endchoice 85 | 86 | choice CAMERA_TASK_PINNED_TO_CORE 87 | bool "Camera task pinned to core" 88 | default CAMERA_CORE0 89 | help 90 | Pin the camera handle task to a certain core(0/1). It can also be done automatically choosing NO_AFFINITY. 91 | 92 | config CAMERA_CORE0 93 | bool "CORE0" 94 | config CAMERA_CORE1 95 | bool "CORE1" 96 | config CAMERA_NO_AFFINITY 97 | bool "NO_AFFINITY" 98 | 99 | endchoice 100 | 101 | endmenu -------------------------------------------------------------------------------- /components/drawfont/SmallFont.h: -------------------------------------------------------------------------------- 1 | // SmallFont.c 2 | // Font type : Full (95 characters) 3 | // Font size : 8x12 pixels 4 | // Memory usage : 1144 bytes 5 | 6 | typedef struct { 7 | uint8_t w; 8 | uint8_t h; 9 | uint8_t offset; 10 | uint8_t cnt; 11 | unsigned char *font; 12 | } Font; 13 | 14 | unsigned char tft_SmallFont[1144] = 15 | { 16 | 0x08,0x0C,0x20,0x5F, 17 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // 18 | 0x00,0x00,0x20,0x20,0x20,0x20,0x20,0x20,0x00,0x20,0x00,0x00, // ! 19 | 0x00,0x28,0x50,0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // " 20 | 0x00,0x00,0x28,0x28,0xFC,0x28,0x50,0xFC,0x50,0x50,0x00,0x00, // # 21 | 0x00,0x20,0x78,0xA8,0xA0,0x60,0x30,0x28,0xA8,0xF0,0x20,0x00, // $ 22 | 0x00,0x00,0x48,0xA8,0xB0,0x50,0x28,0x34,0x54,0x48,0x00,0x00, // % 23 | 0x00,0x00,0x20,0x50,0x50,0x78,0xA8,0xA8,0x90,0x6C,0x00,0x00, // & 24 | 0x00,0x40,0x40,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // ' 25 | 0x00,0x04,0x08,0x10,0x10,0x10,0x10,0x10,0x10,0x08,0x04,0x00, // ( 26 | 0x00,0x40,0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x20,0x40,0x00, // ) 27 | 0x00,0x00,0x00,0x20,0xA8,0x70,0x70,0xA8,0x20,0x00,0x00,0x00, // * 28 | 0x00,0x00,0x20,0x20,0x20,0xF8,0x20,0x20,0x20,0x00,0x00,0x00, // + 29 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40,0x80, // , 30 | 0x00,0x00,0x00,0x00,0x00,0xF8,0x00,0x00,0x00,0x00,0x00,0x00, // - 31 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00, // . 32 | 0x00,0x08,0x10,0x10,0x10,0x20,0x20,0x40,0x40,0x40,0x80,0x00, // / 33 | 34 | 0x00,0x00,0x70,0x88,0x88,0x88,0x88,0x88,0x88,0x70,0x00,0x00, // 0 35 | 0x00,0x00,0x20,0x60,0x20,0x20,0x20,0x20,0x20,0x70,0x00,0x00, // 1 36 | 0x00,0x00,0x70,0x88,0x88,0x10,0x20,0x40,0x80,0xF8,0x00,0x00, // 2 37 | 0x00,0x00,0x70,0x88,0x08,0x30,0x08,0x08,0x88,0x70,0x00,0x00, // 3 38 | 0x00,0x00,0x10,0x30,0x50,0x50,0x90,0x78,0x10,0x18,0x00,0x00, // 4 39 | 0x00,0x00,0xF8,0x80,0x80,0xF0,0x08,0x08,0x88,0x70,0x00,0x00, // 5 40 | 0x00,0x00,0x70,0x90,0x80,0xF0,0x88,0x88,0x88,0x70,0x00,0x00, // 6 41 | 0x00,0x00,0xF8,0x90,0x10,0x20,0x20,0x20,0x20,0x20,0x00,0x00, // 7 42 | 0x00,0x00,0x70,0x88,0x88,0x70,0x88,0x88,0x88,0x70,0x00,0x00, // 8 43 | 0x00,0x00,0x70,0x88,0x88,0x88,0x78,0x08,0x48,0x70,0x00,0x00, // 9 44 | 0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x20,0x00,0x00, // : 45 | 0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x20,0x00, // ; 46 | 0x00,0x04,0x08,0x10,0x20,0x40,0x20,0x10,0x08,0x04,0x00,0x00, // < 47 | 0x00,0x00,0x00,0x00,0xF8,0x00,0x00,0xF8,0x00,0x00,0x00,0x00, // = 48 | 0x00,0x40,0x20,0x10,0x08,0x04,0x08,0x10,0x20,0x40,0x00,0x00, // > 49 | 0x00,0x00,0x70,0x88,0x88,0x10,0x20,0x20,0x00,0x20,0x00,0x00, // ? 50 | 51 | 0x00,0x00,0x70,0x88,0x98,0xA8,0xA8,0xB8,0x80,0x78,0x00,0x00, // @ 52 | 0x00,0x00,0x20,0x20,0x30,0x50,0x50,0x78,0x48,0xCC,0x00,0x00, // A 53 | 0x00,0x00,0xF0,0x48,0x48,0x70,0x48,0x48,0x48,0xF0,0x00,0x00, // B 54 | 0x00,0x00,0x78,0x88,0x80,0x80,0x80,0x80,0x88,0x70,0x00,0x00, // C 55 | 0x00,0x00,0xF0,0x48,0x48,0x48,0x48,0x48,0x48,0xF0,0x00,0x00, // D 56 | 0x00,0x00,0xF8,0x48,0x50,0x70,0x50,0x40,0x48,0xF8,0x00,0x00, // E 57 | 0x00,0x00,0xF8,0x48,0x50,0x70,0x50,0x40,0x40,0xE0,0x00,0x00, // F 58 | 0x00,0x00,0x38,0x48,0x80,0x80,0x9C,0x88,0x48,0x30,0x00,0x00, // G 59 | 0x00,0x00,0xCC,0x48,0x48,0x78,0x48,0x48,0x48,0xCC,0x00,0x00, // H 60 | 0x00,0x00,0xF8,0x20,0x20,0x20,0x20,0x20,0x20,0xF8,0x00,0x00, // I 61 | 0x00,0x00,0x7C,0x10,0x10,0x10,0x10,0x10,0x10,0x90,0xE0,0x00, // J 62 | 0x00,0x00,0xEC,0x48,0x50,0x60,0x50,0x50,0x48,0xEC,0x00,0x00, // K 63 | 0x00,0x00,0xE0,0x40,0x40,0x40,0x40,0x40,0x44,0xFC,0x00,0x00, // L 64 | 0x00,0x00,0xD8,0xD8,0xD8,0xD8,0xA8,0xA8,0xA8,0xA8,0x00,0x00, // M 65 | 0x00,0x00,0xDC,0x48,0x68,0x68,0x58,0x58,0x48,0xE8,0x00,0x00, // N 66 | 0x00,0x00,0x70,0x88,0x88,0x88,0x88,0x88,0x88,0x70,0x00,0x00, // O 67 | 68 | 0x00,0x00,0xF0,0x48,0x48,0x70,0x40,0x40,0x40,0xE0,0x00,0x00, // P 69 | 0x00,0x00,0x70,0x88,0x88,0x88,0x88,0xE8,0x98,0x70,0x18,0x00, // Q 70 | 0x00,0x00,0xF0,0x48,0x48,0x70,0x50,0x48,0x48,0xEC,0x00,0x00, // R 71 | 0x00,0x00,0x78,0x88,0x80,0x60,0x10,0x08,0x88,0xF0,0x00,0x00, // S 72 | 0x00,0x00,0xF8,0xA8,0x20,0x20,0x20,0x20,0x20,0x70,0x00,0x00, // T 73 | 0x00,0x00,0xCC,0x48,0x48,0x48,0x48,0x48,0x48,0x30,0x00,0x00, // U 74 | 0x00,0x00,0xCC,0x48,0x48,0x50,0x50,0x30,0x20,0x20,0x00,0x00, // V 75 | 0x00,0x00,0xA8,0xA8,0xA8,0x70,0x50,0x50,0x50,0x50,0x00,0x00, // W 76 | 0x00,0x00,0xD8,0x50,0x50,0x20,0x20,0x50,0x50,0xD8,0x00,0x00, // X 77 | 0x00,0x00,0xD8,0x50,0x50,0x20,0x20,0x20,0x20,0x70,0x00,0x00, // Y 78 | 0x00,0x00,0xF8,0x90,0x10,0x20,0x20,0x40,0x48,0xF8,0x00,0x00, // Z 79 | 0x00,0x38,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x38,0x00, // [ 80 | 0x00,0x40,0x40,0x40,0x20,0x20,0x10,0x10,0x10,0x08,0x00,0x00, // 81 | 0x00,0x70,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x70,0x00, // ] 82 | 0x00,0x20,0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // ^ 83 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFC, // _ 84 | 85 | 0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // ` 86 | 0x00,0x00,0x00,0x00,0x00,0x30,0x48,0x38,0x48,0x3C,0x00,0x00, // a 87 | 0x00,0x00,0xC0,0x40,0x40,0x70,0x48,0x48,0x48,0x70,0x00,0x00, // b 88 | 0x00,0x00,0x00,0x00,0x00,0x38,0x48,0x40,0x40,0x38,0x00,0x00, // c 89 | 0x00,0x00,0x18,0x08,0x08,0x38,0x48,0x48,0x48,0x3C,0x00,0x00, // d 90 | 0x00,0x00,0x00,0x00,0x00,0x30,0x48,0x78,0x40,0x38,0x00,0x00, // e 91 | 0x00,0x00,0x1C,0x20,0x20,0x78,0x20,0x20,0x20,0x78,0x00,0x00, // f 92 | 0x00,0x00,0x00,0x00,0x00,0x3C,0x48,0x30,0x40,0x78,0x44,0x38, // g 93 | 0x00,0x00,0xC0,0x40,0x40,0x70,0x48,0x48,0x48,0xEC,0x00,0x00, // h 94 | 0x00,0x00,0x20,0x00,0x00,0x60,0x20,0x20,0x20,0x70,0x00,0x00, // i 95 | 0x00,0x00,0x10,0x00,0x00,0x30,0x10,0x10,0x10,0x10,0x10,0xE0, // j 96 | 0x00,0x00,0xC0,0x40,0x40,0x5C,0x50,0x70,0x48,0xEC,0x00,0x00, // k 97 | 0x00,0x00,0xE0,0x20,0x20,0x20,0x20,0x20,0x20,0xF8,0x00,0x00, // l 98 | 0x00,0x00,0x00,0x00,0x00,0xF0,0xA8,0xA8,0xA8,0xA8,0x00,0x00, // m 99 | 0x00,0x00,0x00,0x00,0x00,0xF0,0x48,0x48,0x48,0xEC,0x00,0x00, // n 100 | 0x00,0x00,0x00,0x00,0x00,0x30,0x48,0x48,0x48,0x30,0x00,0x00, // o 101 | 102 | 0x00,0x00,0x00,0x00,0x00,0xF0,0x48,0x48,0x48,0x70,0x40,0xE0, // p 103 | 0x00,0x00,0x00,0x00,0x00,0x38,0x48,0x48,0x48,0x38,0x08,0x1C, // q 104 | 0x00,0x00,0x00,0x00,0x00,0xD8,0x60,0x40,0x40,0xE0,0x00,0x00, // r 105 | 0x00,0x00,0x00,0x00,0x00,0x78,0x40,0x30,0x08,0x78,0x00,0x00, // s 106 | 0x00,0x00,0x00,0x20,0x20,0x70,0x20,0x20,0x20,0x18,0x00,0x00, // t 107 | 0x00,0x00,0x00,0x00,0x00,0xD8,0x48,0x48,0x48,0x3C,0x00,0x00, // u 108 | 0x00,0x00,0x00,0x00,0x00,0xEC,0x48,0x50,0x30,0x20,0x00,0x00, // v 109 | 0x00,0x00,0x00,0x00,0x00,0xA8,0xA8,0x70,0x50,0x50,0x00,0x00, // w 110 | 0x00,0x00,0x00,0x00,0x00,0xD8,0x50,0x20,0x50,0xD8,0x00,0x00, // x 111 | 0x00,0x00,0x00,0x00,0x00,0xEC,0x48,0x50,0x30,0x20,0x20,0xC0, // y 112 | 0x00,0x00,0x00,0x00,0x00,0x78,0x10,0x20,0x20,0x78,0x00,0x00, // z 113 | 0x00,0x18,0x10,0x10,0x10,0x20,0x10,0x10,0x10,0x10,0x18,0x00, // { 114 | 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, // | 115 | 0x00,0x60,0x20,0x20,0x20,0x10,0x20,0x20,0x20,0x20,0x60,0x00, // } 116 | 0x40,0xA4,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // ~ 117 | }; 118 | -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0.0", 3 | "tasks": [ 4 | { 5 | "label": "Build - Build project", 6 | "type": "shell", 7 | "command": "${config:idf.pythonBinPath} ${config:idf.espIdfPath}/tools/idf.py build", 8 | "windows": { 9 | "command": "${config:idf.pythonBinPathWin} ${config:idf.espIdfPathWin}\\tools\\idf.py build", 10 | "options": { 11 | "env": { 12 | "PATH": "${env:PATH};${config:idf.customExtraPaths}" 13 | } 14 | } 15 | }, 16 | "options": { 17 | "env": { 18 | "PATH": "${env:PATH}:${config:idf.customExtraPaths}" 19 | } 20 | }, 21 | "problemMatcher": [ 22 | { 23 | "owner": "cpp", 24 | "fileLocation": [ 25 | "relative", 26 | "${workspaceFolder}" 27 | ], 28 | "pattern": { 29 | "regexp": "^\\.\\.(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", 30 | "file": 1, 31 | "line": 2, 32 | "column": 3, 33 | "severity": 4, 34 | "message": 5 35 | } 36 | }, 37 | { 38 | "owner": "cpp", 39 | "fileLocation": "absolute", 40 | "pattern": { 41 | "regexp": "^[^\\.](.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", 42 | "file": 1, 43 | "line": 2, 44 | "column": 3, 45 | "severity": 4, 46 | "message": 5 47 | } 48 | } 49 | ], 50 | "group": { 51 | "kind": "build", 52 | "isDefault": true 53 | } 54 | }, 55 | { 56 | "label": "Set ESP-IDF Target", 57 | "type": "shell", 58 | "command": "${command:espIdf.setTarget}", 59 | "problemMatcher": { 60 | "owner": "cpp", 61 | "fileLocation": "absolute", 62 | "pattern": { 63 | "regexp": "^(.*):(//d+):(//d+)://s+(warning|error)://s+(.*)$", 64 | "file": 1, 65 | "line": 2, 66 | "column": 3, 67 | "severity": 4, 68 | "message": 5 69 | } 70 | } 71 | }, 72 | { 73 | "label": "Clean - Clean the project", 74 | "type": "shell", 75 | "command": "${config:idf.pythonBinPath} ${config:idf.espIdfPath}/tools/idf.py fullclean", 76 | "windows": { 77 | "command": "${config:idf.pythonBinPathWin} ${config:idf.espIdfPathWin}\\tools\\idf.py fullclean", 78 | "options": { 79 | "env": { 80 | "PATH": "${env:PATH};${config:idf.customExtraPaths}" 81 | } 82 | } 83 | }, 84 | "options": { 85 | "env": { 86 | "PATH": "${env:PATH}:${config:idf.customExtraPaths}" 87 | } 88 | }, 89 | "problemMatcher": [ 90 | { 91 | "owner": "cpp", 92 | "fileLocation": [ 93 | "relative", 94 | "${workspaceFolder}" 95 | ], 96 | "pattern": { 97 | "regexp": "^\\.\\.(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", 98 | "file": 1, 99 | "line": 2, 100 | "column": 3, 101 | "severity": 4, 102 | "message": 5 103 | } 104 | }, 105 | { 106 | "owner": "cpp", 107 | "fileLocation": "absolute", 108 | "pattern": { 109 | "regexp": "^[^\\.](.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", 110 | "file": 1, 111 | "line": 2, 112 | "column": 3, 113 | "severity": 4, 114 | "message": 5 115 | } 116 | } 117 | ] 118 | }, 119 | { 120 | "label": "Flash - Flash the device", 121 | "type": "shell", 122 | "command": "${config:idf.pythonBinPath} ${config:idf.espIdfPath}/tools/idf.py -p ${config:idf.port} -b ${config:idf.flashBaudRate} flash", 123 | "windows": { 124 | "command": "${config:idf.pythonBinPathWin} ${config:idf.espIdfPathWin}\\tools\\idf.py flash -p ${config:idf.portWin} -b ${config:idf.flashBaudRate}", 125 | "options": { 126 | "env": { 127 | "PATH": "${env:PATH};${config:idf.customExtraPaths}" 128 | } 129 | } 130 | }, 131 | "options": { 132 | "env": { 133 | "PATH": "${env:PATH}:${config:idf.customExtraPaths}" 134 | } 135 | }, 136 | "problemMatcher": [ 137 | { 138 | "owner": "cpp", 139 | "fileLocation": [ 140 | "relative", 141 | "${workspaceFolder}" 142 | ], 143 | "pattern": { 144 | "regexp": "^\\.\\.(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", 145 | "file": 1, 146 | "line": 2, 147 | "column": 3, 148 | "severity": 4, 149 | "message": 5 150 | } 151 | }, 152 | { 153 | "owner": "cpp", 154 | "fileLocation": "absolute", 155 | "pattern": { 156 | "regexp": "^[^\\.](.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", 157 | "file": 1, 158 | "line": 2, 159 | "column": 3, 160 | "severity": 4, 161 | "message": 5 162 | } 163 | } 164 | ] 165 | }, 166 | { 167 | "label": "Monitor: Start the monitor", 168 | "type": "shell", 169 | "command": "${config:idf.pythonBinPath} ${config:idf.espIdfPath}/tools/idf.py -p ${config:idf.port} monitor", 170 | "windows": { 171 | "command": "${config:idf.pythonBinPathWin} ${config:idf.espIdfPathWin}\\tools\\idf.py -p ${config:idf.portWin} monitor", 172 | "options": { 173 | "env": { 174 | "PATH": "${env:PATH};${config:idf.customExtraPaths}" 175 | } 176 | } 177 | }, 178 | "options": { 179 | "env": { 180 | "PATH": "${env:PATH}:${config:idf.customExtraPaths}" 181 | } 182 | }, 183 | "problemMatcher": [ 184 | { 185 | "owner": "cpp", 186 | "fileLocation": [ 187 | "relative", 188 | "${workspaceFolder}" 189 | ], 190 | "pattern": { 191 | "regexp": "^\\.\\.(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", 192 | "file": 1, 193 | "line": 2, 194 | "column": 3, 195 | "severity": 4, 196 | "message": 5 197 | } 198 | }, 199 | { 200 | "owner": "cpp", 201 | "fileLocation": "absolute", 202 | "pattern": { 203 | "regexp": "^[^\\.](.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", 204 | "file": 1, 205 | "line": 2, 206 | "column": 3, 207 | "severity": 4, 208 | "message": 5 209 | } 210 | } 211 | ], 212 | "dependsOn": "Flash - Flash the device" 213 | }, 214 | { 215 | "label": "OpenOCD: Start openOCD", 216 | "type": "shell", 217 | "presentation": { 218 | "echo": true, 219 | "reveal": "never", 220 | "focus": false, 221 | "panel": "new" 222 | }, 223 | "command": "openocd -s ${command:espIdf.getOpenOcdScriptValue} ${command:espIdf.getOpenOcdConfigs}", 224 | "windows": { 225 | "command": "openocd.exe -s ${command:espIdf.getOpenOcdScriptValue} ${command:espIdf.getOpenOcdConfigs}", 226 | "options": { 227 | "env": { 228 | "PATH": "${env:PATH};${config:idf.customExtraPaths}" 229 | } 230 | } 231 | }, 232 | "options": { 233 | "env": { 234 | "PATH": "${env:PATH}:${config:idf.customExtraPaths}" 235 | } 236 | }, 237 | "problemMatcher": { 238 | "owner": "cpp", 239 | "fileLocation": "absolute", 240 | "pattern": { 241 | "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", 242 | "file": 1, 243 | "line": 2, 244 | "column": 3, 245 | "severity": 4, 246 | "message": 5 247 | } 248 | } 249 | }, 250 | { 251 | "label": "adapter", 252 | "type": "shell", 253 | "command": "${config:idf.pythonBinPath}", 254 | "isBackground": true, 255 | "options": { 256 | "env": { 257 | "PATH": "${env:PATH}:${config:idf.customExtraPaths}", 258 | "PYTHONPATH": "${command:espIdf.getExtensionPath}/esp_debug_adapter/debug_adapter" 259 | } 260 | }, 261 | "problemMatcher": { 262 | "background": { 263 | "beginsPattern": "\bDEBUG_ADAPTER_STARTED\b", 264 | "endsPattern": "DEBUG_ADAPTER_READY2CONNECT", 265 | "activeOnStart": true 266 | }, 267 | "pattern": { 268 | "regexp": "(\\d+)-(\\d+)-(\\d+)\\s(\\d+):(\\d+):(\\d+),(\\d+)\\s-(.+)\\s(ERROR)", 269 | "file": 8, 270 | "line": 2, 271 | "column": 3, 272 | "severity": 4, 273 | "message": 9 274 | } 275 | }, 276 | "args": [ 277 | "${command:espIdf.getExtensionPath}/esp_debug_adapter/debug_adapter_main.py", 278 | "-e", 279 | "${workspaceFolder}/build/${command:espIdf.getProjectName}.elf", 280 | "-s", 281 | "${command:espIdf.getOpenOcdScriptValue}", 282 | "-ip", 283 | "localhost", 284 | "-dn", 285 | "${config:idf.adapterTargetName}", 286 | "-om", 287 | "connect_to_instance" 288 | ], 289 | "windows": { 290 | "command": "${config:idf.pythonBinPathWin}", 291 | "options": { 292 | "env": { 293 | "PATH": "${env:PATH};${config:idf.customExtraPaths}", 294 | "PYTHONPATH": "${command:espIdf.getExtensionPath}/esp_debug_adapter/debug_adapter" 295 | } 296 | } 297 | } 298 | } 299 | ] 300 | } -------------------------------------------------------------------------------- /main/main.c: -------------------------------------------------------------------------------- 1 | /* WiFi station Example 2 | 3 | This example code is in the Public Domain (or CC0 licensed, at your option.) 4 | 5 | Unless required by applicable law or agreed to in writing, this 6 | software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 7 | CONDITIONS OF ANY KIND, either express or implied. 8 | */ 9 | #include 10 | #include "freertos/FreeRTOS.h" 11 | #include "freertos/task.h" 12 | #include "freertos/event_groups.h" 13 | #include "esp_system.h" 14 | #include "esp_wifi.h" 15 | #include "esp_event.h" 16 | #include "esp_log.h" 17 | #include "esp_sntp.h" 18 | #include "esp_sleep.h" 19 | #include "nvs_flash.h" 20 | #include "mqtt_client.h" 21 | #include "esp_camera.h" 22 | #include "driver/gpio.h" 23 | 24 | #include "lwip/err.h" 25 | #include "lwip/sys.h" 26 | 27 | #include "drawfont.h" 28 | 29 | #define BOARD_ESP32CAM_AITHINKER 30 | 31 | /* Values from menuconfig */ 32 | #define WIFI_SSID CONFIG_ESP_WIFI_SSID 33 | #define WIFI_PASS CONFIG_ESP_WIFI_PASSWORD 34 | #define WIFI_MAX_RETRY CONFIG_ESP_MAXIMUM_RETRY 35 | #define MQTT_URI CONFIG_ESP_MQTT_HOST_URI 36 | #define MQTT_TOPIC CONFIG_ESP_MQTT_TOPIC 37 | 38 | /* FreeRTOS event group to signal when we are connected*/ 39 | static EventGroupHandle_t s_wifi_event_group; 40 | 41 | /* The event group allows multiple bits for each event, but we only care about two events: 42 | * - we are connected to the AP with an IP 43 | * - we failed to connect after the maximum amount of retries */ 44 | #define WIFI_CONNECTED_BIT BIT0 45 | #define WIFI_FAIL_BIT BIT1 46 | 47 | static const char *TAG = "cam2mqtt"; 48 | 49 | static int s_retry_num = 0; 50 | 51 | RTC_DATA_ATTR static int take_count = 0; 52 | 53 | static void 54 | wifi_event_handler(void *arg, esp_event_base_t event_base, 55 | int32_t event_id, void *event_data) 56 | { 57 | if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { 58 | esp_wifi_connect(); 59 | } else if (event_base == WIFI_EVENT 60 | && event_id == WIFI_EVENT_STA_DISCONNECTED) { 61 | if (s_retry_num < WIFI_MAX_RETRY) { 62 | esp_wifi_connect(); 63 | s_retry_num++; 64 | ESP_LOGI(TAG, "retry to connect to the AP"); 65 | } else { 66 | xEventGroupSetBits(s_wifi_event_group, WIFI_FAIL_BIT); 67 | } 68 | ESP_LOGI(TAG, "connect to the AP fail"); 69 | } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { 70 | ip_event_got_ip_t *event = (ip_event_got_ip_t *) event_data; 71 | ESP_LOGI(TAG, "got ip:" IPSTR, IP2STR(&event->ip_info.ip)); 72 | s_retry_num = 0; 73 | xEventGroupSetBits(s_wifi_event_group, WIFI_CONNECTED_BIT); 74 | } 75 | } 76 | 77 | void wifi_init_sta(void) 78 | { 79 | s_wifi_event_group = xEventGroupCreate(); 80 | 81 | ESP_ERROR_CHECK(esp_netif_init()); 82 | 83 | ESP_ERROR_CHECK(esp_event_loop_create_default()); 84 | esp_netif_create_default_wifi_sta(); 85 | 86 | wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT(); 87 | ESP_ERROR_CHECK(esp_wifi_init(&cfg)); 88 | 89 | esp_event_handler_instance_t instance_any_id; 90 | esp_event_handler_instance_t instance_got_ip; 91 | ESP_ERROR_CHECK(esp_event_handler_instance_register(WIFI_EVENT, 92 | ESP_EVENT_ANY_ID, 93 | &wifi_event_handler, 94 | NULL, 95 | &instance_any_id)); 96 | ESP_ERROR_CHECK(esp_event_handler_instance_register(IP_EVENT, 97 | IP_EVENT_STA_GOT_IP, 98 | &wifi_event_handler, 99 | NULL, 100 | &instance_got_ip)); 101 | 102 | wifi_config_t wifi_config = { 103 | .sta = { 104 | .ssid = WIFI_SSID, 105 | .password = WIFI_PASS, 106 | /* Setting a password implies station will connect to all security modes including WEP/WPA. 107 | * However these modes are deprecated and not advisable to be used. Incase your Access point 108 | * doesn't support WPA2, these mode can be enabled by commenting below line */ 109 | .threshold.authmode = WIFI_AUTH_WPA2_PSK, 110 | 111 | .pmf_cfg = { 112 | .capable = true, 113 | .required = false}, 114 | }, 115 | }; 116 | ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_STA)); 117 | ESP_ERROR_CHECK(esp_wifi_set_config(WIFI_IF_STA, &wifi_config)); 118 | ESP_ERROR_CHECK(esp_wifi_start()); 119 | 120 | ESP_LOGI(TAG, "wifi_init_sta finished."); 121 | 122 | /* Waiting until either the connection is established (WIFI_CONNECTED_BIT) or connection failed for the maximum 123 | * number of re-tries (WIFI_FAIL_BIT). The bits are set by event_handler() (see above) */ 124 | EventBits_t bits = xEventGroupWaitBits(s_wifi_event_group, 125 | WIFI_CONNECTED_BIT | 126 | WIFI_FAIL_BIT, 127 | pdFALSE, 128 | pdFALSE, 129 | portMAX_DELAY); 130 | 131 | /* xEventGroupWaitBits() returns the bits before the call returned, hence we can test which event actually 132 | * happened. */ 133 | if (bits & WIFI_CONNECTED_BIT) { 134 | ESP_LOGI(TAG, "connected to ap SSID:%s password:%s", 135 | WIFI_SSID, WIFI_PASS); 136 | } else if (bits & WIFI_FAIL_BIT) { 137 | ESP_LOGI(TAG, "Failed to connect to SSID:%s, password:%s", 138 | WIFI_SSID, WIFI_PASS); 139 | } else { 140 | ESP_LOGE(TAG, "UNEXPECTED EVENT"); 141 | } 142 | 143 | /* The event will not be processed after unregister */ 144 | ESP_ERROR_CHECK(esp_event_handler_instance_unregister 145 | (IP_EVENT, IP_EVENT_STA_GOT_IP, instance_got_ip)); 146 | ESP_ERROR_CHECK(esp_event_handler_instance_unregister 147 | (WIFI_EVENT, ESP_EVENT_ANY_ID, instance_any_id)); 148 | vEventGroupDelete(s_wifi_event_group); 149 | } 150 | 151 | void init_wifi(void) 152 | { 153 | //Initialize NVS 154 | esp_err_t ret = nvs_flash_init(); 155 | if (ret == ESP_ERR_NVS_NO_FREE_PAGES 156 | || ret == ESP_ERR_NVS_NEW_VERSION_FOUND) { 157 | ESP_ERROR_CHECK(nvs_flash_erase()); 158 | ret = nvs_flash_init(); 159 | } 160 | ESP_ERROR_CHECK(ret); 161 | 162 | ESP_LOGI(TAG, "ESP_WIFI_MODE_STA"); 163 | wifi_init_sta(); 164 | } 165 | 166 | /* ---- */ 167 | 168 | static const esp_mqtt_client_config_t mqtt_cfg = { 169 | .broker.address.uri = MQTT_URI, 170 | }; 171 | 172 | static esp_mqtt_client_handle_t mqtt_client; 173 | 174 | void init_mqtt(void) 175 | { 176 | ESP_LOGI(TAG, "Init MQTT"); 177 | mqtt_client = esp_mqtt_client_init(&mqtt_cfg); 178 | // esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt_event_handler, client); 179 | esp_mqtt_client_start(mqtt_client); 180 | } 181 | 182 | /* ---- */ 183 | 184 | // ESP32Cam (AiThinker) PIN Map 185 | #ifdef BOARD_ESP32CAM_AITHINKER 186 | 187 | #define BLINK_GPIO 33 188 | #define FLASHLIGHT_GPIO 4 189 | 190 | #define CAM_PIN_PWDN 32 191 | #define CAM_PIN_RESET -1 //software reset will be performed 192 | #define CAM_PIN_XCLK 0 193 | #define CAM_PIN_SIOD 26 194 | #define CAM_PIN_SIOC 27 195 | 196 | #define CAM_PIN_D7 35 197 | #define CAM_PIN_D6 34 198 | #define CAM_PIN_D5 39 199 | #define CAM_PIN_D4 36 200 | #define CAM_PIN_D3 21 201 | #define CAM_PIN_D2 19 202 | #define CAM_PIN_D1 18 203 | #define CAM_PIN_D0 5 204 | #define CAM_PIN_VSYNC 25 205 | #define CAM_PIN_HREF 23 206 | #define CAM_PIN_PCLK 22 207 | 208 | #endif 209 | 210 | static camera_config_t camera_config = { 211 | .pin_pwdn = CAM_PIN_PWDN, 212 | .pin_reset = CAM_PIN_RESET, 213 | .pin_xclk = CAM_PIN_XCLK, 214 | .pin_sscb_sda = CAM_PIN_SIOD, 215 | .pin_sscb_scl = CAM_PIN_SIOC, 216 | 217 | .pin_d7 = CAM_PIN_D7, 218 | .pin_d6 = CAM_PIN_D6, 219 | .pin_d5 = CAM_PIN_D5, 220 | .pin_d4 = CAM_PIN_D4, 221 | .pin_d3 = CAM_PIN_D3, 222 | .pin_d2 = CAM_PIN_D2, 223 | .pin_d1 = CAM_PIN_D1, 224 | .pin_d0 = CAM_PIN_D0, 225 | .pin_vsync = CAM_PIN_VSYNC, 226 | .pin_href = CAM_PIN_HREF, 227 | .pin_pclk = CAM_PIN_PCLK, 228 | 229 | //XCLK 20MHz or 10MHz for OV2640 double FPS (Experimental) 230 | .xclk_freq_hz = 20000000, 231 | .ledc_timer = LEDC_TIMER_0, 232 | .ledc_channel = LEDC_CHANNEL_0, 233 | 234 | .pixel_format = PIXFORMAT_GRAYSCALE, //YUV422,GRAYSCALE,RGB565,JPEG 235 | .frame_size = FRAMESIZE_VGA, //QQVGA-UXGA Do not use sizes above QVGA when not JPEG 236 | 237 | .jpeg_quality = 12, //0-63 lower number means higher quality 238 | .fb_count = 1 //if more than one, i2s runs in continuous mode. Use only with JPEG 239 | }; 240 | 241 | static esp_err_t init_camera() 242 | { 243 | //initialize the camera 244 | esp_err_t err = esp_camera_init(&camera_config); 245 | if (err != ESP_OK) { 246 | ESP_LOGE(TAG, "Camera Init Failed"); 247 | return err; 248 | } 249 | 250 | sensor_t *s = esp_camera_sensor_get(); 251 | if (s == NULL) { 252 | // ... (error handling) ... 253 | return ESP_FAIL; 254 | } 255 | 256 | // Enable Auto Exposure (AEC) - it is usually enabled by default (value 1) 257 | // If you need to explicitly ensure it is on, you can set it: 258 | err = s->set_exposure_ctrl(s, 1); // 1 to enable, 0 to disable 259 | if (err != ESP_OK) { 260 | // ... (error handling) ... 261 | return err; 262 | } 263 | 264 | // Auto Gain Control (AGC) is often linked and also best left enabled 265 | err = s->set_gain_ctrl(s, 1); // 1 to enable, 0 to disable 266 | if (err != ESP_OK) { 267 | // ... (error handling) ... 268 | return err; 269 | } 270 | 271 | // Auto White Balance (AWB) 272 | // err = s->set_whitebal_ctrl(s, 1); // 1 to enable, 0 to disable 273 | // if (err != ESP_OK) { 274 | // // ... (error handling) ... 275 | // return err; 276 | // } 277 | 278 | // Optional: Adjust the *target* level for the auto-exposure algorithm (if supported by the driver) 279 | // Range is typically -2 to +2, or 0-255 depending on the specific sensor/driver 280 | // s->set_aec_value(s, ); 281 | 282 | return ESP_OK; 283 | } 284 | 285 | /* ---- */ 286 | 287 | void init_gpio() 288 | { 289 | gpio_set_direction(BLINK_GPIO, GPIO_MODE_OUTPUT); 290 | 291 | // gpio_set_direction(FLASHLIGHT_GPIO, GPIO_MODE_OUTPUT); 292 | // gpio_set_level(FLASHLIGHT_GPIO, 0); // off 293 | } 294 | 295 | /* ---- */ 296 | 297 | void time_sync_notification_cb(struct timeval *tv) 298 | { 299 | ESP_LOGI(TAG, "Notification of a time synchronization event"); 300 | } 301 | 302 | static void initialize_sntp(void) 303 | { 304 | ESP_LOGI(TAG, "Initializing SNTP"); 305 | esp_sntp_setoperatingmode(SNTP_OPMODE_POLL); 306 | esp_sntp_setservername(0, "time.google.com"); 307 | esp_sntp_set_time_sync_notification_cb(time_sync_notification_cb); 308 | esp_sntp_init(); 309 | } 310 | 311 | static void sync_time(void) 312 | { 313 | initialize_sntp(); 314 | 315 | // wait for time to be set 316 | // time_t now = 0; 317 | // struct tm timeinfo = { 0 }; 318 | int retry = 0; 319 | const int retry_count = 10; 320 | while (esp_sntp_get_sync_status() == SNTP_SYNC_STATUS_RESET 321 | && ++retry < retry_count) { 322 | ESP_LOGI(TAG, "Waiting for system time to be set... (%d/%d)", 323 | retry, retry_count); 324 | vTaskDelay(2000 / portTICK_PERIOD_MS); 325 | } 326 | // time(&now); 327 | // setenv("TZ", "UTC-9", 1); 328 | // tzset(); 329 | // localtime_r(&now, &timeinfo); 330 | } 331 | 332 | /* ---- */ 333 | 334 | void draw_info_string(uint8_t *fb_buf, const char *str) 335 | { 336 | // VGA 337 | int cam_w = 640; 338 | int cam_h = 480; 339 | 340 | set_defaultfont(); 341 | 342 | draw_string(fb_buf, cam_w, cam_h, 8 - 1, 8, str, FONTCOLOR_BLACK); 343 | draw_string(fb_buf, cam_w, cam_h, 8 + 1, 8, str, FONTCOLOR_BLACK); 344 | draw_string(fb_buf, cam_w, cam_h, 8, 8 - 1, str, FONTCOLOR_BLACK); 345 | draw_string(fb_buf, cam_w, cam_h, 8, 8 + 1, str, FONTCOLOR_BLACK); 346 | draw_string(fb_buf, cam_w, cam_h, 8, 8, str, FONTCOLOR_WHITE); 347 | } 348 | 349 | /* ---- */ 350 | 351 | void app_main(void) 352 | { 353 | bool is_wifi_connected = false; 354 | 355 | init_gpio(); 356 | gpio_set_level(BLINK_GPIO, 0); // on 357 | 358 | // ++take_count; 359 | // ESP_LOGI(TAG, "Boot count: %d", take_count); 360 | 361 | time_t now; 362 | struct tm timeinfo; 363 | time(&now); 364 | setenv("TZ", "UTC-9", 1); // TODO: means UTC+9 365 | tzset(); 366 | localtime_r(&now, &timeinfo); 367 | if (timeinfo.tm_year < (2016 - 1900)) { 368 | ESP_LOGI(TAG, 369 | "Time is not set yet. Connecting to WiFi and getting time over NTP."); 370 | init_wifi(); 371 | is_wifi_connected = true; 372 | sync_time(); 373 | // update 'now' variable with current time 374 | time(&now); 375 | localtime_r(&now, &timeinfo); 376 | } 377 | 378 | // only take snapshot in 11 and 12 o'clock 379 | // it makes -at last- one picture taken at a day. 380 | if (take_count > 0 && timeinfo.tm_hour != 12) { 381 | ESP_LOGI(TAG, "Skip take picture"); 382 | goto deepsleep; 383 | } 384 | 385 | char strftime_buf[32]; 386 | strftime(strftime_buf, sizeof(strftime_buf), "%Y-%m-%d (%a) %H:%M:%S", 387 | &timeinfo); 388 | ESP_LOGI(TAG, "The current date/time is: %s", strftime_buf); 389 | 390 | // gpio_set_level(FLASHLIGHT_GPIO, 1); // on 391 | ESP_LOGI(TAG, "Taking picture..."); 392 | init_camera(); 393 | vTaskDelay(5000 / portTICK_PERIOD_MS); 394 | 395 | camera_fb_t *fb; 396 | // waste first 10 frames for Auto Expose 397 | for (int i = 0; i < 10; i++) { 398 | fb = esp_camera_fb_get(); 399 | esp_camera_fb_return(fb); 400 | } 401 | fb = esp_camera_fb_get(); 402 | // gpio_set_level(FLASHLIGHT_GPIO, 0); // off 403 | 404 | char strinfo_buf[64]; 405 | sprintf(strinfo_buf, "%s cnt: %03d", strftime_buf, ++take_count); 406 | draw_info_string(fb->buf, strinfo_buf); 407 | 408 | uint8_t *buf = NULL; 409 | size_t buf_len = 0; 410 | bool converted = frame2jpg(fb, 80, &buf, &buf_len); 411 | esp_camera_fb_return(fb); 412 | esp_camera_deinit(); 413 | if (!converted) 414 | goto deepsleep; 415 | 416 | if (!is_wifi_connected) { 417 | init_wifi(); 418 | is_wifi_connected = true; 419 | } 420 | 421 | init_mqtt(); 422 | ESP_LOGI(TAG, "Sending it to MQTT topic %s ...", MQTT_TOPIC); 423 | esp_mqtt_client_publish(mqtt_client, MQTT_TOPIC, 424 | (const char *)(buf), buf_len, 0, 0); 425 | if (take_count > 1) { 426 | sync_time(); // interal RTC sucks sync time again. 427 | } 428 | 429 | deepsleep: 430 | // TODO: need free buf? 431 | gpio_set_level(BLINK_GPIO, 1); // off 432 | 433 | esp_mqtt_client_destroy(mqtt_client); 434 | if (is_wifi_connected) 435 | esp_wifi_stop(); 436 | 437 | const int deep_sleep_sec = 1 * 60 * 60; 438 | ESP_LOGI(TAG, "Entering deep sleep for %d seconds", deep_sleep_sec); 439 | esp_deep_sleep(1000000LL * deep_sleep_sec); 440 | } 441 | -------------------------------------------------------------------------------- /sdkconfig_example: -------------------------------------------------------------------------------- 1 | # 2 | # Automatically generated file. DO NOT EDIT. 3 | # Espressif IoT Development Framework (ESP-IDF) 6.0.0 Project Configuration 4 | # 5 | # default: 6 | CONFIG_SOC_CAPS_ECO_VER_MAX=301 7 | # default: 8 | CONFIG_SOC_ADC_SUPPORTED=y 9 | # default: 10 | CONFIG_SOC_DAC_SUPPORTED=y 11 | # default: 12 | CONFIG_SOC_UART_SUPPORTED=y 13 | # default: 14 | CONFIG_SOC_MCPWM_SUPPORTED=y 15 | # default: 16 | CONFIG_SOC_GPTIMER_SUPPORTED=y 17 | # default: 18 | CONFIG_SOC_SDMMC_HOST_SUPPORTED=y 19 | # default: 20 | CONFIG_SOC_BT_SUPPORTED=y 21 | # default: 22 | CONFIG_SOC_PCNT_SUPPORTED=y 23 | # default: 24 | CONFIG_SOC_PHY_SUPPORTED=y 25 | # default: 26 | CONFIG_SOC_WIFI_SUPPORTED=y 27 | # default: 28 | CONFIG_SOC_SDIO_SLAVE_SUPPORTED=y 29 | # default: 30 | CONFIG_SOC_TWAI_SUPPORTED=y 31 | # default: 32 | CONFIG_SOC_EFUSE_SUPPORTED=y 33 | # default: 34 | CONFIG_SOC_EMAC_SUPPORTED=y 35 | # default: 36 | CONFIG_SOC_ULP_SUPPORTED=y 37 | # default: 38 | CONFIG_SOC_CCOMP_TIMER_SUPPORTED=y 39 | # default: 40 | CONFIG_SOC_RTC_FAST_MEM_SUPPORTED=y 41 | # default: 42 | CONFIG_SOC_RTC_SLOW_MEM_SUPPORTED=y 43 | # default: 44 | CONFIG_SOC_RTC_MEM_SUPPORTED=y 45 | # default: 46 | CONFIG_SOC_I2S_SUPPORTED=y 47 | # default: 48 | CONFIG_SOC_I2S_I80_LCD_SUPPORTED=y 49 | # default: 50 | CONFIG_SOC_LCD_I80_SUPPORTED=y 51 | # default: 52 | CONFIG_SOC_RMT_SUPPORTED=y 53 | # default: 54 | CONFIG_SOC_SDM_SUPPORTED=y 55 | # default: 56 | CONFIG_SOC_GPSPI_SUPPORTED=y 57 | # default: 58 | CONFIG_SOC_LEDC_SUPPORTED=y 59 | # default: 60 | CONFIG_SOC_I2C_SUPPORTED=y 61 | # default: 62 | CONFIG_SOC_SUPPORT_COEXISTENCE=y 63 | # default: 64 | CONFIG_SOC_AES_SUPPORTED=y 65 | # default: 66 | CONFIG_SOC_MPI_SUPPORTED=y 67 | # default: 68 | CONFIG_SOC_SHA_SUPPORTED=y 69 | # default: 70 | CONFIG_SOC_FLASH_ENC_SUPPORTED=y 71 | # default: 72 | CONFIG_SOC_SECURE_BOOT_SUPPORTED=y 73 | # default: 74 | CONFIG_SOC_TOUCH_SENSOR_SUPPORTED=y 75 | # default: 76 | CONFIG_SOC_BOD_SUPPORTED=y 77 | # default: 78 | CONFIG_SOC_ULP_FSM_SUPPORTED=y 79 | # default: 80 | CONFIG_SOC_CLK_TREE_SUPPORTED=y 81 | # default: 82 | CONFIG_SOC_MPU_SUPPORTED=y 83 | # default: 84 | CONFIG_SOC_WDT_SUPPORTED=y 85 | # default: 86 | CONFIG_SOC_SPI_FLASH_SUPPORTED=y 87 | # default: 88 | CONFIG_SOC_RNG_SUPPORTED=y 89 | # default: 90 | CONFIG_SOC_LIGHT_SLEEP_SUPPORTED=y 91 | # default: 92 | CONFIG_SOC_DEEP_SLEEP_SUPPORTED=y 93 | # default: 94 | CONFIG_SOC_LP_PERIPH_SHARE_INTERRUPT=y 95 | # default: 96 | CONFIG_SOC_PM_SUPPORTED=y 97 | # default: 98 | CONFIG_SOC_DPORT_WORKAROUND_DIS_INTERRUPT_LVL=5 99 | # default: 100 | CONFIG_SOC_XTAL_SUPPORT_26M=y 101 | # default: 102 | CONFIG_SOC_XTAL_SUPPORT_40M=y 103 | # default: 104 | CONFIG_SOC_ADC_RTC_CTRL_SUPPORTED=y 105 | # default: 106 | CONFIG_SOC_ADC_DIG_CTRL_SUPPORTED=y 107 | # default: 108 | CONFIG_SOC_ADC_DMA_SUPPORTED=y 109 | # default: 110 | CONFIG_SOC_ADC_PERIPH_NUM=2 111 | # default: 112 | CONFIG_SOC_ADC_MAX_CHANNEL_NUM=10 113 | # default: 114 | CONFIG_SOC_ADC_ATTEN_NUM=4 115 | # default: 116 | CONFIG_SOC_ADC_DIGI_CONTROLLER_NUM=2 117 | # default: 118 | CONFIG_SOC_ADC_PATT_LEN_MAX=16 119 | # default: 120 | CONFIG_SOC_ADC_DIGI_MIN_BITWIDTH=9 121 | # default: 122 | CONFIG_SOC_ADC_DIGI_MAX_BITWIDTH=12 123 | # default: 124 | CONFIG_SOC_ADC_DIGI_RESULT_BYTES=2 125 | # default: 126 | CONFIG_SOC_ADC_DIGI_DATA_BYTES_PER_CONV=4 127 | # default: 128 | CONFIG_SOC_ADC_DIGI_MONITOR_NUM=0 129 | # default: 130 | CONFIG_SOC_ADC_SAMPLE_FREQ_THRES_HIGH=2000000 131 | # default: 132 | CONFIG_SOC_ADC_SAMPLE_FREQ_THRES_LOW=20000 133 | # default: 134 | CONFIG_SOC_ADC_RTC_MIN_BITWIDTH=9 135 | # default: 136 | CONFIG_SOC_ADC_RTC_MAX_BITWIDTH=12 137 | # default: 138 | CONFIG_SOC_ADC_SHARED_POWER=y 139 | # default: 140 | CONFIG_SOC_BROWNOUT_RESET_SUPPORTED=y 141 | # default: 142 | CONFIG_SOC_SHARED_IDCACHE_SUPPORTED=y 143 | # default: 144 | CONFIG_SOC_IDCACHE_PER_CORE=y 145 | # default: 146 | CONFIG_SOC_CPU_CORES_NUM=2 147 | # default: 148 | CONFIG_SOC_CPU_INTR_NUM=32 149 | # default: 150 | CONFIG_SOC_CPU_HAS_FPU=y 151 | # default: 152 | CONFIG_SOC_HP_CPU_HAS_MULTIPLE_CORES=y 153 | # default: 154 | CONFIG_SOC_CPU_BREAKPOINTS_NUM=2 155 | # default: 156 | CONFIG_SOC_CPU_WATCHPOINTS_NUM=2 157 | # default: 158 | CONFIG_SOC_CPU_WATCHPOINT_MAX_REGION_SIZE=0x40 159 | # default: 160 | CONFIG_SOC_DAC_CHAN_NUM=2 161 | # default: 162 | CONFIG_SOC_DAC_RESOLUTION=8 163 | # default: 164 | CONFIG_SOC_DAC_DMA_16BIT_ALIGN=y 165 | # default: 166 | CONFIG_SOC_GPIO_PORT=1 167 | # default: 168 | CONFIG_SOC_GPIO_PIN_COUNT=40 169 | # default: 170 | CONFIG_SOC_GPIO_VALID_GPIO_MASK=0xFFFFFFFFFF 171 | # default: 172 | CONFIG_SOC_GPIO_IN_RANGE_MAX=39 173 | # default: 174 | CONFIG_SOC_GPIO_OUT_RANGE_MAX=33 175 | # default: 176 | CONFIG_SOC_GPIO_VALID_DIGITAL_IO_PAD_MASK=0xEF0FEA 177 | # default: 178 | CONFIG_SOC_GPIO_CLOCKOUT_BY_IO_MUX=y 179 | # default: 180 | CONFIG_SOC_GPIO_CLOCKOUT_CHANNEL_NUM=3 181 | # default: 182 | CONFIG_SOC_GPIO_SUPPORT_HOLD_IO_IN_DSLP=y 183 | # default: 184 | CONFIG_SOC_I2C_NUM=2 185 | # default: 186 | CONFIG_SOC_HP_I2C_NUM=2 187 | # default: 188 | CONFIG_SOC_I2C_FIFO_LEN=32 189 | # default: 190 | CONFIG_SOC_I2C_CMD_REG_NUM=16 191 | # default: 192 | CONFIG_SOC_I2C_SUPPORT_SLAVE=y 193 | # default: 194 | CONFIG_SOC_I2C_SUPPORT_APB=y 195 | # default: 196 | CONFIG_SOC_I2C_SUPPORT_10BIT_ADDR=y 197 | # default: 198 | CONFIG_SOC_I2C_STOP_INDEPENDENT=y 199 | # default: 200 | CONFIG_SOC_I2S_HW_VERSION_1=y 201 | # default: 202 | CONFIG_SOC_I2S_SUPPORTS_APLL=y 203 | # default: 204 | CONFIG_SOC_I2S_SUPPORTS_PDM=y 205 | # default: 206 | CONFIG_SOC_I2S_SUPPORTS_PDM_TX=y 207 | # default: 208 | CONFIG_SOC_I2S_SUPPORTS_PCM2PDM=y 209 | # default: 210 | CONFIG_SOC_I2S_SUPPORTS_PDM_RX=y 211 | # default: 212 | CONFIG_SOC_I2S_SUPPORTS_PDM2PCM=y 213 | # default: 214 | CONFIG_SOC_I2S_PDM_MAX_TX_LINES=1 215 | # default: 216 | CONFIG_SOC_I2S_PDM_MAX_RX_LINES=1 217 | # default: 218 | CONFIG_SOC_LEDC_HAS_TIMER_SPECIFIC_MUX=y 219 | # default: 220 | CONFIG_SOC_LEDC_SUPPORT_APB_CLOCK=y 221 | # default: 222 | CONFIG_SOC_LEDC_SUPPORT_REF_TICK=y 223 | # default: 224 | CONFIG_SOC_LEDC_SUPPORT_HS_MODE=y 225 | # default: 226 | CONFIG_SOC_LEDC_TIMER_NUM=4 227 | # default: 228 | CONFIG_SOC_LEDC_CHANNEL_NUM=8 229 | # default: 230 | CONFIG_SOC_LEDC_TIMER_BIT_WIDTH=20 231 | # default: 232 | CONFIG_SOC_MCPWM_GROUPS=2 233 | # default: 234 | CONFIG_SOC_MCPWM_TIMERS_PER_GROUP=3 235 | # default: 236 | CONFIG_SOC_MCPWM_OPERATORS_PER_GROUP=3 237 | # default: 238 | CONFIG_SOC_MCPWM_COMPARATORS_PER_OPERATOR=2 239 | # default: 240 | CONFIG_SOC_MCPWM_GENERATORS_PER_OPERATOR=2 241 | # default: 242 | CONFIG_SOC_MCPWM_TRIGGERS_PER_OPERATOR=2 243 | # default: 244 | CONFIG_SOC_MCPWM_GPIO_FAULTS_PER_GROUP=3 245 | # default: 246 | CONFIG_SOC_MCPWM_CAPTURE_TIMERS_PER_GROUP=y 247 | # default: 248 | CONFIG_SOC_MCPWM_CAPTURE_CHANNELS_PER_TIMER=3 249 | # default: 250 | CONFIG_SOC_MCPWM_GPIO_SYNCHROS_PER_GROUP=3 251 | # default: 252 | CONFIG_SOC_MMU_PERIPH_NUM=2 253 | # default: 254 | CONFIG_SOC_MMU_LINEAR_ADDRESS_REGION_NUM=3 255 | # default: 256 | CONFIG_SOC_MPU_MIN_REGION_SIZE=0x20000000 257 | # default: 258 | CONFIG_SOC_MPU_REGIONS_MAX_NUM=8 259 | # default: 260 | CONFIG_SOC_RMT_GROUPS=1 261 | # default: 262 | CONFIG_SOC_RMT_TX_CANDIDATES_PER_GROUP=8 263 | # default: 264 | CONFIG_SOC_RMT_RX_CANDIDATES_PER_GROUP=8 265 | # default: 266 | CONFIG_SOC_RMT_CHANNELS_PER_GROUP=8 267 | # default: 268 | CONFIG_SOC_RMT_MEM_WORDS_PER_CHANNEL=64 269 | # default: 270 | CONFIG_SOC_RMT_SUPPORT_REF_TICK=y 271 | # default: 272 | CONFIG_SOC_RMT_SUPPORT_APB=y 273 | # default: 274 | CONFIG_SOC_RMT_CHANNEL_CLK_INDEPENDENT=y 275 | # default: 276 | CONFIG_SOC_RTCIO_PIN_COUNT=18 277 | # default: 278 | CONFIG_SOC_RTCIO_INPUT_OUTPUT_SUPPORTED=y 279 | # default: 280 | CONFIG_SOC_RTCIO_HOLD_SUPPORTED=y 281 | # default: 282 | CONFIG_SOC_RTCIO_WAKE_SUPPORTED=y 283 | # default: 284 | CONFIG_SOC_SPI_HD_BOTH_INOUT_SUPPORTED=y 285 | # default: 286 | CONFIG_SOC_SPI_AS_CS_SUPPORTED=y 287 | # default: 288 | CONFIG_SOC_SPI_PERIPH_NUM=3 289 | # default: 290 | CONFIG_SOC_SPI_DMA_CHAN_NUM=2 291 | # default: 292 | CONFIG_SOC_SPI_MAX_CS_NUM=3 293 | # default: 294 | CONFIG_SOC_SPI_SUPPORT_CLK_APB=y 295 | # default: 296 | CONFIG_SOC_SPI_MAXIMUM_BUFFER_SIZE=64 297 | # default: 298 | CONFIG_SOC_SPI_MAX_PRE_DIVIDER=8192 299 | # default: 300 | CONFIG_SOC_MEMSPI_SRC_FREQ_80M_SUPPORTED=y 301 | # default: 302 | CONFIG_SOC_MEMSPI_SRC_FREQ_40M_SUPPORTED=y 303 | # default: 304 | CONFIG_SOC_MEMSPI_SRC_FREQ_26M_SUPPORTED=y 305 | # default: 306 | CONFIG_SOC_MEMSPI_SRC_FREQ_20M_SUPPORTED=y 307 | # default: 308 | CONFIG_SOC_LP_TIMER_BIT_WIDTH_LO=32 309 | # default: 310 | CONFIG_SOC_LP_TIMER_BIT_WIDTH_HI=16 311 | # default: 312 | CONFIG_SOC_TOUCH_SENSOR_VERSION=1 313 | # default: 314 | CONFIG_SOC_TOUCH_MIN_CHAN_ID=0 315 | # default: 316 | CONFIG_SOC_TOUCH_MAX_CHAN_ID=9 317 | # default: 318 | CONFIG_SOC_TOUCH_SUPPORT_SLEEP_WAKEUP=y 319 | # default: 320 | CONFIG_SOC_TOUCH_SAMPLE_CFG_NUM=1 321 | # default: 322 | CONFIG_SOC_TWAI_CONTROLLER_NUM=1 323 | # default: 324 | CONFIG_SOC_TWAI_MASK_FILTER_NUM=1 325 | # default: 326 | CONFIG_SOC_TWAI_BRP_MIN=2 327 | # default: 328 | CONFIG_SOC_TWAI_CLK_SUPPORT_APB=y 329 | # default: 330 | CONFIG_SOC_TWAI_SUPPORT_MULTI_ADDRESS_LAYOUT=y 331 | # default: 332 | CONFIG_SOC_UART_NUM=3 333 | # default: 334 | CONFIG_SOC_UART_HP_NUM=3 335 | # default: 336 | CONFIG_SOC_UART_SUPPORT_APB_CLK=y 337 | # default: 338 | CONFIG_SOC_UART_SUPPORT_REF_TICK=y 339 | # default: 340 | CONFIG_SOC_UART_FIFO_LEN=128 341 | # default: 342 | CONFIG_SOC_UART_BITRATE_MAX=5000000 343 | # default: 344 | CONFIG_SOC_UART_WAKEUP_SUPPORT_ACTIVE_THRESH_MODE=y 345 | # default: 346 | CONFIG_SOC_SPIRAM_SUPPORTED=y 347 | # default: 348 | CONFIG_SOC_SPI_MEM_SUPPORT_CONFIG_GPIO_BY_EFUSE=y 349 | # default: 350 | CONFIG_SOC_SHA_SUPPORT_PARALLEL_ENG=y 351 | # default: 352 | CONFIG_SOC_SHA_ENDIANNESS_BE=y 353 | # default: 354 | CONFIG_SOC_SHA_SUPPORT_SHA1=y 355 | # default: 356 | CONFIG_SOC_SHA_SUPPORT_SHA256=y 357 | # default: 358 | CONFIG_SOC_SHA_SUPPORT_SHA384=y 359 | # default: 360 | CONFIG_SOC_SHA_SUPPORT_SHA512=y 361 | # default: 362 | CONFIG_SOC_MPI_MEM_BLOCKS_NUM=4 363 | # default: 364 | CONFIG_SOC_MPI_OPERATIONS_NUM=1 365 | # default: 366 | CONFIG_SOC_RSA_MAX_BIT_LEN=4096 367 | # default: 368 | CONFIG_SOC_AES_SUPPORT_AES_128=y 369 | # default: 370 | CONFIG_SOC_AES_SUPPORT_AES_192=y 371 | # default: 372 | CONFIG_SOC_AES_SUPPORT_AES_256=y 373 | # default: 374 | CONFIG_SOC_SECURE_BOOT_V1=y 375 | # default: 376 | CONFIG_SOC_EFUSE_SECURE_BOOT_KEY_DIGESTS=1 377 | # default: 378 | CONFIG_SOC_FLASH_ENCRYPTED_XTS_AES_BLOCK_MAX=32 379 | # default: 380 | CONFIG_SOC_PHY_DIG_REGS_MEM_SIZE=21 381 | # default: 382 | CONFIG_SOC_PM_SUPPORT_EXT0_WAKEUP=y 383 | # default: 384 | CONFIG_SOC_PM_SUPPORT_EXT1_WAKEUP=y 385 | # default: 386 | CONFIG_SOC_PM_SUPPORT_EXT_WAKEUP=y 387 | # default: 388 | CONFIG_SOC_PM_SUPPORT_TOUCH_SENSOR_WAKEUP=y 389 | # default: 390 | CONFIG_SOC_PM_SUPPORT_RTC_PERIPH_PD=y 391 | # default: 392 | CONFIG_SOC_PM_SUPPORT_RTC_FAST_MEM_PD=y 393 | # default: 394 | CONFIG_SOC_PM_SUPPORT_RTC_SLOW_MEM_PD=y 395 | # default: 396 | CONFIG_SOC_PM_SUPPORT_RC_FAST_PD=y 397 | # default: 398 | CONFIG_SOC_PM_SUPPORT_VDDSDIO_PD=y 399 | # default: 400 | CONFIG_SOC_PM_SUPPORT_MODEM_PD=y 401 | # default: 402 | CONFIG_SOC_CONFIGURABLE_VDDSDIO_SUPPORTED=y 403 | # default: 404 | CONFIG_SOC_PM_MODEM_PD_BY_SW=y 405 | # default: 406 | CONFIG_SOC_CLK_APLL_SUPPORTED=y 407 | # default: 408 | CONFIG_SOC_CLK_RC_FAST_D256_SUPPORTED=y 409 | # default: 410 | CONFIG_SOC_RTC_SLOW_CLK_SUPPORT_RC_FAST_D256=y 411 | # default: 412 | CONFIG_SOC_CLK_RC_FAST_SUPPORT_CALIBRATION=y 413 | # default: 414 | CONFIG_SOC_CLK_XTAL32K_SUPPORTED=y 415 | # default: 416 | CONFIG_SOC_CLK_LP_FAST_SUPPORT_XTAL_D4=y 417 | # default: 418 | CONFIG_SOC_SDMMC_USE_IOMUX=y 419 | # default: 420 | CONFIG_SOC_SDMMC_NUM_SLOTS=2 421 | # default: 422 | CONFIG_SOC_SDMMC_DATA_WIDTH_MAX=8 423 | # default: 424 | CONFIG_SOC_WIFI_WAPI_SUPPORT=y 425 | # default: 426 | CONFIG_SOC_WIFI_CSI_SUPPORT=y 427 | # default: 428 | CONFIG_SOC_WIFI_MESH_SUPPORT=y 429 | # default: 430 | CONFIG_SOC_WIFI_SUPPORT_VARIABLE_BEACON_WINDOW=y 431 | # default: 432 | CONFIG_SOC_WIFI_NAN_SUPPORT=y 433 | # default: 434 | CONFIG_SOC_BLE_SUPPORTED=y 435 | # default: 436 | CONFIG_SOC_BLE_MESH_SUPPORTED=y 437 | # default: 438 | CONFIG_SOC_BT_CLASSIC_SUPPORTED=y 439 | # default: 440 | CONFIG_SOC_BLUFI_SUPPORTED=y 441 | # default: 442 | CONFIG_SOC_BT_H2C_ENC_KEY_CTRL_ENH_VSC_SUPPORTED=y 443 | # default: 444 | CONFIG_SOC_BLE_MULTI_CONN_OPTIMIZATION=y 445 | # default: 446 | CONFIG_SOC_ULP_HAS_ADC=y 447 | # default: 448 | CONFIG_SOC_PHY_COMBO_MODULE=y 449 | # default: 450 | CONFIG_SOC_EMAC_RMII_CLK_OUT_INTERNAL_LOOPBACK=y 451 | # default: 452 | CONFIG_IDF_CMAKE=y 453 | # default: 454 | CONFIG_IDF_TOOLCHAIN="gcc" 455 | # default: 456 | CONFIG_IDF_TOOLCHAIN_GCC=y 457 | # default: 458 | CONFIG_IDF_TARGET_ARCH_XTENSA=y 459 | # default: 460 | CONFIG_IDF_TARGET_ARCH="xtensa" 461 | # default: 462 | CONFIG_IDF_TARGET="esp32" 463 | # default: 464 | CONFIG_IDF_INIT_VERSION="$IDF_INIT_VERSION" 465 | # default: 466 | CONFIG_IDF_TARGET_ESP32=y 467 | # default: 468 | CONFIG_IDF_FIRMWARE_CHIP_ID=0x0000 469 | 470 | # 471 | # Build type 472 | # 473 | CONFIG_APP_BUILD_TYPE_APP_2NDBOOT=y 474 | # CONFIG_APP_BUILD_TYPE_RAM is not set 475 | # default: 476 | CONFIG_APP_BUILD_GENERATE_BINARIES=y 477 | # default: 478 | CONFIG_APP_BUILD_BOOTLOADER=y 479 | # default: 480 | CONFIG_APP_BUILD_USE_FLASH_SECTIONS=y 481 | # default: 482 | # CONFIG_APP_REPRODUCIBLE_BUILD is not set 483 | # default: 484 | # CONFIG_APP_NO_BLOBS is not set 485 | # default: 486 | # CONFIG_APP_COMPATIBLE_PRE_V2_1_BOOTLOADERS is not set 487 | # default: 488 | # CONFIG_APP_COMPATIBLE_PRE_V3_1_BOOTLOADERS is not set 489 | # end of Build type 490 | 491 | # 492 | # Bootloader config 493 | # 494 | 495 | # 496 | # Bootloader manager 497 | # 498 | # default: 499 | CONFIG_BOOTLOADER_COMPILE_TIME_DATE=y 500 | # default: 501 | CONFIG_BOOTLOADER_PROJECT_VER=1 502 | # end of Bootloader manager 503 | 504 | # 505 | # Application Rollback 506 | # 507 | # CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE is not set 508 | # end of Application Rollback 509 | 510 | # 511 | # Recovery Bootloader and Rollback 512 | # 513 | # end of Recovery Bootloader and Rollback 514 | 515 | # default: 516 | CONFIG_BOOTLOADER_OFFSET_IN_FLASH=0x1000 517 | CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y 518 | # CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_DEBUG is not set 519 | # CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_PERF is not set 520 | 521 | # 522 | # Log 523 | # 524 | # default: 525 | CONFIG_BOOTLOADER_LOG_VERSION_1=y 526 | # default: 527 | CONFIG_BOOTLOADER_LOG_VERSION=1 528 | # CONFIG_BOOTLOADER_LOG_LEVEL_NONE is not set 529 | # CONFIG_BOOTLOADER_LOG_LEVEL_ERROR is not set 530 | # CONFIG_BOOTLOADER_LOG_LEVEL_WARN is not set 531 | CONFIG_BOOTLOADER_LOG_LEVEL_INFO=y 532 | # CONFIG_BOOTLOADER_LOG_LEVEL_DEBUG is not set 533 | # CONFIG_BOOTLOADER_LOG_LEVEL_VERBOSE is not set 534 | # default: 535 | CONFIG_BOOTLOADER_LOG_LEVEL=3 536 | 537 | # 538 | # Format 539 | # 540 | # default: 541 | # CONFIG_BOOTLOADER_LOG_COLORS is not set 542 | # default: 543 | CONFIG_BOOTLOADER_LOG_TIMESTAMP_SOURCE_CPU_TICKS=y 544 | # end of Format 545 | 546 | # 547 | # Settings 548 | # 549 | # default: 550 | CONFIG_BOOTLOADER_LOG_MODE_TEXT_EN=y 551 | # default: 552 | CONFIG_BOOTLOADER_LOG_MODE_TEXT=y 553 | # end of Settings 554 | # end of Log 555 | 556 | # default: 557 | CONFIG_BOOTLOADER_CPU_CLK_FREQ_MHZ=80 558 | 559 | # 560 | # Serial Flash Configurations 561 | # 562 | # default: 563 | # CONFIG_BOOTLOADER_FLASH_DC_AWARE is not set 564 | # default: 565 | CONFIG_BOOTLOADER_FLASH_XMC_SUPPORT=y 566 | # end of Serial Flash Configurations 567 | 568 | # CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_8V is not set 569 | CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V=y 570 | # CONFIG_BOOTLOADER_FACTORY_RESET is not set 571 | # CONFIG_BOOTLOADER_APP_TEST is not set 572 | # default: 573 | CONFIG_BOOTLOADER_REGION_PROTECTION_ENABLE=y 574 | CONFIG_BOOTLOADER_WDT_ENABLE=y 575 | # CONFIG_BOOTLOADER_WDT_DISABLE_IN_USER_CODE is not set 576 | CONFIG_BOOTLOADER_WDT_TIME_MS=9000 577 | # CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP is not set 578 | # default: 579 | # CONFIG_BOOTLOADER_SKIP_VALIDATE_ON_POWER_ON is not set 580 | # default: 581 | # CONFIG_BOOTLOADER_SKIP_VALIDATE_ALWAYS is not set 582 | # default: 583 | CONFIG_BOOTLOADER_RESERVE_RTC_SIZE=0 584 | # CONFIG_BOOTLOADER_CUSTOM_RESERVE_RTC is not set 585 | # end of Bootloader config 586 | 587 | # 588 | # Security features 589 | # 590 | # default: 591 | CONFIG_SECURE_BOOT_V1_SUPPORTED=y 592 | # CONFIG_SECURE_SIGNED_APPS_NO_SECURE_BOOT is not set 593 | # CONFIG_SECURE_BOOT is not set 594 | # CONFIG_SECURE_FLASH_ENC_ENABLED is not set 595 | # end of Security features 596 | 597 | # 598 | # Application manager 599 | # 600 | CONFIG_APP_COMPILE_TIME_DATE=y 601 | # CONFIG_APP_EXCLUDE_PROJECT_VER_VAR is not set 602 | # CONFIG_APP_EXCLUDE_PROJECT_NAME_VAR is not set 603 | # CONFIG_APP_PROJECT_VER_FROM_CONFIG is not set 604 | CONFIG_APP_RETRIEVE_LEN_ELF_SHA=16 605 | # end of Application manager 606 | 607 | # default: 608 | CONFIG_ESP_ROM_HAS_CRC_LE=y 609 | # default: 610 | CONFIG_ESP_ROM_HAS_CRC_BE=y 611 | # default: 612 | CONFIG_ESP_ROM_HAS_MZ_CRC32=y 613 | # default: 614 | CONFIG_ESP_ROM_HAS_JPEG_DECODE=y 615 | # default: 616 | CONFIG_ESP_ROM_HAS_UART_BUF_SWITCH=y 617 | # default: 618 | CONFIG_ESP_ROM_NEEDS_SWSETUP_WORKAROUND=y 619 | # default: 620 | CONFIG_ESP_ROM_HAS_NEWLIB=y 621 | # default: 622 | CONFIG_ESP_ROM_HAS_NEWLIB_NANO_FORMAT=y 623 | # default: 624 | CONFIG_ESP_ROM_HAS_NEWLIB_32BIT_TIME=y 625 | # default: 626 | CONFIG_ESP_ROM_HAS_SW_FLOAT=y 627 | # default: 628 | CONFIG_ESP_ROM_USB_OTG_NUM=-1 629 | # default: 630 | CONFIG_ESP_ROM_USB_SERIAL_DEVICE_NUM=-1 631 | # default: 632 | CONFIG_ESP_ROM_SUPPORT_DEEP_SLEEP_WAKEUP_STUB=y 633 | # default: 634 | CONFIG_ESP_ROM_HAS_OUTPUT_PUTC_FUNC=y 635 | 636 | # 637 | # Serial flasher config 638 | # 639 | # CONFIG_ESPTOOLPY_NO_STUB is not set 640 | # CONFIG_ESPTOOLPY_FLASHMODE_QIO is not set 641 | # CONFIG_ESPTOOLPY_FLASHMODE_QOUT is not set 642 | CONFIG_ESPTOOLPY_FLASHMODE_DIO=y 643 | # CONFIG_ESPTOOLPY_FLASHMODE_DOUT is not set 644 | # default: 645 | CONFIG_ESPTOOLPY_FLASH_SAMPLE_MODE_STR=y 646 | # default: 647 | CONFIG_ESPTOOLPY_FLASHMODE="dio" 648 | # CONFIG_ESPTOOLPY_FLASHFREQ_80M is not set 649 | CONFIG_ESPTOOLPY_FLASHFREQ_40M=y 650 | # CONFIG_ESPTOOLPY_FLASHFREQ_26M is not set 651 | # CONFIG_ESPTOOLPY_FLASHFREQ_20M is not set 652 | # default: 653 | CONFIG_ESPTOOLPY_FLASHFREQ="40m" 654 | # CONFIG_ESPTOOLPY_FLASHSIZE_1MB is not set 655 | # CONFIG_ESPTOOLPY_FLASHSIZE_2MB is not set 656 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 657 | # CONFIG_ESPTOOLPY_FLASHSIZE_8MB is not set 658 | # CONFIG_ESPTOOLPY_FLASHSIZE_16MB is not set 659 | # CONFIG_ESPTOOLPY_FLASHSIZE_32MB is not set 660 | # CONFIG_ESPTOOLPY_FLASHSIZE_64MB is not set 661 | # CONFIG_ESPTOOLPY_FLASHSIZE_128MB is not set 662 | # default: 663 | CONFIG_ESPTOOLPY_FLASHSIZE="4MB" 664 | # default: 665 | # CONFIG_ESPTOOLPY_HEADER_FLASHSIZE_UPDATE is not set 666 | CONFIG_ESPTOOLPY_BEFORE_RESET=y 667 | # CONFIG_ESPTOOLPY_BEFORE_NORESET is not set 668 | # default: 669 | CONFIG_ESPTOOLPY_BEFORE="default-reset" 670 | CONFIG_ESPTOOLPY_AFTER_RESET=y 671 | # CONFIG_ESPTOOLPY_AFTER_NORESET is not set 672 | # default: 673 | CONFIG_ESPTOOLPY_AFTER="hard-reset" 674 | # default: 675 | CONFIG_ESPTOOLPY_MONITOR_BAUD=115200 676 | # end of Serial flasher config 677 | 678 | # 679 | # Partition Table 680 | # 681 | # CONFIG_PARTITION_TABLE_SINGLE_APP is not set 682 | CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y 683 | # CONFIG_PARTITION_TABLE_TWO_OTA is not set 684 | # CONFIG_PARTITION_TABLE_TWO_OTA_LARGE is not set 685 | # CONFIG_PARTITION_TABLE_CUSTOM is not set 686 | CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" 687 | # default: 688 | CONFIG_PARTITION_TABLE_FILENAME="partitions_singleapp_large.csv" 689 | CONFIG_PARTITION_TABLE_OFFSET=0x8000 690 | CONFIG_PARTITION_TABLE_MD5=y 691 | # end of Partition Table 692 | 693 | # 694 | # Wifi Configuration 695 | # 696 | CONFIG_ESP_WIFI_SSID="YOUR_AP_SSID" 697 | CONFIG_ESP_WIFI_PASSWORD="YOUR_AP_PASSWORD" 698 | CONFIG_ESP_MAXIMUM_RETRY=5 699 | # end of Wifi Configuration 700 | 701 | # 702 | # MQTT Configuration 703 | # 704 | CONFIG_ESP_MQTT_HOST_URI="mqtt://mqtt:mqtt@192.168.219.105" 705 | CONFIG_ESP_MQTT_TOPIC="homin-home/gas-gauge/cam0" 706 | # end of MQTT Configuration 707 | 708 | # 709 | # Camera configuration 710 | # 711 | CONFIG_OV2640_SUPPORT=y 712 | # CONFIG_OV7725_SUPPORT is not set 713 | # CONFIG_OV3660_SUPPORT is not set 714 | # CONFIG_OV5640_SUPPORT is not set 715 | CONFIG_SCCB_HARDWARE_I2C=y 716 | # CONFIG_SCCB_HARDWARE_I2C_PORT0 is not set 717 | CONFIG_SCCB_HARDWARE_I2C_PORT1=y 718 | CONFIG_CAMERA_CORE0=y 719 | # CONFIG_CAMERA_CORE1 is not set 720 | # CONFIG_CAMERA_NO_AFFINITY is not set 721 | # end of Camera configuration 722 | 723 | # 724 | # Compiler options 725 | # 726 | # default: 727 | CONFIG_COMPILER_OPTIMIZATION_DEBUG=y 728 | # CONFIG_COMPILER_OPTIMIZATION_SIZE is not set 729 | # CONFIG_COMPILER_OPTIMIZATION_PERF is not set 730 | # CONFIG_COMPILER_OPTIMIZATION_NONE is not set 731 | CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y 732 | # CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT is not set 733 | # CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE is not set 734 | # default: 735 | # CONFIG_COMPILER_ASSERT_NDEBUG_EVALUATE is not set 736 | # default: 737 | CONFIG_COMPILER_FLOAT_LIB_FROM_GCCLIB=y 738 | # default: 739 | CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL=2 740 | # default: 741 | # CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT is not set 742 | # default: 743 | CONFIG_COMPILER_HIDE_PATHS_MACROS=y 744 | # CONFIG_COMPILER_CXX_EXCEPTIONS is not set 745 | # CONFIG_COMPILER_CXX_RTTI is not set 746 | CONFIG_COMPILER_STACK_CHECK_MODE_NONE=y 747 | # CONFIG_COMPILER_STACK_CHECK_MODE_NORM is not set 748 | # CONFIG_COMPILER_STACK_CHECK_MODE_STRONG is not set 749 | # CONFIG_COMPILER_STACK_CHECK_MODE_ALL is not set 750 | # default: 751 | # CONFIG_COMPILER_NO_MERGE_CONSTANTS is not set 752 | # CONFIG_COMPILER_WARN_WRITE_STRINGS is not set 753 | # default: 754 | # CONFIG_COMPILER_DISABLE_DEFAULT_ERRORS is not set 755 | # default: 756 | # CONFIG_COMPILER_DISABLE_GCC12_WARNINGS is not set 757 | # default: 758 | # CONFIG_COMPILER_DISABLE_GCC13_WARNINGS is not set 759 | # default: 760 | # CONFIG_COMPILER_DISABLE_GCC14_WARNINGS is not set 761 | # default: 762 | # CONFIG_COMPILER_DISABLE_GCC15_WARNINGS is not set 763 | # CONFIG_COMPILER_DUMP_RTL_FILES is not set 764 | # default: 765 | CONFIG_COMPILER_RT_LIB_GCCLIB=y 766 | # default: 767 | CONFIG_COMPILER_RT_LIB_NAME="gcc" 768 | # default: 769 | CONFIG_COMPILER_ORPHAN_SECTIONS_ERROR=y 770 | # default: 771 | # CONFIG_COMPILER_ORPHAN_SECTIONS_WARNING is not set 772 | # default: 773 | # CONFIG_COMPILER_ORPHAN_SECTIONS_PLACE is not set 774 | # default: 775 | # CONFIG_COMPILER_STATIC_ANALYZER is not set 776 | # default: 777 | CONFIG_COMPILER_CXX_GLIBCXX_CONSTEXPR_NO_CHANGE=y 778 | # default: 779 | # CONFIG_COMPILER_CXX_GLIBCXX_CONSTEXPR_COLD_CONSTEXPR is not set 780 | # default: 781 | # CONFIG_COMPILER_CXX_GLIBCXX_CONSTEXPR_COLD is not set 782 | # end of Compiler options 783 | 784 | # 785 | # Component config 786 | # 787 | 788 | # 789 | # Application Level Tracing 790 | # 791 | # default: 792 | # CONFIG_APPTRACE_ENABLE is not set 793 | # end of Application Level Tracing 794 | 795 | # 796 | # Bluetooth 797 | # 798 | # CONFIG_BT_ENABLED is not set 799 | 800 | # 801 | # Common Options 802 | # 803 | 804 | # 805 | # BLE Log 806 | # 807 | # default: 808 | # CONFIG_BLE_LOG_ENABLED is not set 809 | # end of BLE Log 810 | 811 | # default: 812 | # CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED is not set 813 | # default: 814 | # CONFIG_BT_BLE_LOG_UHCI_OUT_ENABLED is not set 815 | # default: 816 | # CONFIG_BT_LE_USED_MEM_STATISTICS_ENABLED is not set 817 | # end of Common Options 818 | # end of Bluetooth 819 | 820 | # 821 | # Console Library 822 | # 823 | # default: 824 | # CONFIG_CONSOLE_SORTED_HELP is not set 825 | # end of Console Library 826 | 827 | # 828 | # Legacy Driver Configurations 829 | # 830 | 831 | # 832 | # Legacy TWAI Driver Configurations 833 | # 834 | # default: 835 | # CONFIG_TWAI_ISR_IN_IRAM_LEGACY is not set 836 | # default: 837 | # CONFIG_TWAI_SKIP_LEGACY_CONFLICT_CHECK is not set 838 | # default: 839 | CONFIG_TWAI_ERRATA_FIX_BUS_OFF_REC=y 840 | # default: 841 | CONFIG_TWAI_ERRATA_FIX_TX_INTR_LOST=y 842 | # default: 843 | CONFIG_TWAI_ERRATA_FIX_RX_FRAME_INVALID=y 844 | # default: 845 | CONFIG_TWAI_ERRATA_FIX_RX_FIFO_CORRUPT=y 846 | # default: 847 | CONFIG_TWAI_ERRATA_FIX_LISTEN_ONLY_DOM=y 848 | # end of Legacy TWAI Driver Configurations 849 | 850 | # 851 | # Legacy I2C Driver Configurations 852 | # 853 | # default: 854 | # CONFIG_I2C_SUPPRESS_DEPRECATE_WARN is not set 855 | # default: 856 | # CONFIG_I2C_SKIP_LEGACY_CONFLICT_CHECK is not set 857 | # end of Legacy I2C Driver Configurations 858 | 859 | # 860 | # Legacy Touch Sensor Driver Configurations 861 | # 862 | # default: 863 | # CONFIG_TOUCH_SUPPRESS_DEPRECATE_WARN is not set 864 | # default: 865 | # CONFIG_TOUCH_SKIP_LEGACY_CONFLICT_CHECK is not set 866 | # end of Legacy Touch Sensor Driver Configurations 867 | # end of Legacy Driver Configurations 868 | 869 | # 870 | # eFuse Bit Manager 871 | # 872 | # CONFIG_EFUSE_CUSTOM_TABLE is not set 873 | # CONFIG_EFUSE_VIRTUAL is not set 874 | # CONFIG_EFUSE_CODE_SCHEME_COMPAT_NONE is not set 875 | CONFIG_EFUSE_CODE_SCHEME_COMPAT_3_4=y 876 | # CONFIG_EFUSE_CODE_SCHEME_COMPAT_REPEAT is not set 877 | # default: 878 | CONFIG_EFUSE_MAX_BLK_LEN=192 879 | # end of eFuse Bit Manager 880 | 881 | # 882 | # ESP-TLS 883 | # 884 | CONFIG_ESP_TLS_USING_MBEDTLS=y 885 | # CONFIG_ESP_TLS_USE_SECURE_ELEMENT is not set 886 | # default: 887 | # CONFIG_ESP_TLS_CLIENT_SESSION_TICKETS is not set 888 | # default: 889 | # CONFIG_ESP_TLS_SERVER_SESSION_TICKETS is not set 890 | # default: 891 | # CONFIG_ESP_TLS_SERVER_CERT_SELECT_HOOK is not set 892 | # default: 893 | # CONFIG_ESP_TLS_SERVER_MIN_AUTH_MODE_OPTIONAL is not set 894 | # CONFIG_ESP_TLS_PSK_VERIFICATION is not set 895 | # CONFIG_ESP_TLS_INSECURE is not set 896 | # default: 897 | CONFIG_ESP_TLS_DYN_BUF_STRATEGY_SUPPORTED=y 898 | # end of ESP-TLS 899 | 900 | # 901 | # ADC and ADC Calibration 902 | # 903 | # default: 904 | # CONFIG_ADC_ONESHOT_CTRL_FUNC_IN_IRAM is not set 905 | # default: 906 | # CONFIG_ADC_CONTINUOUS_ISR_IRAM_SAFE is not set 907 | 908 | # 909 | # ADC Calibration Configurations 910 | # 911 | # default: 912 | CONFIG_ADC_CALI_EFUSE_TP_ENABLE=y 913 | # default: 914 | CONFIG_ADC_CALI_EFUSE_VREF_ENABLE=y 915 | # default: 916 | CONFIG_ADC_CALI_LUT_ENABLE=y 917 | # end of ADC Calibration Configurations 918 | 919 | # default: 920 | CONFIG_ADC_DISABLE_DAC_OUTPUT=y 921 | # default: 922 | # CONFIG_ADC_ENABLE_DEBUG_LOG is not set 923 | # end of ADC and ADC Calibration 924 | 925 | # 926 | # Wireless Coexistence 927 | # 928 | # default: 929 | CONFIG_ESP_COEX_ENABLED=y 930 | # default: 931 | # CONFIG_ESP_COEX_GPIO_DEBUG is not set 932 | # end of Wireless Coexistence 933 | 934 | # 935 | # Common ESP-related 936 | # 937 | CONFIG_ESP_ERR_TO_NAME_LOOKUP=y 938 | # end of Common ESP-related 939 | 940 | # 941 | # ESP-Driver:DAC Configurations 942 | # 943 | # default: 944 | # CONFIG_DAC_CTRL_FUNC_IN_IRAM is not set 945 | # default: 946 | # CONFIG_DAC_ISR_IRAM_SAFE is not set 947 | # default: 948 | # CONFIG_DAC_ENABLE_DEBUG_LOG is not set 949 | # default: 950 | CONFIG_DAC_DMA_AUTO_16BIT_ALIGN=y 951 | # end of ESP-Driver:DAC Configurations 952 | 953 | # 954 | # ESP-Driver:GPIO Configurations 955 | # 956 | # default: 957 | # CONFIG_GPIO_CTRL_FUNC_IN_IRAM is not set 958 | # end of ESP-Driver:GPIO Configurations 959 | 960 | # 961 | # ESP-Driver:GPTimer Configurations 962 | # 963 | # default: 964 | CONFIG_GPTIMER_ISR_HANDLER_IN_IRAM=y 965 | # default: 966 | # CONFIG_GPTIMER_CTRL_FUNC_IN_IRAM is not set 967 | # default: 968 | # CONFIG_GPTIMER_ISR_CACHE_SAFE is not set 969 | # default: 970 | CONFIG_GPTIMER_OBJ_CACHE_SAFE=y 971 | # default: 972 | # CONFIG_GPTIMER_ENABLE_DEBUG_LOG is not set 973 | # end of ESP-Driver:GPTimer Configurations 974 | 975 | # 976 | # ESP-Driver:I2C Configurations 977 | # 978 | # default: 979 | # CONFIG_I2C_ISR_IRAM_SAFE is not set 980 | # default: 981 | # CONFIG_I2C_ENABLE_DEBUG_LOG is not set 982 | # default: 983 | CONFIG_I2C_MASTER_ISR_HANDLER_IN_IRAM=y 984 | # end of ESP-Driver:I2C Configurations 985 | 986 | # 987 | # ESP-Driver:I2S Configurations 988 | # 989 | # default: 990 | # CONFIG_I2S_ISR_IRAM_SAFE is not set 991 | # default: 992 | # CONFIG_I2S_CTRL_FUNC_IN_IRAM is not set 993 | # default: 994 | # CONFIG_I2S_ENABLE_DEBUG_LOG is not set 995 | # end of ESP-Driver:I2S Configurations 996 | 997 | # 998 | # ESP-Driver:I3C Master Configurations 999 | # 1000 | # default: 1001 | # CONFIG_I3C_MASTER_ISR_CACHE_SAFE is not set 1002 | # default: 1003 | # CONFIG_I3C_MASTER_ENABLE_DEBUG_LOG is not set 1004 | # default: 1005 | # CONFIG_I3C_MASTER_ISR_HANDLER_IN_IRAM is not set 1006 | # end of ESP-Driver:I3C Master Configurations 1007 | 1008 | # 1009 | # ESP-Driver:LEDC Configurations 1010 | # 1011 | # default: 1012 | # CONFIG_LEDC_CTRL_FUNC_IN_IRAM is not set 1013 | # end of ESP-Driver:LEDC Configurations 1014 | 1015 | # 1016 | # ESP-Driver:MCPWM Configurations 1017 | # 1018 | # default: 1019 | CONFIG_MCPWM_ISR_HANDLER_IN_IRAM=y 1020 | # default: 1021 | # CONFIG_MCPWM_ISR_CACHE_SAFE is not set 1022 | # default: 1023 | # CONFIG_MCPWM_CTRL_FUNC_IN_IRAM is not set 1024 | # default: 1025 | CONFIG_MCPWM_OBJ_CACHE_SAFE=y 1026 | # default: 1027 | # CONFIG_MCPWM_ENABLE_DEBUG_LOG is not set 1028 | # end of ESP-Driver:MCPWM Configurations 1029 | 1030 | # 1031 | # ESP-Driver:PCNT Configurations 1032 | # 1033 | # default: 1034 | # CONFIG_PCNT_CTRL_FUNC_IN_IRAM is not set 1035 | # default: 1036 | # CONFIG_PCNT_ISR_IRAM_SAFE is not set 1037 | # default: 1038 | # CONFIG_PCNT_ENABLE_DEBUG_LOG is not set 1039 | # end of ESP-Driver:PCNT Configurations 1040 | 1041 | # 1042 | # ESP-Driver:RMT Configurations 1043 | # 1044 | # default: 1045 | CONFIG_RMT_ENCODER_FUNC_IN_IRAM=y 1046 | # default: 1047 | CONFIG_RMT_TX_ISR_HANDLER_IN_IRAM=y 1048 | # default: 1049 | CONFIG_RMT_RX_ISR_HANDLER_IN_IRAM=y 1050 | # default: 1051 | # CONFIG_RMT_RECV_FUNC_IN_IRAM is not set 1052 | # default: 1053 | # CONFIG_RMT_TX_ISR_CACHE_SAFE is not set 1054 | # default: 1055 | # CONFIG_RMT_RX_ISR_CACHE_SAFE is not set 1056 | # default: 1057 | CONFIG_RMT_OBJ_CACHE_SAFE=y 1058 | # default: 1059 | # CONFIG_RMT_ENABLE_DEBUG_LOG is not set 1060 | # default: 1061 | # CONFIG_RMT_ISR_IRAM_SAFE is not set 1062 | # end of ESP-Driver:RMT Configurations 1063 | 1064 | # 1065 | # ESP-Driver:Sigma Delta Modulator Configurations 1066 | # 1067 | # default: 1068 | # CONFIG_SDM_CTRL_FUNC_IN_IRAM is not set 1069 | # default: 1070 | # CONFIG_SDM_ENABLE_DEBUG_LOG is not set 1071 | # end of ESP-Driver:Sigma Delta Modulator Configurations 1072 | 1073 | # 1074 | # ESP-Driver:SD Host SDMMC Controller Configurations 1075 | # 1076 | # default: 1077 | # CONFIG_SD_HOST_SDMMC_ISR_CACHE_SAFE is not set 1078 | # end of ESP-Driver:SD Host SDMMC Controller Configurations 1079 | 1080 | # 1081 | # ESP-Driver:SPI Configurations 1082 | # 1083 | CONFIG_SPI_MASTER_ISR_IN_IRAM=y 1084 | # CONFIG_SPI_SLAVE_IN_IRAM is not set 1085 | CONFIG_SPI_SLAVE_ISR_IN_IRAM=y 1086 | # end of ESP-Driver:SPI Configurations 1087 | 1088 | # 1089 | # ESP-Driver:Touch Sensor Configurations 1090 | # 1091 | # default: 1092 | # CONFIG_TOUCH_CTRL_FUNC_IN_IRAM is not set 1093 | # default: 1094 | # CONFIG_TOUCH_ISR_IRAM_SAFE is not set 1095 | # default: 1096 | # CONFIG_TOUCH_ENABLE_DEBUG_LOG is not set 1097 | # default: 1098 | # CONFIG_TOUCH_SKIP_FSM_CHECK is not set 1099 | # end of ESP-Driver:Touch Sensor Configurations 1100 | 1101 | # 1102 | # ESP-Driver:TWAI Configurations 1103 | # 1104 | # CONFIG_TWAI_ISR_IN_IRAM is not set 1105 | # default: 1106 | # CONFIG_TWAI_IO_FUNC_IN_IRAM is not set 1107 | # default: 1108 | # CONFIG_TWAI_ISR_CACHE_SAFE is not set 1109 | # default: 1110 | # CONFIG_TWAI_ENABLE_DEBUG_LOG is not set 1111 | # end of ESP-Driver:TWAI Configurations 1112 | 1113 | # 1114 | # ESP-Driver:UART Configurations 1115 | # 1116 | # CONFIG_UART_ISR_IN_IRAM is not set 1117 | # end of ESP-Driver:UART Configurations 1118 | 1119 | # 1120 | # ESP-Driver:UHCI Configurations 1121 | # 1122 | # default: 1123 | # CONFIG_UHCI_ISR_HANDLER_IN_IRAM is not set 1124 | # default: 1125 | # CONFIG_UHCI_ISR_CACHE_SAFE is not set 1126 | # default: 1127 | # CONFIG_UHCI_ENABLE_DEBUG_LOG is not set 1128 | # end of ESP-Driver:UHCI Configurations 1129 | 1130 | # 1131 | # Ethernet 1132 | # 1133 | # default: 1134 | CONFIG_ETH_ENABLED=y 1135 | CONFIG_ETH_USE_ESP32_EMAC=y 1136 | CONFIG_ETH_DMA_BUFFER_SIZE=512 1137 | CONFIG_ETH_DMA_RX_BUFFER_NUM=10 1138 | CONFIG_ETH_DMA_TX_BUFFER_NUM=10 1139 | # default: 1140 | # CONFIG_ETH_IRAM_OPTIMIZATION is not set 1141 | CONFIG_ETH_USE_SPI_ETHERNET=y 1142 | # CONFIG_ETH_USE_OPENETH is not set 1143 | # default: 1144 | # CONFIG_ETH_TRANSMIT_MUTEX is not set 1145 | # end of Ethernet 1146 | 1147 | # 1148 | # Event Loop Library 1149 | # 1150 | # CONFIG_ESP_EVENT_LOOP_PROFILING is not set 1151 | CONFIG_ESP_EVENT_POST_FROM_ISR=y 1152 | CONFIG_ESP_EVENT_POST_FROM_IRAM_ISR=y 1153 | # end of Event Loop Library 1154 | 1155 | # 1156 | # GDB Stub 1157 | # 1158 | # default: 1159 | CONFIG_ESP_GDBSTUB_ENABLED=y 1160 | # default: 1161 | # CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME is not set 1162 | # default: 1163 | CONFIG_ESP_GDBSTUB_SUPPORT_TASKS=y 1164 | # default: 1165 | CONFIG_ESP_GDBSTUB_MAX_TASKS=32 1166 | # end of GDB Stub 1167 | 1168 | # 1169 | # ESP HID 1170 | # 1171 | # default: 1172 | CONFIG_ESPHID_TASK_SIZE_BT=2048 1173 | # default: 1174 | CONFIG_ESPHID_TASK_SIZE_BLE=4096 1175 | # end of ESP HID 1176 | 1177 | # 1178 | # ESP HTTP client 1179 | # 1180 | CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=y 1181 | # CONFIG_ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH is not set 1182 | # default: 1183 | # CONFIG_ESP_HTTP_CLIENT_ENABLE_DIGEST_AUTH is not set 1184 | # default: 1185 | # CONFIG_ESP_HTTP_CLIENT_ENABLE_CUSTOM_TRANSPORT is not set 1186 | # default: 1187 | # CONFIG_ESP_HTTP_CLIENT_ENABLE_GET_CONTENT_RANGE is not set 1188 | # default: 1189 | CONFIG_ESP_HTTP_CLIENT_EVENT_POST_TIMEOUT=2000 1190 | # end of ESP HTTP client 1191 | 1192 | # 1193 | # HTTP Server 1194 | # 1195 | CONFIG_HTTPD_MAX_REQ_HDR_LEN=512 1196 | CONFIG_HTTPD_MAX_URI_LEN=512 1197 | CONFIG_HTTPD_ERR_RESP_NO_DELAY=y 1198 | CONFIG_HTTPD_PURGE_BUF_LEN=32 1199 | # CONFIG_HTTPD_LOG_PURGE_DATA is not set 1200 | # CONFIG_HTTPD_WS_SUPPORT is not set 1201 | # default: 1202 | # CONFIG_HTTPD_QUEUE_WORK_BLOCKING is not set 1203 | # default: 1204 | CONFIG_HTTPD_SERVER_EVENT_POST_TIMEOUT=2000 1205 | # end of HTTP Server 1206 | 1207 | # 1208 | # ESP HTTPS OTA 1209 | # 1210 | # default: 1211 | # CONFIG_ESP_HTTPS_OTA_DECRYPT_CB is not set 1212 | # default: 1213 | # CONFIG_ESP_HTTPS_OTA_ALLOW_HTTP is not set 1214 | # default: 1215 | CONFIG_ESP_HTTPS_OTA_EVENT_POST_TIMEOUT=2000 1216 | # default: 1217 | # CONFIG_ESP_HTTPS_OTA_ENABLE_PARTIAL_DOWNLOAD is not set 1218 | # end of ESP HTTPS OTA 1219 | 1220 | # 1221 | # ESP HTTPS server 1222 | # 1223 | # CONFIG_ESP_HTTPS_SERVER_ENABLE is not set 1224 | # default: 1225 | CONFIG_ESP_HTTPS_SERVER_EVENT_POST_TIMEOUT=2000 1226 | # default: 1227 | # CONFIG_ESP_HTTPS_SERVER_CERT_SELECT_HOOK is not set 1228 | # end of ESP HTTPS server 1229 | 1230 | # 1231 | # Hardware Settings 1232 | # 1233 | 1234 | # 1235 | # Chip revision 1236 | # 1237 | CONFIG_ESP32_REV_MIN_0=y 1238 | # CONFIG_ESP32_REV_MIN_1 is not set 1239 | # CONFIG_ESP32_REV_MIN_1_1 is not set 1240 | # CONFIG_ESP32_REV_MIN_2 is not set 1241 | # CONFIG_ESP32_REV_MIN_3 is not set 1242 | # CONFIG_ESP32_REV_MIN_3_1 is not set 1243 | # default: 1244 | CONFIG_ESP32_REV_MIN=0 1245 | # default: 1246 | CONFIG_ESP32_REV_MIN_FULL=0 1247 | # default: 1248 | CONFIG_ESP_REV_MIN_FULL=0 1249 | 1250 | # 1251 | # Maximum Supported ESP32 Revision (Rev v3.99) 1252 | # 1253 | # default: 1254 | CONFIG_ESP32_REV_MAX_FULL=399 1255 | # default: 1256 | CONFIG_ESP_REV_MAX_FULL=399 1257 | # default: 1258 | CONFIG_ESP_EFUSE_BLOCK_REV_MIN_FULL=0 1259 | # default: 1260 | CONFIG_ESP_EFUSE_BLOCK_REV_MAX_FULL=99 1261 | 1262 | # 1263 | # Maximum Supported ESP32 eFuse Block Revision (eFuse Block Rev v0.99) 1264 | # 1265 | # end of Chip revision 1266 | 1267 | # 1268 | # MAC Config 1269 | # 1270 | # default: 1271 | CONFIG_ESP_MAC_ADDR_UNIVERSE_WIFI_STA=y 1272 | # default: 1273 | CONFIG_ESP_MAC_ADDR_UNIVERSE_WIFI_AP=y 1274 | # default: 1275 | CONFIG_ESP_MAC_ADDR_UNIVERSE_BT=y 1276 | # default: 1277 | CONFIG_ESP_MAC_ADDR_UNIVERSE_ETH=y 1278 | # default: 1279 | CONFIG_ESP_MAC_UNIVERSAL_MAC_ADDRESSES_FOUR=y 1280 | # default: 1281 | CONFIG_ESP_MAC_UNIVERSAL_MAC_ADDRESSES=4 1282 | # CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES_TWO is not set 1283 | CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES_FOUR=y 1284 | # default: 1285 | CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES=4 1286 | # default: 1287 | # CONFIG_ESP_MAC_IGNORE_MAC_CRC_ERROR is not set 1288 | # default: 1289 | # CONFIG_ESP_MAC_USE_CUSTOM_MAC_AS_BASE_MAC is not set 1290 | # end of MAC Config 1291 | 1292 | # 1293 | # Sleep Config 1294 | # 1295 | # default: 1296 | CONFIG_ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND=y 1297 | # default: 1298 | CONFIG_ESP_SLEEP_PSRAM_LEAKAGE_WORKAROUND=y 1299 | # default: 1300 | # CONFIG_ESP_SLEEP_MSPI_NEED_ALL_IO_PU is not set 1301 | # default: 1302 | CONFIG_ESP_SLEEP_RTC_BUS_ISO_WORKAROUND=y 1303 | # default: 1304 | # CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND is not set 1305 | # default: 1306 | CONFIG_ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY=2000 1307 | # default: 1308 | # CONFIG_ESP_SLEEP_CACHE_SAFE_ASSERTION is not set 1309 | # default: 1310 | # CONFIG_ESP_SLEEP_DEBUG is not set 1311 | # default: 1312 | CONFIG_ESP_SLEEP_GPIO_ENABLE_INTERNAL_RESISTORS=y 1313 | # end of Sleep Config 1314 | 1315 | # 1316 | # RTC Clock Config 1317 | # 1318 | # default: 1319 | CONFIG_RTC_CLK_SRC_INT_RC=y 1320 | # default: 1321 | # CONFIG_RTC_CLK_SRC_EXT_CRYS is not set 1322 | # default: 1323 | # CONFIG_RTC_CLK_SRC_EXT_OSC is not set 1324 | # default: 1325 | # CONFIG_RTC_CLK_SRC_INT_8MD256 is not set 1326 | # default: 1327 | CONFIG_RTC_CLK_CAL_CYCLES=1024 1328 | # end of RTC Clock Config 1329 | 1330 | # 1331 | # Peripheral Control 1332 | # 1333 | # default: 1334 | CONFIG_ESP_PERIPH_CTRL_FUNC_IN_IRAM=y 1335 | # default: 1336 | CONFIG_ESP_REGI2C_CTRL_FUNC_IN_IRAM=y 1337 | # end of Peripheral Control 1338 | 1339 | # 1340 | # Main XTAL Config 1341 | # 1342 | # default: 1343 | # CONFIG_XTAL_FREQ_26 is not set 1344 | # default: 1345 | # CONFIG_XTAL_FREQ_32 is not set 1346 | # default: 1347 | CONFIG_XTAL_FREQ_40=y 1348 | # default: 1349 | # CONFIG_XTAL_FREQ_AUTO is not set 1350 | # default: 1351 | CONFIG_XTAL_FREQ=40 1352 | # end of Main XTAL Config 1353 | 1354 | # 1355 | # Power Supplier 1356 | # 1357 | 1358 | # 1359 | # Brownout Detector 1360 | # 1361 | # default: 1362 | CONFIG_ESP_BROWNOUT_DET=y 1363 | # default: 1364 | CONFIG_ESP_BROWNOUT_DET_LVL_SEL_0=y 1365 | # default: 1366 | # CONFIG_ESP_BROWNOUT_DET_LVL_SEL_1 is not set 1367 | # default: 1368 | # CONFIG_ESP_BROWNOUT_DET_LVL_SEL_2 is not set 1369 | # default: 1370 | # CONFIG_ESP_BROWNOUT_DET_LVL_SEL_3 is not set 1371 | # default: 1372 | # CONFIG_ESP_BROWNOUT_DET_LVL_SEL_4 is not set 1373 | # default: 1374 | # CONFIG_ESP_BROWNOUT_DET_LVL_SEL_5 is not set 1375 | # default: 1376 | # CONFIG_ESP_BROWNOUT_DET_LVL_SEL_6 is not set 1377 | # default: 1378 | # CONFIG_ESP_BROWNOUT_DET_LVL_SEL_7 is not set 1379 | # default: 1380 | CONFIG_ESP_BROWNOUT_DET_LVL=0 1381 | # default: 1382 | CONFIG_ESP_BROWNOUT_USE_INTR=y 1383 | # end of Brownout Detector 1384 | # end of Power Supplier 1385 | 1386 | # default: 1387 | CONFIG_ESP_SPI_BUS_LOCK_ISR_FUNCS_IN_IRAM=y 1388 | # default: 1389 | CONFIG_ESP_INTR_IN_IRAM=y 1390 | # end of Hardware Settings 1391 | 1392 | # 1393 | # ESP-Driver:LCD Controller Configurations 1394 | # 1395 | # default: 1396 | # CONFIG_LCD_ENABLE_DEBUG_LOG is not set 1397 | # end of ESP-Driver:LCD Controller Configurations 1398 | 1399 | # 1400 | # LibC 1401 | # 1402 | # default: 1403 | CONFIG_LIBC_NEWLIB=y 1404 | # default: 1405 | CONFIG_LIBC_MISC_IN_IRAM=y 1406 | # default: 1407 | CONFIG_LIBC_LOCKS_PLACE_IN_IRAM=y 1408 | # default: 1409 | CONFIG_LIBC_STDOUT_LINE_ENDING_CRLF=y 1410 | # default: 1411 | # CONFIG_LIBC_STDOUT_LINE_ENDING_LF is not set 1412 | # default: 1413 | # CONFIG_LIBC_STDOUT_LINE_ENDING_CR is not set 1414 | # default: 1415 | # CONFIG_LIBC_STDIN_LINE_ENDING_CRLF is not set 1416 | # default: 1417 | # CONFIG_LIBC_STDIN_LINE_ENDING_LF is not set 1418 | # default: 1419 | CONFIG_LIBC_STDIN_LINE_ENDING_CR=y 1420 | # default: 1421 | # CONFIG_LIBC_NEWLIB_NANO_FORMAT is not set 1422 | # default: 1423 | CONFIG_LIBC_TIME_SYSCALL_USE_RTC_HRT=y 1424 | # default: 1425 | # CONFIG_LIBC_TIME_SYSCALL_USE_RTC is not set 1426 | # default: 1427 | # CONFIG_LIBC_TIME_SYSCALL_USE_HRT is not set 1428 | # default: 1429 | # CONFIG_LIBC_TIME_SYSCALL_USE_NONE is not set 1430 | # default: 1431 | CONFIG_LIBC_ASSERT_BUFFER_SIZE=200 1432 | # end of LibC 1433 | 1434 | # default: 1435 | CONFIG_STDATOMIC_S32C1I_SPIRAM_WORKAROUND=y 1436 | 1437 | # 1438 | # ESP-MM: Memory Management Configurations 1439 | # 1440 | # end of ESP-MM: Memory Management Configurations 1441 | 1442 | # 1443 | # ESP NETIF Adapter 1444 | # 1445 | # default: 1446 | CONFIG_ESP_NETIF_LOST_IP_TIMER_ENABLE=y 1447 | CONFIG_ESP_NETIF_IP_LOST_TIMER_INTERVAL=120 1448 | # default: 1449 | # CONFIG_ESP_NETIF_PROVIDE_CUSTOM_IMPLEMENTATION is not set 1450 | CONFIG_ESP_NETIF_TCPIP_LWIP=y 1451 | # CONFIG_ESP_NETIF_LOOPBACK is not set 1452 | # default: 1453 | CONFIG_ESP_NETIF_USES_TCPIP_WITH_BSD_API=y 1454 | # default: 1455 | CONFIG_ESP_NETIF_REPORT_DATA_TRAFFIC=y 1456 | # default: 1457 | CONFIG_ESP_NETIF_RECEIVE_REPORT_ERRORS=y 1458 | # default: 1459 | # CONFIG_ESP_NETIF_L2_TAP is not set 1460 | # default: 1461 | # CONFIG_ESP_NETIF_BRIDGE_EN is not set 1462 | # default: 1463 | # CONFIG_ESP_NETIF_SET_DNS_PER_DEFAULT_NETIF is not set 1464 | # end of ESP NETIF Adapter 1465 | 1466 | # 1467 | # Partition API Configuration 1468 | # 1469 | # end of Partition API Configuration 1470 | 1471 | # 1472 | # PHY 1473 | # 1474 | # default: 1475 | CONFIG_ESP_PHY_ENABLED=y 1476 | # default: 1477 | CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE=y 1478 | # default: 1479 | # CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION is not set 1480 | # default: 1481 | CONFIG_ESP_PHY_MAX_WIFI_TX_POWER=20 1482 | # default: 1483 | CONFIG_ESP_PHY_MAX_TX_POWER=20 1484 | # default: 1485 | # CONFIG_ESP_PHY_REDUCE_TX_POWER is not set 1486 | # default: 1487 | # CONFIG_ESP_PHY_ENABLE_CERT_TEST is not set 1488 | # default: 1489 | CONFIG_ESP_PHY_RF_CAL_PARTIAL=y 1490 | # default: 1491 | # CONFIG_ESP_PHY_RF_CAL_NONE is not set 1492 | # default: 1493 | # CONFIG_ESP_PHY_RF_CAL_FULL is not set 1494 | # default: 1495 | CONFIG_ESP_PHY_CALIBRATION_MODE=0 1496 | # default: 1497 | CONFIG_ESP_PHY_PLL_TRACK_PERIOD_MS=1000 1498 | # default: 1499 | # CONFIG_ESP_PHY_PLL_TRACK_DEBUG is not set 1500 | # default: 1501 | # CONFIG_ESP_PHY_RECORD_USED_TIME is not set 1502 | # default: 1503 | CONFIG_ESP_PHY_IRAM_OPT=y 1504 | # default: 1505 | # CONFIG_ESP_PHY_DEBUG is not set 1506 | # end of PHY 1507 | 1508 | # 1509 | # Power Management 1510 | # 1511 | # default: 1512 | CONFIG_PM_SLEEP_FUNC_IN_IRAM=y 1513 | # CONFIG_PM_ENABLE is not set 1514 | # default: 1515 | CONFIG_PM_SLP_IRAM_OPT=y 1516 | # end of Power Management 1517 | 1518 | # 1519 | # ESP PSRAM 1520 | # 1521 | CONFIG_SPIRAM=y 1522 | 1523 | # 1524 | # SPI RAM config 1525 | # 1526 | # default: 1527 | CONFIG_SPIRAM_MODE_QUAD=y 1528 | CONFIG_SPIRAM_TYPE_AUTO=y 1529 | # CONFIG_SPIRAM_TYPE_ESPPSRAM16 is not set 1530 | # CONFIG_SPIRAM_TYPE_ESPPSRAM32 is not set 1531 | # CONFIG_SPIRAM_TYPE_ESPPSRAM64 is not set 1532 | CONFIG_SPIRAM_SPEED_40M=y 1533 | # default: 1534 | CONFIG_SPIRAM_SPEED=40 1535 | # default: 1536 | CONFIG_SPIRAM_BOOT_HW_INIT=y 1537 | CONFIG_SPIRAM_BOOT_INIT=y 1538 | # default: 1539 | CONFIG_SPIRAM_PRE_CONFIGURE_MEMORY_PROTECTION=y 1540 | # CONFIG_SPIRAM_IGNORE_NOTFOUND is not set 1541 | # CONFIG_SPIRAM_USE_MEMMAP is not set 1542 | # CONFIG_SPIRAM_USE_CAPS_ALLOC is not set 1543 | CONFIG_SPIRAM_USE_MALLOC=y 1544 | CONFIG_SPIRAM_MEMTEST=y 1545 | CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=16384 1546 | # CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP is not set 1547 | CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=32768 1548 | # CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY is not set 1549 | # default: 1550 | # CONFIG_SPIRAM_ALLOW_NOINIT_SEG_EXTERNAL_MEMORY is not set 1551 | CONFIG_SPIRAM_CACHE_WORKAROUND=y 1552 | 1553 | # 1554 | # SPIRAM cache workaround debugging 1555 | # 1556 | CONFIG_SPIRAM_CACHE_WORKAROUND_STRATEGY_MEMW=y 1557 | # CONFIG_SPIRAM_CACHE_WORKAROUND_STRATEGY_DUPLDST is not set 1558 | # CONFIG_SPIRAM_CACHE_WORKAROUND_STRATEGY_NOPS is not set 1559 | # end of SPIRAM cache workaround debugging 1560 | 1561 | # 1562 | # SPIRAM workaround libraries placement 1563 | # 1564 | # default: 1565 | CONFIG_SPIRAM_CACHE_LIBJMP_IN_IRAM=y 1566 | # default: 1567 | CONFIG_SPIRAM_CACHE_LIBMATH_IN_IRAM=y 1568 | # default: 1569 | CONFIG_SPIRAM_CACHE_LIBNUMPARSER_IN_IRAM=y 1570 | # default: 1571 | CONFIG_SPIRAM_CACHE_LIBIO_IN_IRAM=y 1572 | # default: 1573 | CONFIG_SPIRAM_CACHE_LIBTIME_IN_IRAM=y 1574 | # default: 1575 | CONFIG_SPIRAM_CACHE_LIBCHAR_IN_IRAM=y 1576 | # default: 1577 | CONFIG_SPIRAM_CACHE_LIBMEM_IN_IRAM=y 1578 | # default: 1579 | CONFIG_SPIRAM_CACHE_LIBSTR_IN_IRAM=y 1580 | # default: 1581 | CONFIG_SPIRAM_CACHE_LIBRAND_IN_IRAM=y 1582 | # default: 1583 | CONFIG_SPIRAM_CACHE_LIBENV_IN_IRAM=y 1584 | # default: 1585 | CONFIG_SPIRAM_CACHE_LIBFILE_IN_IRAM=y 1586 | # default: 1587 | CONFIG_SPIRAM_CACHE_LIBMISC_IN_IRAM=y 1588 | # end of SPIRAM workaround libraries placement 1589 | 1590 | CONFIG_SPIRAM_BANKSWITCH_ENABLE=y 1591 | CONFIG_SPIRAM_BANKSWITCH_RESERVE=8 1592 | 1593 | # 1594 | # PSRAM clock and cs IO for ESP32-DOWD 1595 | # 1596 | CONFIG_D0WD_PSRAM_CLK_IO=17 1597 | CONFIG_D0WD_PSRAM_CS_IO=16 1598 | # end of PSRAM clock and cs IO for ESP32-DOWD 1599 | 1600 | # 1601 | # PSRAM clock and cs IO for ESP32-D2WD 1602 | # 1603 | CONFIG_D2WD_PSRAM_CLK_IO=9 1604 | CONFIG_D2WD_PSRAM_CS_IO=10 1605 | # end of PSRAM clock and cs IO for ESP32-D2WD 1606 | 1607 | # 1608 | # PSRAM clock and cs IO for ESP32-PICO-D4 1609 | # 1610 | CONFIG_PICO_PSRAM_CS_IO=10 1611 | # end of PSRAM clock and cs IO for ESP32-PICO-D4 1612 | 1613 | # CONFIG_SPIRAM_CUSTOM_SPIWP_SD3_PIN is not set 1614 | CONFIG_SPIRAM_SPIWP_SD3_PIN=7 1615 | # CONFIG_SPIRAM_2T_MODE is not set 1616 | # end of SPI RAM config 1617 | # end of ESP PSRAM 1618 | 1619 | # 1620 | # ESP Ringbuf 1621 | # 1622 | # default: 1623 | # CONFIG_RINGBUF_IN_IRAM is not set 1624 | # default: 1625 | # CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH is not set 1626 | # end of ESP Ringbuf 1627 | 1628 | # 1629 | # ESP-ROM 1630 | # 1631 | # default: 1632 | CONFIG_ESP_ROM_PRINT_IN_IRAM=y 1633 | # end of ESP-ROM 1634 | 1635 | # 1636 | # ESP Security Specific 1637 | # 1638 | # end of ESP Security Specific 1639 | 1640 | # 1641 | # ESP-STDIO 1642 | # 1643 | CONFIG_ESP_CONSOLE_UART_DEFAULT=y 1644 | # CONFIG_ESP_CONSOLE_UART_CUSTOM is not set 1645 | # CONFIG_ESP_CONSOLE_NONE is not set 1646 | # default: 1647 | CONFIG_ESP_CONSOLE_UART=y 1648 | # default: 1649 | CONFIG_ESP_CONSOLE_UART_NUM=0 1650 | # default: 1651 | CONFIG_ESP_CONSOLE_ROM_SERIAL_PORT_NUM=0 1652 | CONFIG_ESP_CONSOLE_UART_BAUDRATE=115200 1653 | # end of ESP-STDIO 1654 | 1655 | # 1656 | # ESP System Settings 1657 | # 1658 | # default: 1659 | # CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_80 is not set 1660 | # default: 1661 | CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_160=y 1662 | # default: 1663 | # CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240 is not set 1664 | # default: 1665 | CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ=160 1666 | 1667 | # 1668 | # Memory 1669 | # 1670 | # CONFIG_ESP32_USE_FIXED_STATIC_RAM_SIZE is not set 1671 | 1672 | # 1673 | # Non-backward compatible options 1674 | # 1675 | # default: 1676 | # CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM is not set 1677 | # end of Non-backward compatible options 1678 | # end of Memory 1679 | 1680 | # 1681 | # Trace memory 1682 | # 1683 | # CONFIG_ESP32_TRAX is not set 1684 | # default: 1685 | CONFIG_ESP32_TRACEMEM_RESERVE_DRAM=0x0 1686 | # end of Trace memory 1687 | 1688 | # default: 1689 | CONFIG_ESP_SYSTEM_IN_IRAM=y 1690 | # CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT is not set 1691 | CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y 1692 | # CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT is not set 1693 | # CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set 1694 | # default: 1695 | CONFIG_ESP_SYSTEM_PANIC_REBOOT_DELAY_SECONDS=0 1696 | CONFIG_ESP_SYSTEM_EVENT_QUEUE_SIZE=32 1697 | CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=2304 1698 | CONFIG_ESP_MAIN_TASK_STACK_SIZE=3584 1699 | # default: 1700 | CONFIG_ESP_MAIN_TASK_AFFINITY_CPU0=y 1701 | # default: 1702 | # CONFIG_ESP_MAIN_TASK_AFFINITY_CPU1 is not set 1703 | # default: 1704 | # CONFIG_ESP_MAIN_TASK_AFFINITY_NO_AFFINITY is not set 1705 | # default: 1706 | CONFIG_ESP_MAIN_TASK_AFFINITY=0x0 1707 | CONFIG_ESP_MINIMAL_SHARED_STACK_SIZE=2048 1708 | CONFIG_ESP_INT_WDT=y 1709 | CONFIG_ESP_INT_WDT_TIMEOUT_MS=300 1710 | CONFIG_ESP_INT_WDT_CHECK_CPU1=y 1711 | # default: 1712 | CONFIG_ESP_TASK_WDT_EN=y 1713 | # default: 1714 | CONFIG_ESP_TASK_WDT_INIT=y 1715 | # CONFIG_ESP_TASK_WDT_PANIC is not set 1716 | CONFIG_ESP_TASK_WDT_TIMEOUT_S=5 1717 | CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0=y 1718 | CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1=y 1719 | # CONFIG_ESP_PANIC_HANDLER_IRAM is not set 1720 | # default: 1721 | # CONFIG_ESP_DEBUG_STUBS_ENABLE is not set 1722 | # default: 1723 | CONFIG_ESP_DEBUG_OCDAWARE=y 1724 | # default: 1725 | # CONFIG_ESP_SYSTEM_CHECK_INT_LEVEL_5 is not set 1726 | # default: 1727 | CONFIG_ESP_SYSTEM_CHECK_INT_LEVEL_4=y 1728 | # CONFIG_ESP32_DISABLE_BASIC_ROM_CONSOLE is not set 1729 | # default: 1730 | CONFIG_ESP32_ECO3_CACHE_LOCK_FIX=y 1731 | # end of ESP System Settings 1732 | 1733 | # 1734 | # IPC (Inter-Processor Call) 1735 | # 1736 | # default: 1737 | CONFIG_ESP_IPC_ENABLE=y 1738 | CONFIG_ESP_IPC_TASK_STACK_SIZE=1024 1739 | CONFIG_ESP_IPC_USES_CALLERS_PRIORITY=y 1740 | # default: 1741 | CONFIG_ESP_IPC_ISR_ENABLE=y 1742 | # end of IPC (Inter-Processor Call) 1743 | 1744 | # 1745 | # ESP Timer (High Resolution Timer) 1746 | # 1747 | # default: 1748 | CONFIG_ESP_TIMER_IN_IRAM=y 1749 | # CONFIG_ESP_TIMER_PROFILING is not set 1750 | # default: 1751 | CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER=y 1752 | # default: 1753 | CONFIG_ESP_TIME_FUNCS_USE_ESP_TIMER=y 1754 | CONFIG_ESP_TIMER_TASK_STACK_SIZE=3584 1755 | # default: 1756 | CONFIG_ESP_TIMER_INTERRUPT_LEVEL=1 1757 | # default: 1758 | # CONFIG_ESP_TIMER_SHOW_EXPERIMENTAL is not set 1759 | # default: 1760 | CONFIG_ESP_TIMER_TASK_AFFINITY=0x0 1761 | # default: 1762 | CONFIG_ESP_TIMER_TASK_AFFINITY_CPU0=y 1763 | # default: 1764 | CONFIG_ESP_TIMER_ISR_AFFINITY_CPU0=y 1765 | # default: 1766 | # CONFIG_ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD is not set 1767 | # default: 1768 | CONFIG_ESP_TIMER_IMPL_TG0_LAC=y 1769 | # end of ESP Timer (High Resolution Timer) 1770 | 1771 | # 1772 | # Wi-Fi 1773 | # 1774 | # default: 1775 | CONFIG_ESP_WIFI_ENABLED=y 1776 | # default: 1777 | CONFIG_ESP_WIFI_STATIC_RX_BUFFER_NUM=10 1778 | # default: 1779 | CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM=32 1780 | # default: 1781 | # CONFIG_ESP_WIFI_STATIC_TX_BUFFER is not set 1782 | # default: 1783 | CONFIG_ESP_WIFI_DYNAMIC_TX_BUFFER=y 1784 | # default: 1785 | CONFIG_ESP_WIFI_TX_BUFFER_TYPE=1 1786 | # default: 1787 | CONFIG_ESP_WIFI_DYNAMIC_TX_BUFFER_NUM=32 1788 | # default: 1789 | CONFIG_ESP_WIFI_STATIC_RX_MGMT_BUFFER=y 1790 | # default: 1791 | # CONFIG_ESP_WIFI_DYNAMIC_RX_MGMT_BUFFER is not set 1792 | # default: 1793 | CONFIG_ESP_WIFI_DYNAMIC_RX_MGMT_BUF=0 1794 | # default: 1795 | CONFIG_ESP_WIFI_RX_MGMT_BUF_NUM_DEF=5 1796 | # default: 1797 | # CONFIG_ESP_WIFI_CSI_ENABLED is not set 1798 | # default: 1799 | CONFIG_ESP_WIFI_AMPDU_TX_ENABLED=y 1800 | # default: 1801 | CONFIG_ESP_WIFI_TX_BA_WIN=6 1802 | # default: 1803 | CONFIG_ESP_WIFI_AMPDU_RX_ENABLED=y 1804 | # default: 1805 | CONFIG_ESP_WIFI_RX_BA_WIN=6 1806 | # default: 1807 | CONFIG_ESP_WIFI_NVS_ENABLED=y 1808 | # default: 1809 | CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_0=y 1810 | # default: 1811 | # CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1 is not set 1812 | # default: 1813 | CONFIG_ESP_WIFI_SOFTAP_BEACON_MAX_LEN=752 1814 | # default: 1815 | CONFIG_ESP_WIFI_MGMT_SBUF_NUM=32 1816 | # default: 1817 | CONFIG_ESP_WIFI_IRAM_OPT=y 1818 | # default: 1819 | # CONFIG_ESP_WIFI_EXTRA_IRAM_OPT is not set 1820 | # default: 1821 | CONFIG_ESP_WIFI_RX_IRAM_OPT=y 1822 | # default: 1823 | CONFIG_ESP_WIFI_ENABLE_WPA3_SAE=y 1824 | # default: 1825 | CONFIG_ESP_WIFI_ENABLE_SAE_H2E=y 1826 | # default: 1827 | CONFIG_ESP_WIFI_ENABLE_SAE_PK=y 1828 | # default: 1829 | CONFIG_ESP_WIFI_SOFTAP_SAE_SUPPORT=y 1830 | # default: 1831 | CONFIG_ESP_WIFI_ENABLE_WPA3_OWE_STA=y 1832 | # default: 1833 | CONFIG_ESP_WIFI_WPA3_COMPATIBLE_SUPPORT=y 1834 | # CONFIG_ESP_WIFI_SLP_IRAM_OPT is not set 1835 | # default: 1836 | CONFIG_ESP_WIFI_SLP_DEFAULT_MIN_ACTIVE_TIME=50 1837 | # default: 1838 | # CONFIG_ESP_WIFI_BSS_MAX_IDLE_SUPPORT is not set 1839 | # default: 1840 | CONFIG_ESP_WIFI_SLP_DEFAULT_MAX_ACTIVE_TIME=10 1841 | # default: 1842 | CONFIG_ESP_WIFI_SLP_DEFAULT_WAIT_BROADCAST_DATA_TIME=15 1843 | # default: 1844 | CONFIG_ESP_WIFI_STA_DISCONNECTED_PM_ENABLE=y 1845 | # default: 1846 | CONFIG_ESP_WIFI_GMAC_SUPPORT=y 1847 | # default: 1848 | CONFIG_ESP_WIFI_SOFTAP_SUPPORT=y 1849 | # default: 1850 | # CONFIG_ESP_WIFI_SLP_BEACON_LOST_OPT is not set 1851 | # default: 1852 | CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM=7 1853 | # default: 1854 | # CONFIG_ESP_WIFI_NAN_SYNC_ENABLE is not set 1855 | # default: 1856 | CONFIG_ESP_WIFI_MBEDTLS_CRYPTO=y 1857 | # default: 1858 | CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT=y 1859 | # default: 1860 | # CONFIG_ESP_WIFI_WAPI_PSK is not set 1861 | # default: 1862 | # CONFIG_ESP_WIFI_11KV_SUPPORT is not set 1863 | # default: 1864 | # CONFIG_ESP_WIFI_MBO_SUPPORT is not set 1865 | # default: 1866 | # CONFIG_ESP_WIFI_DPP_SUPPORT is not set 1867 | # default: 1868 | # CONFIG_ESP_WIFI_11R_SUPPORT is not set 1869 | # default: 1870 | # CONFIG_ESP_WIFI_WPS_SOFTAP_REGISTRAR is not set 1871 | 1872 | # 1873 | # WPS Configuration Options 1874 | # 1875 | # default: 1876 | # CONFIG_ESP_WIFI_WPS_STRICT is not set 1877 | # default: 1878 | # CONFIG_ESP_WIFI_WPS_PASSPHRASE is not set 1879 | # default: 1880 | # CONFIG_ESP_WIFI_WPS_RECONNECT_ON_FAIL is not set 1881 | # end of WPS Configuration Options 1882 | 1883 | # default: 1884 | # CONFIG_ESP_WIFI_DEBUG_PRINT is not set 1885 | # default: 1886 | CONFIG_ESP_WIFI_ENTERPRISE_SUPPORT=y 1887 | # default: 1888 | # CONFIG_ESP_WIFI_ENT_FREE_DYNAMIC_BUFFER is not set 1889 | # end of Wi-Fi 1890 | 1891 | # 1892 | # Core dump 1893 | # 1894 | # CONFIG_ESP_COREDUMP_ENABLE_TO_FLASH is not set 1895 | # CONFIG_ESP_COREDUMP_ENABLE_TO_UART is not set 1896 | CONFIG_ESP_COREDUMP_ENABLE_TO_NONE=y 1897 | # end of Core dump 1898 | 1899 | # 1900 | # FAT Filesystem support 1901 | # 1902 | # default: 1903 | CONFIG_FATFS_VOLUME_COUNT=2 1904 | CONFIG_FATFS_LFN_NONE=y 1905 | # CONFIG_FATFS_LFN_HEAP is not set 1906 | # CONFIG_FATFS_LFN_STACK is not set 1907 | # default: 1908 | # CONFIG_FATFS_SECTOR_512 is not set 1909 | # default: 1910 | CONFIG_FATFS_SECTOR_4096=y 1911 | # CONFIG_FATFS_CODEPAGE_DYNAMIC is not set 1912 | CONFIG_FATFS_CODEPAGE_437=y 1913 | # CONFIG_FATFS_CODEPAGE_720 is not set 1914 | # CONFIG_FATFS_CODEPAGE_737 is not set 1915 | # CONFIG_FATFS_CODEPAGE_771 is not set 1916 | # CONFIG_FATFS_CODEPAGE_775 is not set 1917 | # CONFIG_FATFS_CODEPAGE_850 is not set 1918 | # CONFIG_FATFS_CODEPAGE_852 is not set 1919 | # CONFIG_FATFS_CODEPAGE_855 is not set 1920 | # CONFIG_FATFS_CODEPAGE_857 is not set 1921 | # CONFIG_FATFS_CODEPAGE_860 is not set 1922 | # CONFIG_FATFS_CODEPAGE_861 is not set 1923 | # CONFIG_FATFS_CODEPAGE_862 is not set 1924 | # CONFIG_FATFS_CODEPAGE_863 is not set 1925 | # CONFIG_FATFS_CODEPAGE_864 is not set 1926 | # CONFIG_FATFS_CODEPAGE_865 is not set 1927 | # CONFIG_FATFS_CODEPAGE_866 is not set 1928 | # CONFIG_FATFS_CODEPAGE_869 is not set 1929 | # CONFIG_FATFS_CODEPAGE_932 is not set 1930 | # CONFIG_FATFS_CODEPAGE_936 is not set 1931 | # CONFIG_FATFS_CODEPAGE_949 is not set 1932 | # CONFIG_FATFS_CODEPAGE_950 is not set 1933 | # default: 1934 | CONFIG_FATFS_CODEPAGE=437 1935 | CONFIG_FATFS_FS_LOCK=0 1936 | CONFIG_FATFS_TIMEOUT_MS=10000 1937 | CONFIG_FATFS_PER_FILE_CACHE=y 1938 | CONFIG_FATFS_ALLOC_PREFER_EXTRAM=y 1939 | # CONFIG_FATFS_USE_FASTSEEK is not set 1940 | # default: 1941 | CONFIG_FATFS_USE_STRFUNC_NONE=y 1942 | # default: 1943 | # CONFIG_FATFS_USE_STRFUNC_WITHOUT_CRLF_CONV is not set 1944 | # default: 1945 | # CONFIG_FATFS_USE_STRFUNC_WITH_CRLF_CONV is not set 1946 | # default: 1947 | CONFIG_FATFS_VFS_FSTAT_BLKSIZE=0 1948 | # default: 1949 | # CONFIG_FATFS_IMMEDIATE_FSYNC is not set 1950 | # default: 1951 | # CONFIG_FATFS_USE_LABEL is not set 1952 | # default: 1953 | CONFIG_FATFS_LINK_LOCK=y 1954 | # default: 1955 | CONFIG_FATFS_USE_DYN_BUFFERS=y 1956 | 1957 | # 1958 | # File system free space calculation behavior 1959 | # 1960 | # default: 1961 | CONFIG_FATFS_DONT_TRUST_FREE_CLUSTER_CNT=0 1962 | # default: 1963 | CONFIG_FATFS_DONT_TRUST_LAST_ALLOC=0 1964 | # end of File system free space calculation behavior 1965 | # end of FAT Filesystem support 1966 | 1967 | # 1968 | # FreeRTOS 1969 | # 1970 | 1971 | # 1972 | # Kernel 1973 | # 1974 | # default: 1975 | # CONFIG_FREERTOS_SMP is not set 1976 | # CONFIG_FREERTOS_UNICORE is not set 1977 | CONFIG_FREERTOS_HZ=100 1978 | # CONFIG_FREERTOS_CHECK_STACKOVERFLOW_NONE is not set 1979 | # CONFIG_FREERTOS_CHECK_STACKOVERFLOW_PTRVAL is not set 1980 | CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY=y 1981 | CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 1982 | CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2304 1983 | # default: 1984 | # CONFIG_FREERTOS_USE_IDLE_HOOK is not set 1985 | # default: 1986 | # CONFIG_FREERTOS_USE_TICK_HOOK is not set 1987 | CONFIG_FREERTOS_MAX_TASK_NAME_LEN=16 1988 | # default: 1989 | # CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY is not set 1990 | # default: 1991 | CONFIG_FREERTOS_USE_TIMERS=y 1992 | # default: 1993 | CONFIG_FREERTOS_TIMER_SERVICE_TASK_NAME="Tmr Svc" 1994 | # default: 1995 | # CONFIG_FREERTOS_TIMER_TASK_AFFINITY_CPU0 is not set 1996 | # default: 1997 | # CONFIG_FREERTOS_TIMER_TASK_AFFINITY_CPU1 is not set 1998 | # default: 1999 | CONFIG_FREERTOS_TIMER_TASK_NO_AFFINITY=y 2000 | # default: 2001 | CONFIG_FREERTOS_TIMER_SERVICE_TASK_CORE_AFFINITY=0x7FFFFFFF 2002 | CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 2003 | CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 2004 | CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 2005 | CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 2006 | # default: 2007 | CONFIG_FREERTOS_TASK_NOTIFICATION_ARRAY_ENTRIES=1 2008 | # CONFIG_FREERTOS_USE_TRACE_FACILITY is not set 2009 | # default: 2010 | # CONFIG_FREERTOS_USE_LIST_DATA_INTEGRITY_CHECK_BYTES is not set 2011 | # CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS is not set 2012 | # default: 2013 | # CONFIG_FREERTOS_USE_APPLICATION_TASK_TAG is not set 2014 | # end of Kernel 2015 | 2016 | # 2017 | # Port 2018 | # 2019 | CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER=y 2020 | # CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is not set 2021 | # default: 2022 | CONFIG_FREERTOS_TLSP_DELETION_CALLBACKS=y 2023 | # default: 2024 | # CONFIG_FREERTOS_TASK_PRE_DELETION_HOOK is not set 2025 | CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER=y 2026 | CONFIG_FREERTOS_ISR_STACKSIZE=1536 2027 | CONFIG_FREERTOS_INTERRUPT_BACKTRACE=y 2028 | # CONFIG_FREERTOS_FPU_IN_ISR is not set 2029 | # default: 2030 | CONFIG_FREERTOS_TICK_SUPPORT_CORETIMER=y 2031 | CONFIG_FREERTOS_CORETIMER_0=y 2032 | # CONFIG_FREERTOS_CORETIMER_1 is not set 2033 | # default: 2034 | CONFIG_FREERTOS_SYSTICK_USES_CCOUNT=y 2035 | # default: 2036 | # CONFIG_FREERTOS_IN_IRAM is not set 2037 | # CONFIG_FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE is not set 2038 | # end of Port 2039 | 2040 | # 2041 | # Extra 2042 | # 2043 | # default: 2044 | # CONFIG_FREERTOS_TASK_CREATE_ALLOW_EXT_MEM is not set 2045 | # end of Extra 2046 | 2047 | # default: 2048 | CONFIG_FREERTOS_PORT=y 2049 | # default: 2050 | CONFIG_FREERTOS_NO_AFFINITY=0x7FFFFFFF 2051 | # default: 2052 | CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION=y 2053 | # default: 2054 | CONFIG_FREERTOS_DEBUG_OCDAWARE=y 2055 | # default: 2056 | CONFIG_FREERTOS_NUMBER_OF_CORES=2 2057 | # end of FreeRTOS 2058 | 2059 | # 2060 | # Hardware Abstraction Layer (HAL) and Low Level (LL) 2061 | # 2062 | # default: 2063 | CONFIG_HAL_ASSERTION_EQUALS_SYSTEM=y 2064 | # default: 2065 | # CONFIG_HAL_ASSERTION_DISABLE is not set 2066 | # default: 2067 | # CONFIG_HAL_ASSERTION_SILENT is not set 2068 | # default: 2069 | # CONFIG_HAL_ASSERTION_ENABLE is not set 2070 | # default: 2071 | CONFIG_HAL_DEFAULT_ASSERTION_LEVEL=2 2072 | # default: 2073 | CONFIG_HAL_GPIO_USE_ROM_IMPL=y 2074 | # end of Hardware Abstraction Layer (HAL) and Low Level (LL) 2075 | 2076 | # 2077 | # Heap memory debugging 2078 | # 2079 | # default: 2080 | CONFIG_HEAP_HAS_EXEC_HEAP=y 2081 | CONFIG_HEAP_POISONING_DISABLED=y 2082 | # CONFIG_HEAP_POISONING_LIGHT is not set 2083 | # CONFIG_HEAP_POISONING_COMPREHENSIVE is not set 2084 | CONFIG_HEAP_TRACING_OFF=y 2085 | # CONFIG_HEAP_TRACING_STANDALONE is not set 2086 | # CONFIG_HEAP_TRACING_TOHOST is not set 2087 | # default: 2088 | # CONFIG_HEAP_USE_HOOKS is not set 2089 | # default: 2090 | # CONFIG_HEAP_TASK_TRACKING is not set 2091 | # CONFIG_HEAP_ABORT_WHEN_ALLOCATION_FAILS is not set 2092 | # default: 2093 | # CONFIG_HEAP_PLACE_FUNCTION_INTO_FLASH is not set 2094 | # end of Heap memory debugging 2095 | 2096 | # 2097 | # Log 2098 | # 2099 | # default: 2100 | CONFIG_LOG_VERSION_1=y 2101 | # default: 2102 | # CONFIG_LOG_VERSION_2 is not set 2103 | # default: 2104 | CONFIG_LOG_VERSION=1 2105 | 2106 | # 2107 | # Log Level 2108 | # 2109 | # CONFIG_LOG_DEFAULT_LEVEL_NONE is not set 2110 | # CONFIG_LOG_DEFAULT_LEVEL_ERROR is not set 2111 | # CONFIG_LOG_DEFAULT_LEVEL_WARN is not set 2112 | CONFIG_LOG_DEFAULT_LEVEL_INFO=y 2113 | # CONFIG_LOG_DEFAULT_LEVEL_DEBUG is not set 2114 | # CONFIG_LOG_DEFAULT_LEVEL_VERBOSE is not set 2115 | # default: 2116 | CONFIG_LOG_DEFAULT_LEVEL=3 2117 | # default: 2118 | CONFIG_LOG_MAXIMUM_EQUALS_DEFAULT=y 2119 | # default: 2120 | # CONFIG_LOG_MAXIMUM_LEVEL_DEBUG is not set 2121 | # default: 2122 | # CONFIG_LOG_MAXIMUM_LEVEL_VERBOSE is not set 2123 | # default: 2124 | CONFIG_LOG_MAXIMUM_LEVEL=3 2125 | 2126 | # 2127 | # Level Settings 2128 | # 2129 | # default: 2130 | # CONFIG_LOG_MASTER_LEVEL is not set 2131 | # default: 2132 | CONFIG_LOG_DYNAMIC_LEVEL_CONTROL=y 2133 | # default: 2134 | # CONFIG_LOG_TAG_LEVEL_IMPL_NONE is not set 2135 | # default: 2136 | # CONFIG_LOG_TAG_LEVEL_IMPL_LINKED_LIST is not set 2137 | # default: 2138 | CONFIG_LOG_TAG_LEVEL_IMPL_CACHE_AND_LINKED_LIST=y 2139 | # default: 2140 | # CONFIG_LOG_TAG_LEVEL_CACHE_ARRAY is not set 2141 | # default: 2142 | CONFIG_LOG_TAG_LEVEL_CACHE_BINARY_MIN_HEAP=y 2143 | # default: 2144 | CONFIG_LOG_TAG_LEVEL_IMPL_CACHE_SIZE=31 2145 | # end of Level Settings 2146 | # end of Log Level 2147 | 2148 | # 2149 | # Format 2150 | # 2151 | CONFIG_LOG_COLORS=y 2152 | CONFIG_LOG_TIMESTAMP_SOURCE_RTOS=y 2153 | # CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM is not set 2154 | # end of Format 2155 | 2156 | # 2157 | # Settings 2158 | # 2159 | # default: 2160 | CONFIG_LOG_MODE_TEXT_EN=y 2161 | # default: 2162 | CONFIG_LOG_MODE_TEXT=y 2163 | # end of Settings 2164 | 2165 | # default: 2166 | CONFIG_LOG_IN_IRAM=y 2167 | # end of Log 2168 | 2169 | # 2170 | # LWIP 2171 | # 2172 | # default: 2173 | CONFIG_LWIP_ENABLE=y 2174 | CONFIG_LWIP_LOCAL_HOSTNAME="espressif" 2175 | # default: 2176 | CONFIG_LWIP_TCPIP_TASK_PRIO=18 2177 | # default: 2178 | # CONFIG_LWIP_TCPIP_CORE_LOCKING is not set 2179 | # default: 2180 | # CONFIG_LWIP_CHECK_THREAD_SAFETY is not set 2181 | CONFIG_LWIP_DNS_SUPPORT_MDNS_QUERIES=y 2182 | # CONFIG_LWIP_L2_TO_L3_COPY is not set 2183 | # CONFIG_LWIP_IRAM_OPTIMIZATION is not set 2184 | # default: 2185 | # CONFIG_LWIP_EXTRA_IRAM_OPTIMIZATION is not set 2186 | CONFIG_LWIP_TIMERS_ONDEMAND=y 2187 | # default: 2188 | CONFIG_LWIP_ND6=y 2189 | # default: 2190 | # CONFIG_LWIP_FORCE_ROUTER_FORWARDING is not set 2191 | CONFIG_LWIP_MAX_SOCKETS=10 2192 | # CONFIG_LWIP_USE_ONLY_LWIP_SELECT is not set 2193 | # CONFIG_LWIP_SO_LINGER is not set 2194 | CONFIG_LWIP_SO_REUSE=y 2195 | CONFIG_LWIP_SO_REUSE_RXTOALL=y 2196 | # CONFIG_LWIP_SO_RCVBUF is not set 2197 | # CONFIG_LWIP_NETBUF_RECVINFO is not set 2198 | # default: 2199 | CONFIG_LWIP_IP_DEFAULT_TTL=64 2200 | CONFIG_LWIP_IP4_FRAG=y 2201 | CONFIG_LWIP_IP6_FRAG=y 2202 | # CONFIG_LWIP_IP4_REASSEMBLY is not set 2203 | # CONFIG_LWIP_IP6_REASSEMBLY is not set 2204 | # default: 2205 | CONFIG_LWIP_IP_REASS_MAX_PBUFS=10 2206 | # default: 2207 | CONFIG_LWIP_IPV6_DUP_DETECT_ATTEMPTS=1 2208 | # CONFIG_LWIP_IP_FORWARD is not set 2209 | # CONFIG_LWIP_STATS is not set 2210 | CONFIG_LWIP_ESP_GRATUITOUS_ARP=y 2211 | CONFIG_LWIP_GARP_TMR_INTERVAL=60 2212 | # default: 2213 | CONFIG_LWIP_ESP_MLDV6_REPORT=y 2214 | # default: 2215 | CONFIG_LWIP_MLDV6_TMR_INTERVAL=40 2216 | CONFIG_LWIP_TCPIP_RECVMBOX_SIZE=32 2217 | CONFIG_LWIP_DHCP_DOES_ARP_CHECK=y 2218 | # CONFIG_LWIP_DHCP_DOES_ACD_CHECK is not set 2219 | # CONFIG_LWIP_DHCP_DOES_NOT_CHECK_OFFERED_IP is not set 2220 | # default: 2221 | # CONFIG_LWIP_DHCP_DISABLE_CLIENT_ID is not set 2222 | # default: 2223 | CONFIG_LWIP_DHCP_DISABLE_VENDOR_CLASS_ID=y 2224 | # CONFIG_LWIP_DHCP_RESTORE_LAST_IP is not set 2225 | # default: 2226 | CONFIG_LWIP_DHCP_OPTIONS_LEN=69 2227 | # default: 2228 | CONFIG_LWIP_NUM_NETIF_CLIENT_DATA=0 2229 | # default: 2230 | CONFIG_LWIP_DHCP_COARSE_TIMER_SECS=1 2231 | 2232 | # 2233 | # DHCP server 2234 | # 2235 | # default: 2236 | CONFIG_LWIP_DHCPS=y 2237 | # default: 2238 | CONFIG_LWIP_DHCPS_REPORT_CLIENT_HOSTNAME=y 2239 | CONFIG_LWIP_DHCPS_LEASE_UNIT=60 2240 | CONFIG_LWIP_DHCPS_MAX_STATION_NUM=8 2241 | # default: 2242 | CONFIG_LWIP_DHCPS_MAX_HOSTNAME_LEN=64 2243 | # default: 2244 | CONFIG_LWIP_DHCPS_STATIC_ENTRIES=y 2245 | # end of DHCP server 2246 | 2247 | # CONFIG_LWIP_AUTOIP is not set 2248 | # default: 2249 | CONFIG_LWIP_IPV4=y 2250 | # default: 2251 | CONFIG_LWIP_IPV6=y 2252 | # CONFIG_LWIP_IPV6_AUTOCONFIG is not set 2253 | # default: 2254 | CONFIG_LWIP_IPV6_NUM_ADDRESSES=3 2255 | # default: 2256 | # CONFIG_LWIP_IPV6_FORWARD is not set 2257 | # default: 2258 | # CONFIG_LWIP_NETIF_STATUS_CALLBACK is not set 2259 | # default: 2260 | # CONFIG_LWIP_NETIF_LINK_CALLBACK is not set 2261 | CONFIG_LWIP_NETIF_LOOPBACK=y 2262 | CONFIG_LWIP_LOOPBACK_MAX_PBUFS=8 2263 | 2264 | # 2265 | # TCP 2266 | # 2267 | CONFIG_LWIP_MAX_ACTIVE_TCP=16 2268 | CONFIG_LWIP_MAX_LISTENING_TCP=16 2269 | CONFIG_LWIP_TCP_HIGH_SPEED_RETRANSMISSION=y 2270 | CONFIG_LWIP_TCP_MAXRTX=12 2271 | CONFIG_LWIP_TCP_SYNMAXRTX=12 2272 | CONFIG_LWIP_TCP_MSS=1440 2273 | CONFIG_LWIP_TCP_TMR_INTERVAL=250 2274 | CONFIG_LWIP_TCP_MSL=60000 2275 | # default: 2276 | CONFIG_LWIP_TCP_FIN_WAIT_TIMEOUT=20000 2277 | CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5744 2278 | CONFIG_LWIP_TCP_WND_DEFAULT=5744 2279 | CONFIG_LWIP_TCP_RECVMBOX_SIZE=6 2280 | # default: 2281 | CONFIG_LWIP_TCP_ACCEPTMBOX_SIZE=6 2282 | CONFIG_LWIP_TCP_QUEUE_OOSEQ=y 2283 | # default: 2284 | CONFIG_LWIP_TCP_OOSEQ_TIMEOUT=6 2285 | # default: 2286 | CONFIG_LWIP_TCP_OOSEQ_MAX_PBUFS=4 2287 | # CONFIG_LWIP_TCP_SACK_OUT is not set 2288 | CONFIG_LWIP_TCP_OVERSIZE_MSS=y 2289 | # CONFIG_LWIP_TCP_OVERSIZE_QUARTER_MSS is not set 2290 | # CONFIG_LWIP_TCP_OVERSIZE_DISABLE is not set 2291 | CONFIG_LWIP_TCP_RTO_TIME=1500 2292 | # end of TCP 2293 | 2294 | # 2295 | # UDP 2296 | # 2297 | CONFIG_LWIP_MAX_UDP_PCBS=16 2298 | CONFIG_LWIP_UDP_RECVMBOX_SIZE=6 2299 | # end of UDP 2300 | 2301 | # 2302 | # Checksums 2303 | # 2304 | # CONFIG_LWIP_CHECKSUM_CHECK_IP is not set 2305 | # CONFIG_LWIP_CHECKSUM_CHECK_UDP is not set 2306 | CONFIG_LWIP_CHECKSUM_CHECK_ICMP=y 2307 | # end of Checksums 2308 | 2309 | CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=3072 2310 | CONFIG_LWIP_TCPIP_TASK_AFFINITY_NO_AFFINITY=y 2311 | # CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU0 is not set 2312 | # CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU1 is not set 2313 | # default: 2314 | CONFIG_LWIP_TCPIP_TASK_AFFINITY=0x7FFFFFFF 2315 | CONFIG_LWIP_IPV6_MEMP_NUM_ND6_QUEUE=3 2316 | CONFIG_LWIP_IPV6_ND6_NUM_NEIGHBORS=5 2317 | # default: 2318 | CONFIG_LWIP_IPV6_ND6_NUM_PREFIXES=5 2319 | # default: 2320 | CONFIG_LWIP_IPV6_ND6_NUM_ROUTERS=3 2321 | # default: 2322 | CONFIG_LWIP_IPV6_ND6_NUM_DESTINATIONS=10 2323 | # default: 2324 | # CONFIG_LWIP_IPV6_ND6_ROUTE_INFO_OPTION_SUPPORT is not set 2325 | # CONFIG_LWIP_PPP_SUPPORT is not set 2326 | # CONFIG_LWIP_SLIP_SUPPORT is not set 2327 | 2328 | # 2329 | # ICMP 2330 | # 2331 | # default: 2332 | CONFIG_LWIP_ICMP=y 2333 | # CONFIG_LWIP_MULTICAST_PING is not set 2334 | # CONFIG_LWIP_BROADCAST_PING is not set 2335 | # end of ICMP 2336 | 2337 | # 2338 | # LWIP RAW API 2339 | # 2340 | CONFIG_LWIP_MAX_RAW_PCBS=16 2341 | # end of LWIP RAW API 2342 | 2343 | # 2344 | # SNTP 2345 | # 2346 | # default: 2347 | CONFIG_LWIP_SNTP_MAX_SERVERS=1 2348 | # default: 2349 | # CONFIG_LWIP_DHCP_GET_NTP_SRV is not set 2350 | CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000 2351 | # default: 2352 | CONFIG_LWIP_SNTP_STARTUP_DELAY=y 2353 | # default: 2354 | CONFIG_LWIP_SNTP_MAXIMUM_STARTUP_DELAY=5000 2355 | # end of SNTP 2356 | 2357 | # 2358 | # DNS 2359 | # 2360 | # default: 2361 | CONFIG_LWIP_DNS_MAX_HOST_IP=1 2362 | # default: 2363 | CONFIG_LWIP_DNS_MAX_SERVERS=3 2364 | # default: 2365 | # CONFIG_LWIP_FALLBACK_DNS_SERVER_SUPPORT is not set 2366 | # default: 2367 | # CONFIG_LWIP_DNS_SETSERVER_WITH_NETIF is not set 2368 | # default: 2369 | # CONFIG_LWIP_USE_ESP_GETADDRINFO is not set 2370 | # end of DNS 2371 | 2372 | # default: 2373 | CONFIG_LWIP_BRIDGEIF_MAX_PORTS=7 2374 | CONFIG_LWIP_ESP_LWIP_ASSERT=y 2375 | 2376 | # 2377 | # Hooks 2378 | # 2379 | # CONFIG_LWIP_HOOK_TCP_ISN_NONE is not set 2380 | CONFIG_LWIP_HOOK_TCP_ISN_DEFAULT=y 2381 | # CONFIG_LWIP_HOOK_TCP_ISN_CUSTOM is not set 2382 | CONFIG_LWIP_HOOK_IP6_ROUTE_NONE=y 2383 | # CONFIG_LWIP_HOOK_IP6_ROUTE_DEFAULT is not set 2384 | # CONFIG_LWIP_HOOK_IP6_ROUTE_CUSTOM is not set 2385 | # default: 2386 | CONFIG_LWIP_HOOK_ND6_GET_GW_NONE=y 2387 | # default: 2388 | # CONFIG_LWIP_HOOK_ND6_GET_GW_DEFAULT is not set 2389 | # default: 2390 | # CONFIG_LWIP_HOOK_ND6_GET_GW_CUSTOM is not set 2391 | # default: 2392 | CONFIG_LWIP_HOOK_IP6_SELECT_SRC_ADDR_NONE=y 2393 | # default: 2394 | # CONFIG_LWIP_HOOK_IP6_SELECT_SRC_ADDR_DEFAULT is not set 2395 | # default: 2396 | # CONFIG_LWIP_HOOK_IP6_SELECT_SRC_ADDR_CUSTOM is not set 2397 | # default: 2398 | CONFIG_LWIP_HOOK_DHCP_EXTRA_OPTION_NONE=y 2399 | # default: 2400 | # CONFIG_LWIP_HOOK_DHCP_EXTRA_OPTION_DEFAULT is not set 2401 | # default: 2402 | # CONFIG_LWIP_HOOK_DHCP_EXTRA_OPTION_CUSTOM is not set 2403 | CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_NONE=y 2404 | # CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_DEFAULT is not set 2405 | # CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_CUSTOM is not set 2406 | # default: 2407 | CONFIG_LWIP_HOOK_DNS_EXT_RESOLVE_NONE=y 2408 | # default: 2409 | # CONFIG_LWIP_HOOK_DNS_EXT_RESOLVE_CUSTOM is not set 2410 | # default: 2411 | # CONFIG_LWIP_HOOK_IP6_INPUT_NONE is not set 2412 | # default: 2413 | CONFIG_LWIP_HOOK_IP6_INPUT_DEFAULT=y 2414 | # default: 2415 | # CONFIG_LWIP_HOOK_IP6_INPUT_CUSTOM is not set 2416 | # end of Hooks 2417 | 2418 | # default: 2419 | # CONFIG_LWIP_DEBUG is not set 2420 | # end of LWIP 2421 | 2422 | # 2423 | # mbedTLS 2424 | # 2425 | 2426 | # 2427 | # Core Configuration 2428 | # 2429 | # default: 2430 | CONFIG_MBEDTLS_COMPILER_OPTIMIZATION_NONE=y 2431 | # default: 2432 | # CONFIG_MBEDTLS_COMPILER_OPTIMIZATION_SIZE is not set 2433 | # default: 2434 | # CONFIG_MBEDTLS_COMPILER_OPTIMIZATION_PERF is not set 2435 | # default: 2436 | CONFIG_MBEDTLS_FS_IO=y 2437 | # CONFIG_MBEDTLS_THREADING_C is not set 2438 | # default: 2439 | CONFIG_MBEDTLS_ERROR_STRINGS=y 2440 | # default: 2441 | CONFIG_MBEDTLS_VERSION_C=y 2442 | CONFIG_MBEDTLS_HAVE_TIME=y 2443 | # default: 2444 | # CONFIG_MBEDTLS_PLATFORM_TIME_ALT is not set 2445 | # CONFIG_MBEDTLS_HAVE_TIME_DATE is not set 2446 | CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC=y 2447 | # CONFIG_MBEDTLS_EXTERNAL_MEM_ALLOC is not set 2448 | # CONFIG_MBEDTLS_DEFAULT_MEM_ALLOC is not set 2449 | # CONFIG_MBEDTLS_CUSTOM_MEM_ALLOC is not set 2450 | CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y 2451 | CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=16384 2452 | CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=4096 2453 | # CONFIG_MBEDTLS_DYNAMIC_BUFFER is not set 2454 | # default: 2455 | # CONFIG_MBEDTLS_VERSION_FEATURES is not set 2456 | # CONFIG_MBEDTLS_DEBUG is not set 2457 | # default: 2458 | CONFIG_MBEDTLS_SELF_TEST=y 2459 | # end of Core Configuration 2460 | 2461 | # 2462 | # Certificates 2463 | # 2464 | # default: 2465 | CONFIG_MBEDTLS_X509_USE_C=y 2466 | CONFIG_MBEDTLS_PEM_PARSE_C=y 2467 | CONFIG_MBEDTLS_PEM_WRITE_C=y 2468 | # default: 2469 | CONFIG_MBEDTLS_PK_C=y 2470 | # default: 2471 | CONFIG_MBEDTLS_PK_PARSE_C=y 2472 | # default: 2473 | CONFIG_MBEDTLS_PK_WRITE_C=y 2474 | # default: 2475 | # CONFIG_MBEDTLS_X509_REMOVE_INFO is not set 2476 | CONFIG_MBEDTLS_X509_CRL_PARSE_C=y 2477 | # default: 2478 | CONFIG_MBEDTLS_X509_CRT_PARSE_C=y 2479 | CONFIG_MBEDTLS_X509_CSR_PARSE_C=y 2480 | # default: 2481 | # CONFIG_MBEDTLS_X509_CREATE_C is not set 2482 | # default: 2483 | CONFIG_MBEDTLS_X509_RSASSA_PSS_SUPPORT=y 2484 | # default: 2485 | # CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK is not set 2486 | # default: 2487 | CONFIG_MBEDTLS_ASN1_PARSE_C=y 2488 | # default: 2489 | CONFIG_MBEDTLS_ASN1_WRITE_C=y 2490 | # default: 2491 | CONFIG_MBEDTLS_OID_C=y 2492 | CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=y 2493 | 2494 | # 2495 | # Certificate Bundle Configuration 2496 | # 2497 | CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_FULL=y 2498 | # CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_CMN is not set 2499 | # CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_NONE is not set 2500 | # CONFIG_MBEDTLS_CUSTOM_CERTIFICATE_BUNDLE is not set 2501 | # default: 2502 | # CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEPRECATED_LIST is not set 2503 | # default: 2504 | CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_MAX_CERTS=200 2505 | # end of Certificate Bundle Configuration 2506 | 2507 | # default: 2508 | # CONFIG_MBEDTLS_ALLOW_WEAK_CERTIFICATE_VERIFICATION is not set 2509 | # default: 2510 | # CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_CROSS_SIGNED_VERIFY is not set 2511 | # end of Certificates 2512 | 2513 | CONFIG_MBEDTLS_TLS_ENABLED=y 2514 | 2515 | # 2516 | # TLS Protocol Configuration 2517 | # 2518 | CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=y 2519 | # default: 2520 | # CONFIG_MBEDTLS_SSL_PROTO_TLS1_3 is not set 2521 | # default: 2522 | # CONFIG_MBEDTLS_SSL_PROTO_GMTSSL1_1 is not set 2523 | # default: 2524 | CONFIG_MBEDTLS_TLS_SERVER=y 2525 | # default: 2526 | CONFIG_MBEDTLS_TLS_CLIENT=y 2527 | CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT=y 2528 | # CONFIG_MBEDTLS_TLS_SERVER_ONLY is not set 2529 | # CONFIG_MBEDTLS_TLS_CLIENT_ONLY is not set 2530 | # CONFIG_MBEDTLS_TLS_DISABLED is not set 2531 | # default: 2532 | # CONFIG_MBEDTLS_SSL_KEEP_PEER_CERTIFICATE is not set 2533 | # default: 2534 | # CONFIG_MBEDTLS_SSL_CONTEXT_SERIALIZATION is not set 2535 | # default: 2536 | CONFIG_MBEDTLS_SSL_CACHE_C=y 2537 | # default: 2538 | CONFIG_MBEDTLS_SSL_ALL_ALERT_MESSAGES=y 2539 | 2540 | # 2541 | # TLS Key Exchange Configuration 2542 | # 2543 | # CONFIG_MBEDTLS_PSK_MODES is not set 2544 | CONFIG_MBEDTLS_KEY_EXCHANGE_RSA=y 2545 | CONFIG_MBEDTLS_KEY_EXCHANGE_DHE_RSA=y 2546 | CONFIG_MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE=y 2547 | CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA=y 2548 | CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA=y 2549 | CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA=y 2550 | CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA=y 2551 | # end of TLS Key Exchange Configuration 2552 | 2553 | # default: 2554 | CONFIG_MBEDTLS_SSL_SERVER_NAME_INDICATION=y 2555 | CONFIG_MBEDTLS_SSL_ALPN=y 2556 | # default: 2557 | CONFIG_MBEDTLS_SSL_MAX_FRAGMENT_LENGTH=y 2558 | # default: 2559 | # CONFIG_MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH is not set 2560 | CONFIG_MBEDTLS_SSL_RENEGOTIATION=y 2561 | CONFIG_MBEDTLS_CLIENT_SSL_SESSION_TICKETS=y 2562 | CONFIG_MBEDTLS_SERVER_SSL_SESSION_TICKETS=y 2563 | # default: 2564 | # CONFIG_MBEDTLS_SSL_KEYING_MATERIAL_EXPORT is not set 2565 | # end of TLS Protocol Configuration 2566 | 2567 | # CONFIG_MBEDTLS_SSL_PROTO_DTLS is not set 2568 | # default: 2569 | CONFIG_MBEDTLS_CIPHER_C=y 2570 | 2571 | # 2572 | # Symmetric Ciphers 2573 | # 2574 | CONFIG_MBEDTLS_AES_C=y 2575 | # CONFIG_MBEDTLS_CAMELLIA_C is not set 2576 | # default: 2577 | CONFIG_MBEDTLS_ARIA_C=y 2578 | # CONFIG_MBEDTLS_DES_C is not set 2579 | # CONFIG_MBEDTLS_BLOWFISH_C is not set 2580 | # CONFIG_MBEDTLS_XTEA_C is not set 2581 | CONFIG_MBEDTLS_CCM_C=y 2582 | # default: 2583 | CONFIG_MBEDTLS_CIPHER_MODE_CBC=y 2584 | # default: 2585 | CONFIG_MBEDTLS_CIPHER_MODE_CFB=y 2586 | # default: 2587 | CONFIG_MBEDTLS_CIPHER_MODE_CTR=y 2588 | # default: 2589 | CONFIG_MBEDTLS_CIPHER_MODE_OFB=y 2590 | # default: 2591 | CONFIG_MBEDTLS_CIPHER_MODE_XTS=y 2592 | CONFIG_MBEDTLS_GCM_C=y 2593 | # default: 2594 | # CONFIG_MBEDTLS_NIST_KW_C is not set 2595 | # default: 2596 | CONFIG_MBEDTLS_CIPHER_PADDING=y 2597 | # default: 2598 | CONFIG_MBEDTLS_CIPHER_PADDING_PKCS7=y 2599 | # default: 2600 | CONFIG_MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS=y 2601 | # default: 2602 | CONFIG_MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN=y 2603 | # default: 2604 | CONFIG_MBEDTLS_CIPHER_PADDING_ZEROS=y 2605 | # default: 2606 | CONFIG_MBEDTLS_AES_ROM_TABLES=y 2607 | # default: 2608 | # CONFIG_MBEDTLS_AES_FEWER_TABLES is not set 2609 | # default: 2610 | # CONFIG_MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH is not set 2611 | CONFIG_MBEDTLS_CMAC_C=y 2612 | # end of Symmetric Ciphers 2613 | 2614 | # 2615 | # Asymmetric Ciphers 2616 | # 2617 | # default: 2618 | CONFIG_MBEDTLS_BIGNUM_C=y 2619 | # default: 2620 | CONFIG_MBEDTLS_GENPRIME=y 2621 | # default: 2622 | CONFIG_MBEDTLS_RSA_C=y 2623 | CONFIG_MBEDTLS_ECP_C=y 2624 | 2625 | # 2626 | # Supported Curves 2627 | # 2628 | CONFIG_MBEDTLS_ECP_DP_SECP192R1_ENABLED=y 2629 | CONFIG_MBEDTLS_ECP_DP_SECP224R1_ENABLED=y 2630 | CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED=y 2631 | CONFIG_MBEDTLS_ECP_DP_SECP384R1_ENABLED=y 2632 | CONFIG_MBEDTLS_ECP_DP_SECP521R1_ENABLED=y 2633 | CONFIG_MBEDTLS_ECP_DP_SECP192K1_ENABLED=y 2634 | CONFIG_MBEDTLS_ECP_DP_SECP224K1_ENABLED=y 2635 | CONFIG_MBEDTLS_ECP_DP_SECP256K1_ENABLED=y 2636 | CONFIG_MBEDTLS_ECP_DP_BP256R1_ENABLED=y 2637 | CONFIG_MBEDTLS_ECP_DP_BP384R1_ENABLED=y 2638 | CONFIG_MBEDTLS_ECP_DP_BP512R1_ENABLED=y 2639 | CONFIG_MBEDTLS_ECP_DP_CURVE25519_ENABLED=y 2640 | # end of Supported Curves 2641 | 2642 | # 2643 | # Elliptic Curve Ciphers Configuration 2644 | # 2645 | CONFIG_MBEDTLS_ECP_NIST_OPTIM=y 2646 | # default: 2647 | # CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM is not set 2648 | # default: 2649 | CONFIG_MBEDTLS_DHM_C=y 2650 | CONFIG_MBEDTLS_ECDH_C=y 2651 | # CONFIG_MBEDTLS_ECJPAKE_C is not set 2652 | CONFIG_MBEDTLS_ECDSA_C=y 2653 | # default: 2654 | CONFIG_MBEDTLS_PK_PARSE_EC_EXTENDED=y 2655 | # default: 2656 | CONFIG_MBEDTLS_PK_PARSE_EC_COMPRESSED=y 2657 | CONFIG_MBEDTLS_ECDSA_DETERMINISTIC=y 2658 | # CONFIG_MBEDTLS_ECP_RESTARTABLE is not set 2659 | # end of Elliptic Curve Ciphers Configuration 2660 | # end of Asymmetric Ciphers 2661 | 2662 | # 2663 | # Hash functions 2664 | # 2665 | # CONFIG_MBEDTLS_HKDF_C is not set 2666 | # CONFIG_MBEDTLS_POLY1305_C is not set 2667 | # CONFIG_MBEDTLS_RIPEMD160_C is not set 2668 | # default: 2669 | CONFIG_MBEDTLS_MD_C=y 2670 | # default: 2671 | CONFIG_MBEDTLS_MD5_C=y 2672 | # default: 2673 | CONFIG_MBEDTLS_SHA1_C=y 2674 | # default: 2675 | # CONFIG_MBEDTLS_SHA224_C is not set 2676 | # default: 2677 | CONFIG_MBEDTLS_SHA256_C=y 2678 | # default: 2679 | CONFIG_MBEDTLS_SHA384_C=y 2680 | CONFIG_MBEDTLS_SHA512_C=y 2681 | # default: 2682 | CONFIG_MBEDTLS_SHA3_C=y 2683 | # default: 2684 | CONFIG_MBEDTLS_ROM_MD5=y 2685 | # end of Hash functions 2686 | 2687 | # 2688 | # Hardware Acceleration 2689 | # 2690 | CONFIG_MBEDTLS_HARDWARE_SHA=y 2691 | CONFIG_MBEDTLS_HARDWARE_MPI=y 2692 | # CONFIG_MBEDTLS_LARGE_KEY_SOFTWARE_MPI is not set 2693 | CONFIG_MBEDTLS_HARDWARE_AES=y 2694 | # default: 2695 | CONFIG_MBEDTLS_GCM_SUPPORT_NON_AES_CIPHER=y 2696 | # default: 2697 | CONFIG_MBEDTLS_PK_RSA_ALT_SUPPORT=y 2698 | # CONFIG_MBEDTLS_ATCA_HW_ECDSA_SIGN is not set 2699 | # CONFIG_MBEDTLS_ATCA_HW_ECDSA_VERIFY is not set 2700 | # end of Hardware Acceleration 2701 | 2702 | # 2703 | # Entropy and Random Number Generation 2704 | # 2705 | # default: 2706 | CONFIG_MBEDTLS_ENTROPY_C=y 2707 | # default: 2708 | # CONFIG_MBEDTLS_ENTROPY_FORCE_SHA256 is not set 2709 | # default: 2710 | CONFIG_MBEDTLS_CTR_DRBG_C=y 2711 | # default: 2712 | CONFIG_MBEDTLS_HMAC_DRBG_C=y 2713 | # end of Entropy and Random Number Generation 2714 | 2715 | # 2716 | # Encoding/Decoding 2717 | # 2718 | # default: 2719 | CONFIG_MBEDTLS_BASE64_C=y 2720 | # default: 2721 | CONFIG_MBEDTLS_PKCS5_C=y 2722 | # default: 2723 | CONFIG_MBEDTLS_PKCS7_C=y 2724 | # default: 2725 | CONFIG_MBEDTLS_PKCS12_C=y 2726 | # default: 2727 | CONFIG_MBEDTLS_PKCS1_V15=y 2728 | # default: 2729 | CONFIG_MBEDTLS_PKCS1_V21=y 2730 | # end of Encoding/Decoding 2731 | 2732 | # 2733 | # Stream Cipher 2734 | # 2735 | # CONFIG_MBEDTLS_CHACHA20_C is not set 2736 | # end of Stream Cipher 2737 | # end of mbedTLS 2738 | 2739 | # 2740 | # ESP-MQTT Configurations 2741 | # 2742 | CONFIG_MQTT_PROTOCOL_311=y 2743 | # default: 2744 | # CONFIG_MQTT_PROTOCOL_5 is not set 2745 | CONFIG_MQTT_TRANSPORT_SSL=y 2746 | CONFIG_MQTT_TRANSPORT_WEBSOCKET=y 2747 | CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE=y 2748 | # CONFIG_MQTT_MSG_ID_INCREMENTAL is not set 2749 | # CONFIG_MQTT_SKIP_PUBLISH_IF_DISCONNECTED is not set 2750 | # CONFIG_MQTT_REPORT_DELETED_MESSAGES is not set 2751 | # CONFIG_MQTT_USE_CUSTOM_CONFIG is not set 2752 | # CONFIG_MQTT_TASK_CORE_SELECTION_ENABLED is not set 2753 | # CONFIG_MQTT_CUSTOM_OUTBOX is not set 2754 | # end of ESP-MQTT Configurations 2755 | 2756 | # 2757 | # NVS 2758 | # 2759 | # default: 2760 | # CONFIG_NVS_ASSERT_ERROR_CHECK is not set 2761 | # default: 2762 | # CONFIG_NVS_LEGACY_DUP_KEYS_COMPATIBILITY is not set 2763 | # default: 2764 | # CONFIG_NVS_ALLOCATE_CACHE_IN_SPIRAM is not set 2765 | # end of NVS 2766 | 2767 | # 2768 | # OpenThread 2769 | # 2770 | # default: 2771 | # CONFIG_OPENTHREAD_ENABLED is not set 2772 | 2773 | # 2774 | # Thread Console 2775 | # 2776 | # default: 2777 | CONFIG_OPENTHREAD_CLI=y 2778 | # default: 2779 | CONFIG_OPENTHREAD_CONSOLE_COMMAND_PREFIX="ot" 2780 | # end of Thread Console 2781 | 2782 | # 2783 | # OpenThread Spinel 2784 | # 2785 | # default: 2786 | # CONFIG_OPENTHREAD_SPINEL_ONLY is not set 2787 | # end of OpenThread Spinel 2788 | 2789 | # default: 2790 | # CONFIG_OPENTHREAD_DEBUG is not set 2791 | # end of OpenThread 2792 | 2793 | # 2794 | # Protocomm 2795 | # 2796 | # default: 2797 | # CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_0 is not set 2798 | # default: 2799 | # CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_1 is not set 2800 | # default: 2801 | CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2=y 2802 | # default: 2803 | CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_PATCH_VERSION=y 2804 | # end of Protocomm 2805 | 2806 | # 2807 | # PThreads 2808 | # 2809 | CONFIG_PTHREAD_TASK_PRIO_DEFAULT=5 2810 | CONFIG_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072 2811 | CONFIG_PTHREAD_STACK_MIN=768 2812 | CONFIG_PTHREAD_DEFAULT_CORE_NO_AFFINITY=y 2813 | # CONFIG_PTHREAD_DEFAULT_CORE_0 is not set 2814 | # CONFIG_PTHREAD_DEFAULT_CORE_1 is not set 2815 | # default: 2816 | CONFIG_PTHREAD_TASK_CORE_DEFAULT=-1 2817 | CONFIG_PTHREAD_TASK_NAME_DEFAULT="pthread" 2818 | # end of PThreads 2819 | 2820 | # 2821 | # SD Protocol Layer Configuration 2822 | # 2823 | # default: 2824 | CONFIG_SD_ENABLE_SDIO_SUPPORT=y 2825 | # end of SD Protocol Layer Configuration 2826 | 2827 | # 2828 | # MMU Config 2829 | # 2830 | # default: 2831 | CONFIG_MMU_PAGE_SIZE_64KB=y 2832 | # default: 2833 | CONFIG_MMU_PAGE_MODE="64KB" 2834 | # default: 2835 | CONFIG_MMU_PAGE_SIZE=0x10000 2836 | # end of MMU Config 2837 | 2838 | # 2839 | # Main Flash configuration 2840 | # 2841 | 2842 | # 2843 | # SPI Flash behavior when brownout 2844 | # 2845 | # default: 2846 | CONFIG_SPI_FLASH_BROWNOUT_RESET_XMC=y 2847 | # default: 2848 | CONFIG_SPI_FLASH_BROWNOUT_RESET=y 2849 | # end of SPI Flash behavior when brownout 2850 | 2851 | # 2852 | # Optional and Experimental Features (READ DOCS FIRST) 2853 | # 2854 | 2855 | # 2856 | # Features here require specific hardware (READ DOCS FIRST!) 2857 | # 2858 | # default: 2859 | CONFIG_SPI_FLASH_SUSPEND_TSUS_VAL_US=50 2860 | # default: 2861 | # CONFIG_SPI_FLASH_FORCE_ENABLE_XMC_C_SUSPEND is not set 2862 | # default: 2863 | # CONFIG_SPI_FLASH_FORCE_ENABLE_C6_H2_SUSPEND is not set 2864 | # default: 2865 | CONFIG_SPI_FLASH_PLACE_FUNCTIONS_IN_IRAM=y 2866 | # end of Optional and Experimental Features (READ DOCS FIRST) 2867 | # end of Main Flash configuration 2868 | 2869 | # 2870 | # SPI Flash driver 2871 | # 2872 | # CONFIG_SPI_FLASH_VERIFY_WRITE is not set 2873 | # CONFIG_SPI_FLASH_ENABLE_COUNTERS is not set 2874 | CONFIG_SPI_FLASH_DANGEROUS_WRITE_ABORTS=y 2875 | # CONFIG_SPI_FLASH_DANGEROUS_WRITE_FAILS is not set 2876 | # CONFIG_SPI_FLASH_DANGEROUS_WRITE_ALLOWED is not set 2877 | # CONFIG_SPI_FLASH_SHARE_SPI1_BUS is not set 2878 | # CONFIG_SPI_FLASH_BYPASS_BLOCK_ERASE is not set 2879 | CONFIG_SPI_FLASH_YIELD_DURING_ERASE=y 2880 | CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS=20 2881 | CONFIG_SPI_FLASH_ERASE_YIELD_TICKS=1 2882 | CONFIG_SPI_FLASH_WRITE_CHUNK_SIZE=8192 2883 | # CONFIG_SPI_FLASH_SIZE_OVERRIDE is not set 2884 | # CONFIG_SPI_FLASH_CHECK_ERASE_TIMEOUT_DISABLED is not set 2885 | # default: 2886 | # CONFIG_SPI_FLASH_OVERRIDE_CHIP_DRIVER_LIST is not set 2887 | 2888 | # 2889 | # Auto-detect flash chips 2890 | # 2891 | # default: 2892 | CONFIG_SPI_FLASH_VENDOR_XMC_SUPPORT_ENABLED=y 2893 | # default: 2894 | CONFIG_SPI_FLASH_VENDOR_GD_SUPPORT_ENABLED=y 2895 | # default: 2896 | CONFIG_SPI_FLASH_VENDOR_ISSI_SUPPORT_ENABLED=y 2897 | # default: 2898 | CONFIG_SPI_FLASH_VENDOR_MXIC_SUPPORT_ENABLED=y 2899 | # default: 2900 | CONFIG_SPI_FLASH_VENDOR_WINBOND_SUPPORT_ENABLED=y 2901 | CONFIG_SPI_FLASH_SUPPORT_ISSI_CHIP=y 2902 | CONFIG_SPI_FLASH_SUPPORT_MXIC_CHIP=y 2903 | CONFIG_SPI_FLASH_SUPPORT_GD_CHIP=y 2904 | CONFIG_SPI_FLASH_SUPPORT_WINBOND_CHIP=y 2905 | # default: 2906 | # CONFIG_SPI_FLASH_SUPPORT_BOYA_CHIP is not set 2907 | # default: 2908 | # CONFIG_SPI_FLASH_SUPPORT_TH_CHIP is not set 2909 | # end of Auto-detect flash chips 2910 | 2911 | CONFIG_SPI_FLASH_ENABLE_ENCRYPTED_READ_WRITE=y 2912 | # end of SPI Flash driver 2913 | 2914 | # 2915 | # SPIFFS Configuration 2916 | # 2917 | CONFIG_SPIFFS_MAX_PARTITIONS=3 2918 | 2919 | # 2920 | # SPIFFS Cache Configuration 2921 | # 2922 | CONFIG_SPIFFS_CACHE=y 2923 | CONFIG_SPIFFS_CACHE_WR=y 2924 | # CONFIG_SPIFFS_CACHE_STATS is not set 2925 | # end of SPIFFS Cache Configuration 2926 | 2927 | CONFIG_SPIFFS_PAGE_CHECK=y 2928 | CONFIG_SPIFFS_GC_MAX_RUNS=10 2929 | # CONFIG_SPIFFS_GC_STATS is not set 2930 | CONFIG_SPIFFS_PAGE_SIZE=256 2931 | CONFIG_SPIFFS_OBJ_NAME_LEN=32 2932 | # CONFIG_SPIFFS_FOLLOW_SYMLINKS is not set 2933 | CONFIG_SPIFFS_USE_MAGIC=y 2934 | CONFIG_SPIFFS_USE_MAGIC_LENGTH=y 2935 | CONFIG_SPIFFS_META_LENGTH=4 2936 | CONFIG_SPIFFS_USE_MTIME=y 2937 | 2938 | # 2939 | # Debug Configuration 2940 | # 2941 | # CONFIG_SPIFFS_DBG is not set 2942 | # CONFIG_SPIFFS_API_DBG is not set 2943 | # CONFIG_SPIFFS_GC_DBG is not set 2944 | # CONFIG_SPIFFS_CACHE_DBG is not set 2945 | # CONFIG_SPIFFS_CHECK_DBG is not set 2946 | # CONFIG_SPIFFS_TEST_VISUALISATION is not set 2947 | # end of Debug Configuration 2948 | # end of SPIFFS Configuration 2949 | 2950 | # 2951 | # TCP Transport 2952 | # 2953 | 2954 | # 2955 | # Websocket 2956 | # 2957 | # default: 2958 | CONFIG_WS_TRANSPORT=y 2959 | CONFIG_WS_BUFFER_SIZE=1024 2960 | # default: 2961 | # CONFIG_WS_DYNAMIC_BUFFER is not set 2962 | # end of Websocket 2963 | # end of TCP Transport 2964 | 2965 | # 2966 | # Ultra Low Power (ULP) Co-processor 2967 | # 2968 | # CONFIG_ULP_COPROC_ENABLED is not set 2969 | 2970 | # 2971 | # ULP Debugging Options 2972 | # 2973 | # end of ULP Debugging Options 2974 | # end of Ultra Low Power (ULP) Co-processor 2975 | 2976 | # 2977 | # Unity unit testing library 2978 | # 2979 | CONFIG_UNITY_ENABLE_FLOAT=y 2980 | CONFIG_UNITY_ENABLE_DOUBLE=y 2981 | # default: 2982 | # CONFIG_UNITY_ENABLE_64BIT is not set 2983 | # CONFIG_UNITY_ENABLE_COLOR is not set 2984 | CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER=y 2985 | # CONFIG_UNITY_ENABLE_FIXTURE is not set 2986 | # CONFIG_UNITY_ENABLE_BACKTRACE_ON_FAIL is not set 2987 | # end of Unity unit testing library 2988 | 2989 | # 2990 | # Virtual file system 2991 | # 2992 | CONFIG_VFS_SUPPORT_IO=y 2993 | CONFIG_VFS_SUPPORT_DIR=y 2994 | CONFIG_VFS_SUPPORT_SELECT=y 2995 | CONFIG_VFS_SUPPRESS_SELECT_DEBUG_OUTPUT=y 2996 | # default: 2997 | # CONFIG_VFS_SELECT_IN_RAM is not set 2998 | CONFIG_VFS_SUPPORT_TERMIOS=y 2999 | # default: 3000 | CONFIG_VFS_MAX_COUNT=8 3001 | 3002 | # 3003 | # Host File System I/O (Semihosting) 3004 | # 3005 | CONFIG_VFS_SEMIHOSTFS_MAX_MOUNT_POINTS=1 3006 | # end of Host File System I/O (Semihosting) 3007 | 3008 | # default: 3009 | CONFIG_VFS_INITIALIZE_DEV_NULL=y 3010 | # end of Virtual file system 3011 | 3012 | # 3013 | # Wear Levelling 3014 | # 3015 | # CONFIG_WL_SECTOR_SIZE_512 is not set 3016 | CONFIG_WL_SECTOR_SIZE_4096=y 3017 | # default: 3018 | CONFIG_WL_SECTOR_SIZE=4096 3019 | # end of Wear Levelling 3020 | # end of Component config 3021 | 3022 | # default: 3023 | # CONFIG_IDF_EXPERIMENTAL_FEATURES is not set 3024 | 3025 | # Deprecated options for backward compatibility 3026 | # CONFIG_APP_BUILD_TYPE_ELF_RAM is not set 3027 | # CONFIG_NO_BLOBS is not set 3028 | # CONFIG_ESP32_NO_BLOBS is not set 3029 | # CONFIG_ESP32_COMPATIBLE_PRE_V2_1_BOOTLOADERS is not set 3030 | # CONFIG_ESP32_COMPATIBLE_PRE_V3_1_BOOTLOADERS is not set 3031 | # CONFIG_APP_ROLLBACK_ENABLE is not set 3032 | # CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE is not set 3033 | # CONFIG_LOG_BOOTLOADER_LEVEL_NONE is not set 3034 | # CONFIG_LOG_BOOTLOADER_LEVEL_ERROR is not set 3035 | # CONFIG_LOG_BOOTLOADER_LEVEL_WARN is not set 3036 | CONFIG_LOG_BOOTLOADER_LEVEL_INFO=y 3037 | # CONFIG_LOG_BOOTLOADER_LEVEL_DEBUG is not set 3038 | # CONFIG_LOG_BOOTLOADER_LEVEL_VERBOSE is not set 3039 | CONFIG_LOG_BOOTLOADER_LEVEL=3 3040 | # CONFIG_FLASH_ENCRYPTION_ENABLED is not set 3041 | # CONFIG_FLASHMODE_QIO is not set 3042 | # CONFIG_FLASHMODE_QOUT is not set 3043 | CONFIG_FLASHMODE_DIO=y 3044 | # CONFIG_FLASHMODE_DOUT is not set 3045 | CONFIG_MONITOR_BAUD=115200 3046 | CONFIG_OPTIMIZATION_LEVEL_DEBUG=y 3047 | CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG=y 3048 | CONFIG_COMPILER_OPTIMIZATION_DEFAULT=y 3049 | # CONFIG_OPTIMIZATION_LEVEL_RELEASE is not set 3050 | # CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE is not set 3051 | CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y 3052 | # CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is not set 3053 | # CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED is not set 3054 | CONFIG_OPTIMIZATION_ASSERTION_LEVEL=2 3055 | # CONFIG_CXX_EXCEPTIONS is not set 3056 | CONFIG_STACK_CHECK_NONE=y 3057 | # CONFIG_STACK_CHECK_NORM is not set 3058 | # CONFIG_STACK_CHECK_STRONG is not set 3059 | # CONFIG_STACK_CHECK_ALL is not set 3060 | # CONFIG_WARN_WRITE_STRINGS is not set 3061 | # CONFIG_ESP32_APPTRACE_ENABLE is not set 3062 | CONFIG_ADC_CAL_EFUSE_TP_ENABLE=y 3063 | CONFIG_ADC_CAL_EFUSE_VREF_ENABLE=y 3064 | CONFIG_ADC_CAL_LUT_ENABLE=y 3065 | CONFIG_ADC_DISABLE_DAC=y 3066 | # CONFIG_GPTIMER_ISR_IRAM_SAFE is not set 3067 | # CONFIG_MCPWM_ISR_IRAM_SAFE is not set 3068 | # CONFIG_EVENT_LOOP_PROFILING is not set 3069 | CONFIG_POST_EVENTS_FROM_ISR=y 3070 | CONFIG_POST_EVENTS_FROM_IRAM_ISR=y 3071 | CONFIG_GDBSTUB_SUPPORT_TASKS=y 3072 | CONFIG_GDBSTUB_MAX_TASKS=32 3073 | # CONFIG_OTA_ALLOW_HTTP is not set 3074 | # CONFIG_TWO_UNIVERSAL_MAC_ADDRESS is not set 3075 | CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS=y 3076 | CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS=4 3077 | CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000 3078 | CONFIG_ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY=2000 3079 | CONFIG_ESP32_RTC_CLK_SRC_INT_RC=y 3080 | CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC=y 3081 | # CONFIG_ESP32_RTC_CLK_SRC_EXT_CRYS is not set 3082 | # CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL is not set 3083 | # CONFIG_ESP32_RTC_CLK_SRC_EXT_OSC is not set 3084 | # CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_OSC is not set 3085 | # CONFIG_ESP32_RTC_CLK_SRC_INT_8MD256 is not set 3086 | # CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_8MD256 is not set 3087 | CONFIG_ESP32_RTC_CLK_CAL_CYCLES=1024 3088 | CONFIG_PERIPH_CTRL_FUNC_IN_IRAM=y 3089 | # CONFIG_ESP32_XTAL_FREQ_26 is not set 3090 | CONFIG_ESP32_XTAL_FREQ_40=y 3091 | # CONFIG_ESP32_XTAL_FREQ_AUTO is not set 3092 | CONFIG_ESP32_XTAL_FREQ=40 3093 | CONFIG_BROWNOUT_DET=y 3094 | CONFIG_ESP32_BROWNOUT_DET=y 3095 | CONFIG_BROWNOUT_DET_LVL_SEL_0=y 3096 | CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_0=y 3097 | # CONFIG_BROWNOUT_DET_LVL_SEL_1 is not set 3098 | # CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_1 is not set 3099 | # CONFIG_BROWNOUT_DET_LVL_SEL_2 is not set 3100 | # CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_2 is not set 3101 | # CONFIG_BROWNOUT_DET_LVL_SEL_3 is not set 3102 | # CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_3 is not set 3103 | # CONFIG_BROWNOUT_DET_LVL_SEL_4 is not set 3104 | # CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_4 is not set 3105 | # CONFIG_BROWNOUT_DET_LVL_SEL_5 is not set 3106 | # CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_5 is not set 3107 | # CONFIG_BROWNOUT_DET_LVL_SEL_6 is not set 3108 | # CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_6 is not set 3109 | # CONFIG_BROWNOUT_DET_LVL_SEL_7 is not set 3110 | # CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_7 is not set 3111 | CONFIG_BROWNOUT_DET_LVL=0 3112 | CONFIG_ESP32_BROWNOUT_DET_LVL=0 3113 | CONFIG_ESP_SYSTEM_BROWNOUT_INTR=y 3114 | CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF=y 3115 | # CONFIG_NEWLIB_STDOUT_LINE_ENDING_LF is not set 3116 | # CONFIG_NEWLIB_STDOUT_LINE_ENDING_CR is not set 3117 | # CONFIG_NEWLIB_STDIN_LINE_ENDING_CRLF is not set 3118 | # CONFIG_NEWLIB_STDIN_LINE_ENDING_LF is not set 3119 | CONFIG_NEWLIB_STDIN_LINE_ENDING_CR=y 3120 | # CONFIG_NEWLIB_NANO_FORMAT is not set 3121 | CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC_HRT=y 3122 | CONFIG_ESP32_TIME_SYSCALL_USE_RTC_HRT=y 3123 | CONFIG_ESP32_TIME_SYSCALL_USE_RTC_FRC1=y 3124 | # CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC is not set 3125 | # CONFIG_ESP32_TIME_SYSCALL_USE_RTC is not set 3126 | # CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT is not set 3127 | # CONFIG_ESP32_TIME_SYSCALL_USE_HRT is not set 3128 | # CONFIG_ESP32_TIME_SYSCALL_USE_FRC1 is not set 3129 | # CONFIG_NEWLIB_TIME_SYSCALL_USE_NONE is not set 3130 | # CONFIG_ESP32_TIME_SYSCALL_USE_NONE is not set 3131 | CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=y 3132 | # CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION is not set 3133 | CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER=20 3134 | CONFIG_ESP32_PHY_MAX_TX_POWER=20 3135 | # CONFIG_REDUCE_PHY_TX_POWER is not set 3136 | # CONFIG_ESP32_REDUCE_PHY_TX_POWER is not set 3137 | CONFIG_SPIRAM_SUPPORT=y 3138 | CONFIG_ESP32_SPIRAM_SUPPORT=y 3139 | # CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST is not set 3140 | CONFIG_CONSOLE_UART_DEFAULT=y 3141 | # CONFIG_CONSOLE_UART_CUSTOM is not set 3142 | # CONFIG_CONSOLE_UART_NONE is not set 3143 | # CONFIG_ESP_CONSOLE_UART_NONE is not set 3144 | CONFIG_CONSOLE_UART=y 3145 | CONFIG_CONSOLE_UART_NUM=0 3146 | CONFIG_CONSOLE_UART_BAUDRATE=115200 3147 | # CONFIG_ESP32_DEFAULT_CPU_FREQ_80 is not set 3148 | CONFIG_ESP32_DEFAULT_CPU_FREQ_160=y 3149 | # CONFIG_ESP32_DEFAULT_CPU_FREQ_240 is not set 3150 | CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=160 3151 | CONFIG_TRACEMEM_RESERVE_DRAM=0x0 3152 | # CONFIG_ESP32_PANIC_PRINT_HALT is not set 3153 | CONFIG_ESP32_PANIC_PRINT_REBOOT=y 3154 | # CONFIG_ESP32_PANIC_SILENT_REBOOT is not set 3155 | # CONFIG_ESP32_PANIC_GDBSTUB is not set 3156 | CONFIG_SYSTEM_EVENT_QUEUE_SIZE=32 3157 | CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=2304 3158 | CONFIG_MAIN_TASK_STACK_SIZE=3584 3159 | CONFIG_INT_WDT=y 3160 | CONFIG_INT_WDT_TIMEOUT_MS=300 3161 | CONFIG_INT_WDT_CHECK_CPU1=y 3162 | CONFIG_TASK_WDT=y 3163 | CONFIG_ESP_TASK_WDT=y 3164 | # CONFIG_TASK_WDT_PANIC is not set 3165 | CONFIG_TASK_WDT_TIMEOUT_S=5 3166 | CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU0=y 3167 | CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU1=y 3168 | # CONFIG_ESP32_DEBUG_STUBS_ENABLE is not set 3169 | CONFIG_ESP32_DEBUG_OCDAWARE=y 3170 | # CONFIG_DISABLE_BASIC_ROM_CONSOLE is not set 3171 | CONFIG_IPC_TASK_STACK_SIZE=1024 3172 | CONFIG_TIMER_TASK_STACK_SIZE=3584 3173 | CONFIG_ESP32_WIFI_ENABLED=y 3174 | CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=10 3175 | CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=32 3176 | # CONFIG_ESP32_WIFI_STATIC_TX_BUFFER is not set 3177 | CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER=y 3178 | CONFIG_ESP32_WIFI_TX_BUFFER_TYPE=1 3179 | CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=32 3180 | # CONFIG_ESP32_WIFI_CSI_ENABLED is not set 3181 | CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED=y 3182 | CONFIG_ESP32_WIFI_TX_BA_WIN=6 3183 | CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED=y 3184 | CONFIG_ESP32_WIFI_RX_BA_WIN=6 3185 | CONFIG_ESP32_WIFI_NVS_ENABLED=y 3186 | CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_0=y 3187 | # CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1 is not set 3188 | CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN=752 3189 | CONFIG_ESP32_WIFI_MGMT_SBUF_NUM=32 3190 | CONFIG_ESP32_WIFI_IRAM_OPT=y 3191 | CONFIG_ESP32_WIFI_RX_IRAM_OPT=y 3192 | CONFIG_ESP32_WIFI_ENABLE_WPA3_SAE=y 3193 | CONFIG_ESP32_WIFI_ENABLE_WPA3_OWE_STA=y 3194 | # CONFIG_ESP_WIFI_NAN_ENABLE is not set 3195 | CONFIG_WPA_MBEDTLS_CRYPTO=y 3196 | CONFIG_WPA_MBEDTLS_TLS_CLIENT=y 3197 | # CONFIG_WPA_WAPI_PSK is not set 3198 | # CONFIG_WPA_11KV_SUPPORT is not set 3199 | # CONFIG_WPA_MBO_SUPPORT is not set 3200 | # CONFIG_WPA_DPP_SUPPORT is not set 3201 | # CONFIG_WPA_11R_SUPPORT is not set 3202 | # CONFIG_WPA_WPS_SOFTAP_REGISTRAR is not set 3203 | # CONFIG_WPA_WPS_STRICT is not set 3204 | # CONFIG_WPA_DEBUG_PRINT is not set 3205 | # CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH is not set 3206 | # CONFIG_ESP32_ENABLE_COREDUMP_TO_UART is not set 3207 | CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE=y 3208 | CONFIG_TIMER_TASK_PRIORITY=1 3209 | CONFIG_TIMER_TASK_STACK_DEPTH=2048 3210 | CONFIG_TIMER_QUEUE_LENGTH=10 3211 | # CONFIG_ENABLE_STATIC_TASK_CLEAN_UP_HOOK is not set 3212 | # CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY is not set 3213 | # CONFIG_HAL_ASSERTION_SILIENT is not set 3214 | # CONFIG_L2_TO_L3_COPY is not set 3215 | CONFIG_ESP_GRATUITOUS_ARP=y 3216 | CONFIG_GARP_TMR_INTERVAL=60 3217 | CONFIG_TCPIP_RECVMBOX_SIZE=32 3218 | CONFIG_TCP_MAXRTX=12 3219 | CONFIG_TCP_SYNMAXRTX=12 3220 | CONFIG_TCP_MSS=1440 3221 | CONFIG_TCP_MSL=60000 3222 | CONFIG_TCP_SND_BUF_DEFAULT=5744 3223 | CONFIG_TCP_WND_DEFAULT=5744 3224 | CONFIG_TCP_RECVMBOX_SIZE=6 3225 | CONFIG_TCP_QUEUE_OOSEQ=y 3226 | CONFIG_TCP_OVERSIZE_MSS=y 3227 | # CONFIG_TCP_OVERSIZE_QUARTER_MSS is not set 3228 | # CONFIG_TCP_OVERSIZE_DISABLE is not set 3229 | CONFIG_UDP_RECVMBOX_SIZE=6 3230 | CONFIG_TCPIP_TASK_STACK_SIZE=3072 3231 | CONFIG_TCPIP_TASK_AFFINITY_NO_AFFINITY=y 3232 | # CONFIG_TCPIP_TASK_AFFINITY_CPU0 is not set 3233 | # CONFIG_TCPIP_TASK_AFFINITY_CPU1 is not set 3234 | CONFIG_TCPIP_TASK_AFFINITY=0x7FFFFFFF 3235 | # CONFIG_PPP_SUPPORT is not set 3236 | CONFIG_ESP32_PTHREAD_TASK_PRIO_DEFAULT=5 3237 | CONFIG_ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072 3238 | CONFIG_ESP32_PTHREAD_STACK_MIN=768 3239 | CONFIG_ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY=y 3240 | # CONFIG_ESP32_DEFAULT_PTHREAD_CORE_0 is not set 3241 | # CONFIG_ESP32_DEFAULT_PTHREAD_CORE_1 is not set 3242 | CONFIG_ESP32_PTHREAD_TASK_CORE_DEFAULT=-1 3243 | CONFIG_ESP32_PTHREAD_TASK_NAME_DEFAULT="pthread" 3244 | CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS=y 3245 | # CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_FAILS is not set 3246 | # CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ALLOWED is not set 3247 | # CONFIG_ESP32_ULP_COPROC_ENABLED is not set 3248 | CONFIG_SUPPRESS_SELECT_DEBUG_OUTPUT=y 3249 | CONFIG_SUPPORT_TERMIOS=y 3250 | CONFIG_SEMIHOSTFS_MAX_MOUNT_POINTS=1 3251 | # End of deprecated options 3252 | --------------------------------------------------------------------------------