small changes to info page

- added "max used PSRAM" info
- moved all mem infos into one part
- only check PSRAM if BOARD_HAS_PSRAM
- oappend: debug message in case that stack buffer is too small.
This commit is contained in:
Frank
2022-10-17 15:40:56 +02:00
parent cb45f293dd
commit 72851b5725
5 changed files with 34 additions and 9 deletions

View File

@@ -457,6 +457,15 @@ void WLED::setup()
#if defined(ARDUINO_ARCH_ESP32) && defined(WLED_DISABLE_BROWNOUT_DET)
WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 1); //enable brownout detector
#endif
#ifdef ARDUINO_ARCH_ESP32
#ifdef ARDUINO_RUNNING_CORE
DEBUG_PRINTF("Arduino core=%d (loop is now on core #%d)\n", int(ARDUINO_RUNNING_CORE), int(xPortGetCoreID()));
#endif
#ifdef ARDUINO_EVENT_RUNNING_CORE
DEBUG_PRINTF("Arduino Event core=%d\n", int(ARDUINO_EVENT_RUNNING_CORE));
#endif
#endif
}
void WLED::beginStrip()