Add initial stack/heap reporting for mdash

This commit is contained in:
robert committed 2026-10-23 11:39:12 +03:00
1 parent 38c326644f
commit 2bddebc6f0
8 files changed
+61 -11

No files matched your search

+17
View File
@@ -4414,6 +4414,23 @@ void mg_ota_poll(struct mg_mgr *);
// Memory usage in bytes. Override in mongoose_config.h for the target.
#ifndef MG_HEALTH_STACK_USED
#define MG_HEALTH_STACK_USED 0
#endif
#ifndef MG_HEALTH_STACK_TOTAL
#define MG_HEALTH_STACK_TOTAL 0
#endif
#ifndef MG_HEALTH_HEAP_USED
#define MG_HEALTH_HEAP_USED 0
#endif
#ifndef MG_HEALTH_HEAP_TOTAL
#define MG_HEALTH_HEAP_TOTAL 0
#endif
#ifndef MG_HEALTH_MAGIC
#define MG_HEALTH_MAGIC {'M', 'G', 'H', '3'} // '3' is the layout version
#endif