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 
9 #pragma once
10 
26 #ifndef DOXYGEN
27 
28 #include "board.h"
29 #include "esp_image_format.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
40 #if !defined(IDF_VER) || DOXYGEN
41 #include "esp8266_idf_version.h"
42 #endif
43 
52 #define CONFIG_CONSOLE_UART_NUM (0)
53 #ifndef CONFIG_CONSOLE_UART_BAUDRATE
54 #define CONFIG_CONSOLE_UART_BAUDRATE (STDIO_UART_BAUDRATE)
55 #endif
58 #define CONFIG_APP1_SIZE (0xf0000)
59 #define CONFIG_APP1_OFFSET (0x10000)
60 
61 #define CONFIG_SOC_IRAM_SIZE (0xc000)
62 
63 #define CONFIG_TASK_WDT_PANIC
64 #define CONFIG_TASK_WDT_TIMEOUT_S (15)
65 #define CONFIG_RESET_REASON (1)
66 
67 #define CONFIG_WIFI_PPT_TASKSTACK_SIZE (3584)
68 #define CONFIG_MAIN_TASK_STACK_SIZE (2048)
69 #define CONFIG_EVENT_LOOP_STACK_SIZE (2048)
70 
71 #define CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE
72 #define CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION (0)
73 
74 #define CONFIG_SPI_FLASH_FREQ (ESP_IMAGE_SPI_SPEED_40M) /* 40 MHz */
75 #define CONFIG_SPI_FLASH_MODE (ESP_IMAGE_SPI_MODE_DIO) /* DIO mode */
76 #define CONFIG_SPI_FLASH_SIZE (0x100000)
77 
78 #define CONFIG_SCAN_AP_MAX (32)
79 
80 #define CONFIG_USING_NEW_ETS_VPRINTF
81 
82 #ifdef __cplusplus
83 }
84 #endif
85 
86 #endif /* DOXYGEN */