sdk_conf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2019 Gunar Schorcht
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
24 #ifndef SDK_CONF_H
25 #define SDK_CONF_H
26 
27 #ifndef DOXYGEN
28 
29 #include "board.h"
30 #include "esp_image_format.h"
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
41 #define IDF_VER "v3.1-4-g08c234e"
42 
51 #define CONFIG_CONSOLE_UART_NUM (0)
52 #ifndef CONFIG_CONSOLE_UART_BAUDRATE
53 #define CONFIG_CONSOLE_UART_BAUDRATE (STDIO_UART_BAUDRATE)
54 #endif
55 
57 #define CONFIG_APP1_SIZE (0xf0000)
58 #define CONFIG_APP1_OFFSET (0x10000)
59 
60 #define CONFIG_SOC_IRAM_SIZE (0xc000)
61 
62 #define CONFIG_TASK_WDT_PANIC
63 #define CONFIG_TASK_WDT_TIMEOUT_S (15)
64 #define CONFIG_RESET_REASON (1)
65 
66 #define CONFIG_WIFI_PPT_TASKSTACK_SIZE (3584)
67 #define CONFIG_MAIN_TASK_STACK_SIZE (2048)
68 #define CONFIG_EVENT_LOOP_STACK_SIZE (2048)
69 
70 #define CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE
71 #define CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION (0)
72 
73 #define CONFIG_SPI_FLASH_FREQ (ESP_IMAGE_SPI_SPEED_40M) /* 40 MHz */
74 #define CONFIG_SPI_FLASH_MODE (ESP_IMAGE_SPI_MODE_DIO) /* DIO mode */
75 #define CONFIG_SPI_FLASH_SIZE (0x100000)
76 
77 #define CONFIG_SCAN_AP_MAX (32)
78 
79 #define CONFIG_USING_NEW_ETS_VPRINTF
80 
81 #ifdef __cplusplus
82 }
83 #endif
84 
85 #endif /* DOXYGEN */
86 #endif /* SDK_CONF_H */