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