Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
sdk_conf.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2018 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
22
#ifndef SDK_CONF_H
23
#define SDK_CONF_H
24
25
#ifndef DOXYGEN
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
34
#ifndef CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ
35
#define CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ 80
36
#endif
37
44
#define CONFIG_CONSOLE_UART_NUM 0
45
46
#ifndef CONFIG_CONSOLE_UART_BAUDRATE
47
#define CONFIG_CONSOLE_UART_BAUDRATE STDIO_UART_BAUDRATE
48
#endif
49
53
#ifndef CONFIG_LOG_DEFAULT_LEVEL
54
#define CONFIG_LOG_DEFAULT_LEVEL LOG_LEVEL
55
#endif
56
63
#ifndef CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ
64
#define CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ 80
65
#endif
66
73
#ifndef CONFIG_ESP32_XTAL_FREQ
74
#define CONFIG_ESP32_XTAL_FREQ 0
75
#endif
76
77
#define CONFIG_ESP32_RTC_XTAL_BOOTSTRAP_CYCLES 100
78
#define CONFIG_ESP32_RTC_CLK_CAL_CYCLES (8 * 1024)
79
83
#define CONFIG_TRACEMEM_RESERVE_DRAM 0
84
#define CONFIG_ULP_COPROC_RESERVE_MEM 0
85
86
#define CONFIG_SYSTEM_EVENT_QUEUE_SIZE 32
87
#define CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE 2048
88
#define CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS 4
89
90
#define CONFIG_NEWLIB_NANO_FORMAT 1
91
#define CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY 2000
92
96
#define CONFIG_BT_ENABLED 0
97
#define CONFIG_BT_RESERVE_DRAM 0
98
102
#ifdef MODULE_ESP_SPI_RAM
103
#define CONFIG_SPIRAM_SUPPORT 1
104
#else
105
#define CONFIG_SPIRAM_SUPPORT 0
106
#endif
107
#define CONFIG_SPIRAM_SPEED_40M 1
108
#define CONFIG_SPIRAM_SIZE 4194304
109
#define CONFIG_SPIRAM_BOOT_INIT 1
110
#define CONFIG_SPIRAM_USE_MALLOC 1
111
#define CONFIG_SPIRAM_TYPE_ESPPSRAM32 1
112
#define CONFIG_SPIRAM_MEMTEST 1
113
#define CONFIG_SPIRAM_CACHE_WORKAROUND 1
114
#define CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL 16384
115
#define CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL 32768
116
120
#define CONFIG_SPI_FLASH_ROM_DRIVER_PATCH 1
121
125
#define CONFIG_DMA_RX_BUF_NUM 10
126
#define CONFIG_DMA_TX_BUF_NUM 10
127
#define CONFIG_EMAC_TASK_PRIORITY 20
128
132
#define CONFIG_ESPTOOLPY_FLASHFREQ_40M 1
133
#if defined(FLASH_MODE_QIO)
134
#define CONFIG_FLASHMODE_QIO 1
135
#elif defined(FLASH_MODE_QOUT)
136
#define CONFIG_FLASHMODE_QOUT 1
137
#elif defined(FLASH_MODE_DIO)
138
#define CONFIG_FLASHMODE_DIO 1
139
#else
140
#define CONFIG_FLASHMODE_DOUT 1
141
#endif
142
146
#define CONFIG_ESP32_WIFI_TX_BUFFER_TYPE 1
147
#define CONFIG_ESP32_WIFI_STATIC_TX_BUFFER 0
148
#define CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER 1
149
#define CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM 20
150
#define CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM 10
151
#define CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM 20
152
#define CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED 1
153
#define CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED 1
154
#define CONFIG_ESP32_WIFI_TX_BA_WIN 6
155
#define CONFIG_ESP32_WIFI_RX_BA_WIN 6
156
#define CONFIG_ESP32_WIFI_CSI_ENABLED 0
157
#define CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_0 1
158
#define CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1 0
159
#if MODULE_ESP_IDF_NVS_ENABLED
160
#define CONFIG_ESP32_WIFI_NVS_ENABLED 1
161
#endif
162
166
#define CONFIG_ESP32_PHY_MAX_TX_POWER 20
167
#define CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER 20
168
#define CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION 0
169
170
#if MODULE_ESP_IDF_NVS_ENABLED
171
#define CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE 1
172
#endif
173
177
#define CONFIG_EMAC_L2_TO_L3_RX_BUF_MODE 1
178
179
#ifdef __cplusplus
180
}
181
#endif
182
183
#endif
/* DOXYGEN */
184
#endif
/* SDK_CONF_H */
Generated on Tue Nov 24 2020 19:46:50 by
1.8.17