cpu_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 CPU_CONF_H
23 #define CPU_CONF_H
24 
25 #include <stdint.h>
26 
27 #include "cpu_conf_common.h"
28 #include "esp_common_log.h"
29 #include "xtensa_conf.h"
30 #include "xtensa/xtensa_context.h"
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
40 #define THREAD_EXTRA_STACKSIZE_PRINTF (1024)
41 #ifndef THREAD_STACKSIZE_DEFAULT
42 #define THREAD_STACKSIZE_DEFAULT (2048)
43 #endif
44 #ifndef THREAD_STACKSIZE_IDLE
45 #define THREAD_STACKSIZE_IDLE (2048)
46 #endif
47 
52 #define PRINTF_BUFSIZ 256
53 
57 #define NUM_HEAPS (4)
58 
59 #ifdef __cplusplus
60 }
61 #endif
62 
63 #endif /* CPU_CONF_H */
64 
xtensa_conf.h
Xtensa ASM code specific configuration options for ESP SoCs.
esp_common_log.h
Common log macros for ESP SoCs.