Loading...
Searching...
No Matches
ESP8266 compile configurations

Compile-time configuration macros for ESP8266 modules. More...

Detailed Description

Compile-time configuration macros for ESP8266 modules.

Files

file  cpu_conf.h
 CPU specific configuration options.
 

Macros

#define PRINTF_BUFSIZ   256
 Buffer size used for printf functions (maximum length of formatted output).
 

Clock configuration

#define ESP8266_CPU_FREQUENCY   (80)
 Defines the CPU frequency in MHz.
 
#define CLOCK_CORECLOCK   (1000000UL * ESP8266_CPU_FREQUENCY)
 Mapping configured ESP8266 default clock to CLOCK_CORECLOCK define.
 

Stack size configurations

#define THREAD_EXTRA_STACKSIZE_PRINTF   (0)
 
#define THREAD_STACKSIZE_DEFAULT   (1024)
 
#define THREAD_STACKSIZE_IDLE   (1024)
 
#define THREAD_STACKSIZE_MAIN   (3072)
 
#define THREAD_STACKSIZE_SMALL   (THREAD_STACKSIZE_MEDIUM * 3 / 2)
 
#define THREAD_STACKSIZE_TINY   (THREAD_STACKSIZE_MEDIUM / 2)
 
#define GNRC_IPV6_STACK_SIZE   (1536)
 
#define GNRC_PKTDUMP_STACKSIZE   (THREAD_STACKSIZE_DEFAULT << 1)
 
#define ESP_NOW_STACKSIZE   (2560)
 
#define TCPIP_THREAD_STACKSIZE   (3072)
 
#define ESP_WIFI_STACKSIZE   (1536)
 Stack size for the WiFi thread.
 

Macro Definition Documentation

◆ CLOCK_CORECLOCK

#define CLOCK_CORECLOCK   (1000000UL * ESP8266_CPU_FREQUENCY)

Mapping configured ESP8266 default clock to CLOCK_CORECLOCK define.

Definition at line 58 of file cpu_conf.h.

◆ ESP8266_CPU_FREQUENCY

#define ESP8266_CPU_FREQUENCY   (80)

Defines the CPU frequency in MHz.

Possible values are 80 and 160 MHz.

Definition at line 52 of file cpu_conf.h.

◆ ESP_NOW_STACKSIZE

#define ESP_NOW_STACKSIZE   (2560)

Definition at line 97 of file cpu_conf.h.

◆ ESP_WIFI_STACKSIZE

#define ESP_WIFI_STACKSIZE   (1536)

Stack size for the WiFi thread.

Definition at line 106 of file cpu_conf.h.

◆ GNRC_IPV6_STACK_SIZE

#define GNRC_IPV6_STACK_SIZE   (1536)

Definition at line 90 of file cpu_conf.h.

◆ GNRC_PKTDUMP_STACKSIZE

#define GNRC_PKTDUMP_STACKSIZE   (THREAD_STACKSIZE_DEFAULT << 1)

Definition at line 93 of file cpu_conf.h.

◆ PRINTF_BUFSIZ

#define PRINTF_BUFSIZ   256

Buffer size used for printf functions (maximum length of formatted output).

Definition at line 114 of file cpu_conf.h.

◆ TCPIP_THREAD_STACKSIZE

#define TCPIP_THREAD_STACKSIZE   (3072)

Definition at line 101 of file cpu_conf.h.

◆ THREAD_EXTRA_STACKSIZE_PRINTF

#define THREAD_EXTRA_STACKSIZE_PRINTF   (0)

Definition at line 66 of file cpu_conf.h.

◆ THREAD_STACKSIZE_DEFAULT

#define THREAD_STACKSIZE_DEFAULT   (1024)

Definition at line 70 of file cpu_conf.h.

◆ THREAD_STACKSIZE_IDLE

#define THREAD_STACKSIZE_IDLE   (1024)

Definition at line 74 of file cpu_conf.h.

◆ THREAD_STACKSIZE_MAIN

#define THREAD_STACKSIZE_MAIN   (3072)

Definition at line 78 of file cpu_conf.h.

◆ THREAD_STACKSIZE_SMALL

#define THREAD_STACKSIZE_SMALL   (THREAD_STACKSIZE_MEDIUM * 3 / 2)

Definition at line 82 of file cpu_conf.h.

◆ THREAD_STACKSIZE_TINY

#define THREAD_STACKSIZE_TINY   (THREAD_STACKSIZE_MEDIUM / 2)

Definition at line 86 of file cpu_conf.h.