File tree 2 files changed +26
-2
lines changed
port/esp8266/include/freertos
2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -76,4 +76,21 @@ config ENABLE_FREERTOS_SLEEP
76
76
77
77
The module is not working now, so if users want to make it work, they should do this themselves.
78
78
79
+ config FREERTOS_USE_TRACE_FACILITY
80
+ bool "Enable FreeRTOS trace facility"
81
+ default n
82
+ help
83
+ If enabled, configUSE_TRACE_FACILITY will be defined as 1 in FreeRTOS.
84
+ This will allow the usage of trace facility functions such as
85
+ uxTaskGetSystemState().
86
+
87
+ config FREERTOS_USE_STATS_FORMATTING_FUNCTIONS
88
+ bool "Enable FreeRTOS stats formatting functions"
89
+ depends on FREERTOS_USE_TRACE_FACILITY
90
+ default n
91
+ help
92
+ If enabled, configUSE_STATS_FORMATTING_FUNCTIONS will be defined as 1 in
93
+ FreeRTOS. This will allow the usage of stats formatting functions such
94
+ as vTaskList().
95
+
79
96
endmenu
Original file line number Diff line number Diff line change 59
59
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 768 )
60
60
//#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 17 * 1024 ) )
61
61
#define configMAX_TASK_NAME_LEN ( 16 )
62
- #define configUSE_TRACE_FACILITY 0
63
- #define configUSE_STATS_FORMATTING_FUNCTIONS 0
62
+
64
63
#define configUSE_16_BIT_TICKS 0
65
64
#define configIDLE_SHOULD_YIELD 1
66
65
@@ -137,5 +136,13 @@ NVIC value of 255. */
137
136
#define configUSE_QUEUE_SETS 1
138
137
#endif
139
138
139
+ #ifdef CONFIG_FREERTOS_USE_TRACE_FACILITY
140
+ #define configUSE_TRACE_FACILITY 1 /* Used by uxTaskGetSystemState(), and other trace facility functions */
141
+ #endif
142
+
143
+ #ifdef CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS
144
+ #define configUSE_STATS_FORMATTING_FUNCTIONS 1 /* Used by vTaskList() */
145
+ #endif
146
+
140
147
#endif /* FREERTOS_CONFIG_H */
141
148
You can’t perform that action at this time.
0 commit comments