Structure to hold static chip configuration details.
int system_get_reset_reason(void)
Gets the reason for the last system reset.
void system_get_tasks_list(char *buffer, size_t buffer_len)
Formats raw FreeRTOS statistics into a human-readable task list. Requires CONFIG_FREERTOS_USE_STATS_F...
void system_get_chip_info(sys_chip_info_t *chip_info)
Retrieves static chip hardware information.
const char * system_get_version(void)
Gets the active firmware build version. Matches the Git commit short hash (appends '-d' if local modi...
uint32_t system_get_min_free_heap(void)
Gets the minimum ever free heap size since boot (watermark). This is crucial for detecting close-to-O...
esp_err_t system_init(void)
Initializes the system monitoring component. Sets up the internal temperature sensor and tracks initi...
uint32_t system_get_free_heap(void)
Gets the current available free heap size (RAM).
void system_print_info(void)
Prints a complete, formatted overview of all system statistics to the console. Internally uses ESP_LO...
float system_get_temperature(void)
Gets the current internal CPU temperature.
uint8_t system_get_cpu_usage(void)
Calculates the total real-time CPU utilization. Requires CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS to b...
int64_t system_get_uptime_ms(void)
Gets the system uptime since boot.
float system_get_max_temperature(void)
Gets the highest recorded CPU temperature since boot.