You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
442 B
20 lines
442 B
#ifndef _SYSTEM_INFO_H_
|
|
#define _SYSTEM_INFO_H_
|
|
|
|
#include <string>
|
|
|
|
#include <esp_err.h>
|
|
#include <freertos/FreeRTOS.h>
|
|
|
|
class SystemInfo {
|
|
public:
|
|
static size_t GetFlashSize();
|
|
static size_t GetMinimumFreeHeapSize();
|
|
static size_t GetFreeHeapSize();
|
|
static std::string GetMacAddress();
|
|
static std::string GetChipModelName();
|
|
static esp_err_t PrintRealTimeStats(TickType_t xTicksToWait);
|
|
};
|
|
|
|
#endif // _SYSTEM_INFO_H_
|