mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-05 22:08:23 +00:00
Add generic mg_health report for mdash
This commit is contained in:
1 parent
60c75a22b8
commit
4e7c664455
16 files changed
+1225
-230
No files matched your search
@@ -26,8 +26,11 @@
|
||||
mac[5] = MGUID[2] & 255; \
|
||||
} while (0)
|
||||
|
||||
// Crash report support. Health record lives in the .mg_health region, see link.ld
|
||||
#define MG_HEALTH_RAM __attribute__((section(".mg_health")))
|
||||
// Persist Cortex-M crash reports in the 4 KB backup SRAM. hal_storage_init()
|
||||
// enables this memory before MG_HEALTH_INIT() is called.
|
||||
#define MG_HEALTH MG_HEALTH_CORTEX
|
||||
#define MG_HEALTH_CORTEX_STORAGE ((void *) D3_BKPSRAM_BASE)
|
||||
#define MG_HEALTH_CORTEX_STORAGE_SIZE (4U * 1024U)
|
||||
|
||||
// mdash.net device management service support
|
||||
#define MG_ENABLE_MDASH 1
|
||||
|
||||
Reference in new issue
Block a user