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 57 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 51 of file cpu_conf.h.

◆ ESP_NOW_STACKSIZE

#define ESP_NOW_STACKSIZE   (2560)

Definition at line 96 of file cpu_conf.h.

◆ ESP_WIFI_STACKSIZE

#define ESP_WIFI_STACKSIZE   (1536)

Stack size for the WiFi thread.

Definition at line 105 of file cpu_conf.h.

◆ GNRC_IPV6_STACK_SIZE

#define GNRC_IPV6_STACK_SIZE   (1536)

Definition at line 89 of file cpu_conf.h.

◆ GNRC_PKTDUMP_STACKSIZE

#define GNRC_PKTDUMP_STACKSIZE   (THREAD_STACKSIZE_DEFAULT << 1)

Definition at line 92 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 113 of file cpu_conf.h.

◆ TCPIP_THREAD_STACKSIZE

#define TCPIP_THREAD_STACKSIZE   (3072)

Definition at line 100 of file cpu_conf.h.

◆ THREAD_EXTRA_STACKSIZE_PRINTF

#define THREAD_EXTRA_STACKSIZE_PRINTF   (0)

Definition at line 65 of file cpu_conf.h.

◆ THREAD_STACKSIZE_DEFAULT

#define THREAD_STACKSIZE_DEFAULT   (1024)

Definition at line 69 of file cpu_conf.h.

◆ THREAD_STACKSIZE_IDLE

#define THREAD_STACKSIZE_IDLE   (1024)

Definition at line 73 of file cpu_conf.h.

◆ THREAD_STACKSIZE_MAIN

#define THREAD_STACKSIZE_MAIN   (3072)

Definition at line 77 of file cpu_conf.h.

◆ THREAD_STACKSIZE_SMALL

#define THREAD_STACKSIZE_SMALL   (THREAD_STACKSIZE_MEDIUM * 3 / 2)

Definition at line 81 of file cpu_conf.h.

◆ THREAD_STACKSIZE_TINY

#define THREAD_STACKSIZE_TINY   (THREAD_STACKSIZE_MEDIUM / 2)

Definition at line 85 of file cpu_conf.h.