cpu_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 
22 #ifndef CPU_CONF_H
23 #define CPU_CONF_H
24 
25 #include "cpu_conf_common.h"
26 #include "xtensa_conf.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
37 #ifndef ESP8266_CPU_FREQUENCY
38 #define ESP8266_CPU_FREQUENCY (80)
39 #endif
40 
45 #ifndef THREAD_EXTRA_STACKSIZE_PRINTF
46 #define THREAD_EXTRA_STACKSIZE_PRINTF (0)
47 #endif
48 #ifndef THREAD_STACKSIZE_DEFAULT
49 #define THREAD_STACKSIZE_DEFAULT (1024)
50 #endif
51 #ifndef THREAD_STACKSIZE_IDLE
52 #define THREAD_STACKSIZE_IDLE (1024)
53 #endif
54 #ifndef THREAD_STACKSIZE_MAIN
55 #define THREAD_STACKSIZE_MAIN (3072)
56 #endif
57 
58 #ifndef GNRC_IPV6_STACK_SIZE
59 #define GNRC_IPV6_STACK_SIZE (1536)
60 #endif
61 #ifndef GNRC_PKTDUMP_STACKSIZE
62 #define GNRC_PKTDUMP_STACKSIZE (THREAD_STACKSIZE_DEFAULT << 1)
63 #endif
64 
65 #ifndef ESP_NOW_STACKSIZE
66 #define ESP_NOW_STACKSIZE (2560)
67 #endif
68 
69 #ifndef TCPIP_THREAD_STACKSIZE
70 #define TCPIP_THREAD_STACKSIZE (3072)
71 #endif
72 
77 #define PRINTF_BUFSIZ 256
78 
79 #ifdef __cplusplus
80 }
81 #endif
82 
83 #endif /* CPU_CONF_H */
84 
xtensa_conf.h
Xtensa ASM code specific configuration options for ESP SoCs.