File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 25
25
#include " interrupts.h"
26
26
#include " MD5Builder.h"
27
27
#include " umm_malloc/umm_malloc.h"
28
+ #include " cont.h"
28
29
29
30
extern " C" {
30
31
#include " user_interface.h"
@@ -177,6 +178,11 @@ uint16_t EspClass::getMaxFreeBlockSize(void)
177
178
return umm_max_block_size ();
178
179
}
179
180
181
+ uint32_t EspClass::getFreeContStack ()
182
+ {
183
+ return cont_get_free_stack (g_pcont);
184
+ }
185
+
180
186
uint32_t EspClass::getChipId (void )
181
187
{
182
188
return system_get_chip_id ();
Original file line number Diff line number Diff line change @@ -110,6 +110,8 @@ class EspClass {
110
110
uint8_t getHeapFragmentation (); // in %
111
111
void getHeapStats (uint32_t * free = nullptr , uint16_t * max = nullptr , uint8_t * frag = nullptr );
112
112
113
+ uint32_t getFreeContStack ();
114
+
113
115
const char * getSdkVersion ();
114
116
String getCoreVersion ();
115
117
String getFullVersion ();
You can’t perform that action at this time.
0 commit comments