My Project
 All Classes Functions Variables Pages
System.h
1 /*
2  * System.h
3  *
4  * Created on: May 27, 2017
5  * Author: kolban
6  */
7 
8 #ifndef COMPONENTS_CPP_UTILS_SYSTEM_H_
9 #define COMPONENTS_CPP_UTILS_SYSTEM_H_
10 #include <stdint.h>
11 #include <string>
12 #include <esp_system.h>
13 
17 class System {
18 public:
19  System();
20  virtual ~System();
21  static void dumpPinMapping(); // Dump the mappings of pins to functions.
22  static void dumpHeapInfo();
23  static void getChipInfo(esp_chip_info_t* info);
24  static size_t getFreeHeapSize();
25  static std::string getIDFVersion();
26  static size_t getMinimumFreeHeapSize();
27  static void restart();
28 };
29 
30 #endif /* COMPONENTS_CPP_UTILS_SYSTEM_H_ */
static size_t getMinimumFreeHeapSize()
Get the smallest heap size seen.
Definition: System.cpp:484
System wide functions.
Definition: System.h:17
static std::string getIDFVersion()
Retrieve the version of the ESP-IDF. When an application is compiled, it is compiled against a versio...
Definition: System.cpp:475
static size_t getFreeHeapSize()
Retrieve the system wide free heap size.
Definition: System.cpp:465
static void restart()
Restart the ESP32.
Definition: System.cpp:492
static void dumpHeapInfo()
Definition: System.cpp:430
static void getChipInfo(esp_chip_info_t *info)
Get the information about the device.
Definition: System.cpp:456
static void dumpPinMapping()
Definition: System.cpp:403