mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-09-22 15:03:13 +08:00
feat(heap): add option to enable/disable heap trace function
This commit is contained in:
@ -14,12 +14,15 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "sdkconfig.h"
|
||||
#include "esp_err.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_HEAP_TRACING
|
||||
|
||||
typedef enum {
|
||||
HEAP_TRACE_NONE = 0,
|
||||
|
||||
@ -80,6 +83,8 @@ esp_err_t heap_trace_resume(void);
|
||||
*/
|
||||
void heap_trace_dump(void);
|
||||
|
||||
#endif /* CONFIG_HEAP_TRACING */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user