MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / getSpiTotal

Function getSpiTotal

Tactility/Source/app/systeminfo/SystemInfo.cpp:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53static size_t getSpiTotal() {
54#ifdef ESP_PLATFORM
55 return heap_caps_get_total_size(MALLOC_CAP_SPIRAM);
56#else
57 return 8192 * 1024;
58#endif
59}
60
61static size_t getPsramMinFree() {
62#ifdef ESP_PLATFORM

Callers 3

updateMemoryMethod · 0.85
updatePsramMethod · 0.85
onShowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected