TB2026-YDS Firmware
Loading...
Searching...
No Matches
Diagnostics service

Opt-in FreeRTOS stack / run-time / heap measurement for the characterisation campaign. More...

Collaboration diagram for Diagnostics service:

Files

file  components/services/diag/diag.c
 Diagnostics report: stack occupancy of the registered tasks, FreeRTOS task list and run-time stats, internal/PSRAM heap usage.

Macros

#define DIAG_ENABLED   0
#define DIAG_ALERT_PCT   75
#define DIAG_DUMP_MS   10000

Detailed Description

Opt-in FreeRTOS stack / run-time / heap measurement for the characterisation campaign.

Macro Definition Documentation

◆ DIAG_ALERT_PCT

#define DIAG_ALERT_PCT   75

Stack occupancy above this percentage raises the alert column in the dump.

◆ DIAG_DUMP_MS

#define DIAG_DUMP_MS   10000

Period at which the maintenance task dumps the report, in milliseconds.

◆ DIAG_ENABLED

#define DIAG_ENABLED   0

Master switch. 0 = the module does not exist in the binary.